This commit is contained in:
aborn 2014-01-26 09:45:36 +08:00
parent 123eb8462e
commit f15ea21e1c
4 changed files with 62 additions and 1 deletions

View File

@ -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)

26
elisp/file-ops.el Normal file
View File

@ -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))

14
kit/README.md Normal file
View File

@ -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

20
kit/sw-install.sh Executable file
View File

@ -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