This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env bash | |
# ------------------------------------------------------------------ | |
# Script Name: DebPostInstall | |
# Description: A Bash Script to automate essential | |
# post-installation tasks on Debian and Ubuntu | |
# Website: https://gist.github.com/ostechnix | |
# Version: 1.0 | |
# Usage: sudo ./debpostinstall.sh | |
# ------------------------------------------------------------------ |
Original issue: Shougo/neocomplete.vim#31
@JohanTan From my experience, this is how it will work (only tested on Ubuntu):
sudo apt-get install liblua5.1-dev
sudo cp -r /usr/include/lua5.1/* /usr/include/lua5.1/include/
sudo ln -s /usr/lib/x86_64-linux-gnu/liblua5.1.so /usr/local/lib/liblua.so
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:
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]} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# 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"' _ {} \; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# 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 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
" 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 |
NewerOlder