Fulltext results:
- Convert a Key @info:cryptography:openssl
- -srckeystore testkey.p12 -srcstoretype pkcs12 -srcalias 1 -destkeystore testkey.jks -deststoretype jks -destalias testkey You can add ''-deststorepass PASSWORD
- 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 co... t shasums2.txt </code> Or you use Meld as graphical diff tool: <code bash> meld shasums1.txt shasums
- List Open Ports @info:sysadmin
- connections (only servers) Proto Recv-Q Send-Q Local Address Foreign Address State
- Increase the Tomcat Upload Limit @info:sysadmin
- </multipart-config> </code> If you have installed Tomcat in ''/opt/tomcat'', the file will be he... ebapps/manager/WEB-INF/web.xml''. If you have installed Tomcat with the package manager, it will be he
- exiftool @info:script
- hours and 55 minutes to the future: exiftool -AllDates+='0:0:43 14:55:0' -overwrite_original *.jpg {{tag>scripting exif photo}}
- Cursor Size @info:linux:gnome
- size in GNOME, use this command. Substitute the value ''32'' with your prefered size. <code bash> gs
- Clear DNS Cache @info:mac
- first have to flush the cache and then send a signal the the 'mDNSResponder'. dscacheutil -flushcache sudo killall -HUP mDNSResponder {{tag>mac osx sysadmin dns c
- 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> Simpler Alternative: <code sql> CREATE DATABASE IF NOT EXIS... TS `dbname` DEFAULT CHARACTER SET = 'utf8'; GRANT ALL ON `dbname`.* TO 'dbuser'@'dbhost' IDENTIFIED BY
- Print Information about a Certificate @info:cryptography:openssl
- ls are output including the public key, signature algorithms, issuer and subject names, serial number any extensions present and any trust settings. You
- rmdir for OSX @info:mac
- .DS_Store $ /bin/rmdir test </code> I wrote a small bash function to remove directories together wit... ${f}" rm "${f}" fi /bin/rmdir "${d}" || ls -al "${d}" done } </code> With this function you can
- 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.... @2.69_5 ... </code> You can see a list of all installed ports: <code bash> port echo installed
- Set a Mac's Hostname @info:mac
- * http://osxdaily.com/2010/09/06/change-your-mac-hostname-via-terminal/ {{tag>mac osx cli sysadmin}}
- 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 wheth
- Print Information about a Key @info:cryptography:openssl
- form DER]]'': This specifies the input format normally the command will expect an X509 certificate but... ls are output including the public key, signature algorithms, issuer and subject names, serial number any extensions present and any trust settings. You
- JAX-WS Debugging @info:java
- ent.HttpTransportPipe.dump=true com.sun.xml.internal.ws.transport.http.client.HttpTransportPipe.dump=t... port.http.HttpAdapter.dump=true com.sun.xml.internal.ws.transport.http.HttpAdapter.dump=true </code> ... ost common option seems to be ''com.sun.xml.internal.ws.transport.http.client.HttpTransportPipe.dump''... to the command line): <code> -Dcom.sun.xml.internal.ws.transport.http.client.HttpTransportPipe.dump=t