add kit
This commit is contained in:
parent
123eb8462e
commit
f15ea21e1c
|
@ -15,6 +15,7 @@ Aborn Jiang (aborn.jiang@gmail.com)
|
|||
## VERSION
|
||||
* 2014-01-21 v0.1 (add rsync configure files)
|
||||
* 2014-01-22 v0.2 (add .rc and elisp files)
|
||||
* 2014-01-24 v0.3 (add nginx configure fiels)
|
||||
* 2014-01-24 v0.3 (add nginx configure files)
|
||||
* 2014-01-26 v0.4 (add kit subrepo files)
|
||||
|
||||
|
||||
|
|
|
@ -0,0 +1,26 @@
|
|||
#!/usr/bin/emacs --script
|
||||
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
|
||||
;; NAME
|
||||
;; file-ops.el an example to visit file
|
||||
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
|
||||
|
||||
(message "this is a file test prog")
|
||||
(setq filename "./test.conf")
|
||||
|
||||
(message "The attribute of file %s is %s" filename (file-attributes filename))
|
||||
|
||||
(load "~/code/configure/elisp/file-utils.el")
|
||||
;;(message "gooo:%s" (buffer-string (find-file filename)))
|
||||
(setq file-content (obtain-file-content filename))
|
||||
|
||||
(setq lists '("a" "b" "c"))
|
||||
(if (listp file-content)
|
||||
(message "listooooooooooooooo")
|
||||
(message "not a list tttttttt"))
|
||||
(print-elements-of-list lists)
|
||||
(print "end of this print")
|
||||
(send-string-to-terminal "fffffffffffffff")
|
||||
|
||||
;;(print-elements-of-list (cdr file-content))
|
||||
;;(message "file contents:\n%s" file-content)
|
||||
;;(message "size=%d" (length file-content))
|
|
@ -0,0 +1,14 @@
|
|||
README.md kit
|
||||
==========
|
||||
|
||||
## INTRODUCTION
|
||||
This kit subrepo contains lots of scripts for install softwares and
|
||||
configure a new machine when you install linux OS in a new machine.
|
||||
|
||||
## FILES
|
||||
|
||||
## AUTHOR
|
||||
Aborn Jiang (aborn.jiang@gmail.com)
|
||||
|
||||
## VERSION
|
||||
2014-01-26
|
|
@ -0,0 +1,20 @@
|
|||
#!/bin/bash
|
||||
####################################################################
|
||||
## NAME
|
||||
## sw-install.sh
|
||||
## install softwares in a new machine
|
||||
## NOTE
|
||||
## you should configure /etc/apt/source.list first
|
||||
####################################################################
|
||||
|
||||
sudo apt-get install -y \
|
||||
git vim emacs fcitx scrot cmake g++ gcc chromium-browser \
|
||||
zsh lftp gnome gnome-shell evince w3m kmplayer xclip \
|
||||
python
|
||||
|
||||
# sudo apt-get install -y texlive-full
|
||||
# sudo apt-get install -y clisp
|
||||
# sudo apt-get install -y lispbox
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue