default-lease-time 600; max-lease-time 7200; option subnet-mask 255.255.255.0; option routers 192.168.1.1; option domain-name-servers 200.106.80.11, 200.106.1.5; option domain-name “example.com.br”; subnet 192.168.1.0 netmask 255.255.255.0 { range 192.168.1.10 192.168.1.100; }
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# I've got to merge some translated string from resourcespace into a new file. | |
# But... it's php with a sentence in a row, and every sentence was assigned to a position in a vector. | |
# So, the new en.php got seven hundred and something more strings than the pt-BR.php file. I've got to merge the translations into a new file which I could do the rest of the translation. | |
# The problem with this merge was that I didn't want to miss the comments of the original file. | |
# So I chose to do it by shell scripting ;-) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
(defun i-link-trac-ticket () | |
"Insere um link para ticket." | |
(interactive) | |
(setq servidor (completing-read | |
"servidor Trac: " | |
'(("http://trac.gic.celepar.parana" 1) ("https://svn.celepar.parana" 2) ) | |
nil t "http") | |
) | |
(if (equal servidor "http://trac.gic.celepar.parana") |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
AddType application/x-x509-ca-cert der | |
AddType application/pkix-cert der |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
cd /tmp | |
rm /tmp/cas.* | |
echo `w3m -dump http://hudson.server/hudson/job/CAS/ws/target/cas.war/*fingerprint*/ 2> /dev/null | grep MD5: | cut -f 2 -d : | sed 's/^ //g'`" /opt/jboss-as-7.1.1/standalone1/deployments/cas.war" > /tmp/cas.md5 | |
md5sum --status -c /tmp/cas.md5 | |
if [ $? -eq 1 ]; then |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$ egrep ":[a-zA-Z_-]+:" todo.org | grep '^*' | egrep -o ":[a-zA-Z_-:]+:+" | tr : '\n' | sort -u |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
(defun mlog-almoco () | |
(interactive) | |
(start-process "mount /media/Leslie" | |
(get-buffer-create "*mount-buffer*") | |
"/bin/mount" | |
"/media/Leslie") | |
(sleep-for 5) | |
(load-file "/media/Leslie/moneylog/moneylog.el") | |
(pop-to-buffer (find-file-noselect "/media/Leslie/moneylog/almoco.txt")) | |
(delete-other-windows) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
(defun mlog-almoco () | |
(interactive) | |
(start-process "mount /media/Leslie" | |
(get-buffer-create "*mount-buffer*") | |
"/bin/mount" | |
"/media/Leslie") | |
(sleep-for 5) | |
(load-file "/media/Leslie/moneylog/moneylog.el") | |
(pop-to-buffer (find-file-noselect "/media/Leslie/moneylog/almoco.txt")) | |
(delete-other-windows) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
(defun i-reg-data (&optional tag) | |
"Inserts/format an account record. It should be used with moneylog | |
2009-08-15 -29.00 visa | Cicles Radar - Mesa para a bicicleta" | |
(interactive) | |
;; use or not org function to prefill the date | |
(set 'use-org "T") | |
;; pre-fills the today variable with today's date | |
(if (string= use-org "T") | |
(setq today (org-read-date)) ;; use org | |
(setq today (format-time-string "%Y-%m-%d")) ;; do not use org |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
;; it just opens the place where I had the point | |
(require 'saveplace) | |
(setq-default save-place t) |
OlderNewer