Skip to content

Instantly share code, notes, and snippets.

Avatar
💭
❤️ not eating nor abusing animals 🍀

Daniel Hahler blueyed

💭
❤️ not eating nor abusing animals 🍀
View GitHub Profile
View Awesome 4.0 changelog
# Awesome window manager framework version 4.0 changes
Awesome 4.0 is the first release of the v4 API level, breaking the proven
v3.5 API level after 4 years. This requires to port existing user
configuration and extensions to the new API.
This document offer an overview of the new features and required changes for
existing users.
## New features
View gtk3-pyenv.sh
#!/bin/bash
# script for pyenv installation of pygtk3 in ubuntu 12.04
# Adapted from https://gist.github.com/mehcode/6172694
system_package_installed() {
if ! dpkg -l | grep -q $1; then
sudo apt-get install $1
fi
}
View git-clean-cached.sh
#!/bin/bash
cat .gitignore | egrep -v "^#|^$" | while read line; do
if [ -n "$line" ]; then
for ignored_file in $( git ls-files "$line" ); do
git rm --cached "$ignored_file"
done
fi
done
View stop the node with ant
<target name="run">
<exec executable="sh"
failifexecutionfails="true"
failonerror="true"
dir="${testnode.dir}">
<arg value="run.sh"/>
<arg value="start"/>
</exec>
</target>