A ZSH theme optimized for people who use:
- Solarized
- Git
- Unicode-compatible fonts and terminals (I use iTerm2 + Menlo)
For Mac users, I highly recommend iTerm 2 + Solarized Dark
Char Unicode | |
------------------------------ | |
Ä, ä \u00c4, \u00e4 | |
Ö, ö \u00d6, \u00f6 | |
Ü, ü \u00dc, \u00fc | |
ß \u00df |
Two ways to do it, but only worked for me so I'll put it first and the second for reference:
$ openssl pkcs12 -export -in hostname.crt -inkey hostname.key -out hostname.p12
$ openssl pkcs12 -in hostname.p12 -nodes -out hostname.pem
Other options for this method in comments below:
# Note, the -certfile root.crt appends all CA certs to the export, I've never needed these so it's optional for my personal steps
$ openssl pkcs12 -export -in hostname.crt -inkey hostname.key -certfile root.crt -out hostname.p12
" Turn hard wrapped text into soft wrapped. | |
" This command will join all lines within a range that are not separated | |
" by empty lines. Automatic word wrap must be off (set fo-=a). | |
" Useful if you need to copy and paste into a word processor. | |
command! -range=% SoftWrap | |
\ <line2>put _ | | |
\ <line1>,<line2>g/.\+/ .;-/^$/ join |normal $x |
:+1: | |
:-1: | |
:airplane: | |
:art: | |
:bear: | |
:beer: | |
:bike: | |
:bomb: | |
:book: | |
:bulb: |
#!/bin/bash | |
if [ "$1" = "-h" -o "$1" = "--help" -o -z "$1" ]; then cat <<EOF | |
appify v3.0.1 for Mac OS X - http://mths.be/appify | |
Creates the simplest possible Mac app from a shell script. | |
Appify takes a shell script as its first argument: | |
`basename "$0"` my-script.sh |