Fulltext results:
- Compare directories @info:script
- ode bash> find DIR -type f -exec shasum {} + | LC_ALL=C sort -d -k 2 > shasums.txt </code> It's important to use ''LC_ALL=C'' and the option ''-d'' of ''sort'', to get com
- Increase the Tomcat Upload Limit @info:sysadmin
- </multipart-config> </code> If you have installed Tomcat in ''/opt/tomcat'', the file will be her... ebapps/manager/WEB-INF/web.xml''. If you have installed Tomcat with the package manager, it will be her
- exiftool @info:script
- hours and 55 minutes to the future: exiftool -AllDates+='0:0:43 14:55:0' -overwrite_original *.jpg
- Clear DNS Cache @info:mac
- Responder'. dscacheutil -flushcache sudo killall -HUP mDNSResponder {{tag>mac osx sysadmin dns ca
- MySQL: Create User @info:mysql:user
- code> ==== Create User and Database ==== * Usually, ''{user}'' == ''{db}'' <code sql> CREATE USER ... 0 ; CREATE DATABASE IF NOT EXISTS `{db}`; GRANT ALL PRIVILEGES ON `{db}` . * TO '{user}'@'%'; </code... TS `dbname` DEFAULT CHARACTER SET = 'utf8'; GRANT ALL ON `dbname`.* TO 'dbuser'@'dbhost' IDENTIFIED BY
- rmdir for OSX @info:mac
- .DS_Store $ /bin/rmdir test </code> I wrote a small bash function to remove directories together with
- MacPorts @info:mac
- uested | cut -d ' ' -f 1 | uniq </code> list installed ports: <code bash> port -qv installed </code> ===== Housekeeping ===== When ports are updated, the old port is only deactivated, not uninstalled: <code> ... autoconf @2.6... @2.69_5 ... </code> You can see a list of all installed ports: <code bash> port echo installed
- Make your Mac feel at Home @info:mac
- 4~~ ====== Make your Mac feel at Home ====== A small snippet from one of my scripts which tests whethe
- Print Information about a Key @info:cryptography:openssl
- form DER]]'': This specifies the input format normally the command will expect an X509 certificate but
- Generate a Test Key @info:cryptography:openssl
- te instead of a certificate request. This is typically used to generate a test certificate or a self si... ate keys to, standard output by default. They are all written in PEM format. * ''[[http://www.openssl
- Install the Java-Plugin for Firefox @info:java
- ====== Install the Java-Plugin for Firefox ====== To install the Java plugin for Firefox, you have to create a symli
- Cleanup Packages @info:linux:debian
- ====== Cleanup Packages ====== ===== Purge uninstalled Packages ===== If a package is removed, it is only uninstalled, but the configuration remains on the system. This is a good thing, as you are able to reinstall the package and have it configured with the old c... leanup this old stuff, you can ge a list of uninstalled (but not purged) packages with this command: <
- Debug Server Certificate from Client @info:cryptography:openssl
- : display the whole server certificate chain: normally only the server certificate itself is displayed.
- Specify Java VM for Eclipse @info:code:eclipse
- o lines to the ''eclipse.ini'' in the Eclipse installation directory: <code> -vm /opt/jdk/bin/java </c
- VBoxManage (The VirtualBox CLI) @info:virtualbox
- e Version 4.2.16 (C) 2005-2013 Oracle Corporation All rights reserved. </code> ===== Usage: ===== V... <leaf>] [--cpuidremoveall] [--hardwareuuid <uui... [--nicpromisc<1-N> deny|allow-vms|allow-all] [--nicbandwidthgroup<1-N> none|<name>]