Fulltext results:
- DynDNS Updates without a Client @info:script
- ====== DynDNS Updates without a Client ====== My new hosting provide Strato offers DynDNS. I was search... as good as any other client. <code bash dyndns-update.sh> #! /bin/bash . ${HOME}/.dyndns.cfg DOMAINS=$(cat ${HOME}/.dyndns.domains) echo "$(date '+%Y-%m-%d %H:%M') $(basename $0)" for domain in ... lent --show-error --insecure --user ${LOGIN} "${UPDATE_URL}?hostname=${domain}" done </code> First, the
- MySQL: Backup @info:mysql:database
- h> # set or replace the variables $USER and $PASS DATE_YMD=$(date "+%Y-%m-%d") DATABASES=$(mysql --batch -u${USER} -p${PASS} mysql --execute='show databases')... dd-drop-table -u${USER} -p${PASS} ${DB} > ${DB}_${DATE_YMD}.sql & bzip2 ${DB}_${DATE_YMD}.sql & # sleep 10 # optional done wait # for child processes
- exiftool @info:script
- ftool -d %Y-%m-%d_%H%M%S%%-c.%%e "-testname<CreateDate" *.jpg Then rename the files: exiftool -d %Y-%m-%d_%H%M%S%%-c.%%e "-filename<CreateDate" *.jpg ===== Correct the Date of Photos ===== To shift the photos 43 days, 14 hours and 55 minutes to the future: exiftool -AllDates+='0:0:43 14:55:0' -overwrite_original *.jpg {{t
- Oracle: Recovery Manager @info:oracle
- e sql> DELETE ARCHIVELOG ALL COMPLETED BEFORE 'SYSDATE -45'; </code> To remove archive logs older than ... LETE NOPROMPT ARCHIVELOG ALL COMPLETED BEFORE 'SYSDATE -45'; </code> A sample script could be (deleting... LETE NOPROMPT ARCHIVELOG ALL COMPLETED BEFORE 'SYSDATE -3'; EXIT __EOF__ </code> {{tag>admin database d
- Android Backup @info:android
- command. It will automatically insert the current date in the filename: <code bash> adb backup -apk -shared -all -f $(date '+%Y-%m-%d').db </code> If you are havong proble
- Disable a Service @info:linux:debian
- a service: <code bash> service <service> stop update-rc.d <service> enable|disable </code> With ''sys... </code> To (re)enable a service: <code bash> update-rc.d <service> enable|disable service <service> s
- init @info:linux:debian
- == To activate an init script ("myscript"): update-rc.d myscript enable To deactivate an init script ("myscript"): update-rc.d myscript remove Further information can be
- Debug Server Certificate from Client @info:cryptography:openssl
- --- Certificate chain 0 s:/OU=Domain Control Validated/OU=PositiveSSL/CN=www.andunix.net i:/C=GB/ST=... Server certificate subject=/OU=Domain Control Validated/OU=PositiveSSL/CN=www.andunix.net issuer=/C=GB/S
- Make your Mac feel at Home @info:mac
- ~~META:date created = 2010-05-03 16:24~~ ====== Make your Mac feel at Home ====== A small snippet from
- Command Line Audio @info:mac
- ~~META:date created = 2009-06-19 16:17~~ ====== Command Line Audio ====== ===== Change Mac Audio Volume
- Git @info:code
- elop feature/FEATURE ===== Subversion ===== === Update === git svn fetch ====== Git Flow ====== === In
- MySQL: Change Password @info:mysql:user
- an alternatively use the following: <code sql> UPDATE mysql.user SET Password=PASSWORD('{passwd}') WHER
- Virtual Network Visualization @info:solaris
- using [[http://www.graphviz.org/|Graphviz]]. **Update**: You might also be interested in the [[http://b
- MySQL: Create User @info:mysql:user
- PER_HOUR 0 MAX_CONNECTIONS_PER_HOUR 0 MAX_UPDATES_PER_HOUR 0 MAX_USER_CONNECTIONS 0 ; CREATE D