Articles dans la catégorie «AdminStuff» :
bash scripts updated
example: bash scriptlets in one file
- The above examples can be put into a file with a copy/paste (one to a file)
- Name the file something(?)
- Do a chmod +x on file
- If you have your own little bin dir put in there (helps if you set-up a path …
Some quick examples for ftp
prompt = turns off interactive mode
mput moves multiple files to ftp server
mdelete removes multiple files.
A template for an init script
jenkins
Started working on an init.d script to launch a Jenkins slave.jar today. Its interesting as the command line for firing it off is a bit crazy.
A simple example of the console slave.jar
The init script is written in bash to simplify compatibility in doing that …
The Inception
The Inception, or the beginning of a project; this site is to contain initially a group of disjointed ideas. Over time some of those ideas (projects) should take on a life of their own and become extended branches of ideas while other ideas will stub for lack of growth. As …
WordPress to Pelican
Working my way through Pelican installation, followed several tutorials, some varying success. A learning process but a fun one at that. The pelicanconf.py and Makefile are very expandable one of the mods I did in the Makefile.
build:
$(MAKE) clean
$(MAKE) html
-cp -R code_snips output/code_snips/
A mini-build …