I hereby claim:
- I am salverde on github.
- I am s13e (https://keybase.io/s13e) on keybase.
- I have a public key ASBGNrBfLsVubNLv7ymKIs6R7bOtQActXTaAuLztzDEQcgo
To claim this, I am signing this object:
I hereby claim:
To claim this, I am signing this object:
This is a cheat sheet for how to perform various actions to ZSH, which can be tricky to find on the web as the syntax is not intuitive and it is generally not very well-documented.
Description | Syntax |
---|---|
Get the length of a string | ${#VARNAME} |
Get a single character | ${VARNAME[index]} |
# on os x use brew to get ffmpeg with libfdk_aac | |
brew install ffmpeg --with-fdk-aac | |
# convert and use m4a as file extension | |
find . -name '*.flac' -exec sh -c 'ffmpeg -i "$1" -c:a libfdk_aac -b:a 320k "${1%.flac}.m4a"' _ {} \; |
# vim: set expandtab sw=4 tabstop=4: | |
# *color* 'area' 'fgcolor' 'bgcolor' '[attributes]' | |
# general | |
color default 15 235 | |
color cursor 15 241 | |
color title-focus 242 221 | |
color title-blur 242 221 | |
color delimiter 213 default | |
color author 156 default |
" Use the following commands to remove the Chef development kit on macOS. | |
" To remove installed files: | |
>$ sudo rm -rf /opt/chefdk | |
"To remove the system installation entry: | |
>$ sudo pkgutil --forget com.getchef.pkg.chefdk | |
" To remove symlinks: | |
" For chef-client version 12.x, under /usr/local/bin: | |
>$ sudo find /usr/local/bin -lname '/opt/chefdk/*' -delete |
#!/bin/bash | |
# Author: Erik Kristensen | |
# Email: [email protected] | |
# License: MIT | |
# Nagios Usage: check_nrpe!check_docker_container!_container_id_ | |
# Usage: ./check_docker_container.sh _container_id_ | |
# | |
# Depending on your docker configuration, root might be required. If your nrpe user has rights | |
# to talk to the docker daemon, then root is not required. This is why root privileges are not |
$ yum install gcc make ncurses ncurses-devel
$ yum install ruby ruby-devel lua lua-devel luajit \
luajit-devel ctags git python python-devel \
python3 python3-devel tcl-devel \
perl perl-devel perl-ExtUtils-ParseXS \
perl-ExtUtils-XSpp perl-ExtUtils-CBuilder \
perl-ExtUtils-Embed
$ yum clean all
crack Sublime Text (2 and 3) | |
1. Open Sublime in a HEX editor (the executable file) | |
2. Find 43 33 33 42 30 32 | |
3. Replace in the string 33 42 with 32 42 | |
4. Save | |
5. Enter the license below: | |
—–BEGIN LICENSE—– | |
Patrick Carey |