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
# Qt qmake integration with Google Protocol Buffers compiler protoc | |
# | |
# To compile protocol buffers with qt qmake, specify PROTOS variable and | |
# include this file | |
# | |
# Example: | |
# BITSIZE = $$system(getconf LONG_BIT) | |
# if (contains(BITSIZE, 64)) { | |
# LIBS += /usr/lib/x86_64-linux-gnu/libprotobuf.so | |
# } |
- save agnoster-light.zsh-theme to
~/.oh-my-zsh/themes/
. - edit
ZSH_THEME
in~/.zshrc
toagnoster-light
- change the color theme of terminal to
solarized-light
- open a new terminal
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
function unzlib { | |
exec 9<&0 | |
printf "\x1f\x8b\x08\x00\x00\x00\x00\x00" | cat - ${1:-/dev/fd/9} | gzip -dc | |
} | |
function zlib { | |
cat ${1:-/dev/stdin} | gzip -c | tail -c +9 | |
} |