Skip to content

Instantly share code, notes, and snippets.

View ubuntu
sudo add-apt-repository ppa:regolith-linux/release
sudo apt install regolith-desktop i3xrocks-net-traffic i3xrocks-cpu-usage i3xrocks-time -y
sudo apt install surfraw -y
sudo apt install python3 ansible -y
View paint.js
* this function
* initializes the events
* necessary for painting on svg
* @param fn is the function to callback on complete of paint stroke
* @return None
export function init (fn) {
View gist:b8d8fef449a4bb0971d79c06100d595b
checking for gcc... gcc
checking whether the C compiler works... yes
checking for C compiler default output file name... a.out
checking for suffix of executables...
checking whether we are cross compiling... no
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ISO C89... none needed
checking how to run the C preprocessor... gcc -E
View gist:be820e76c2354a978e2e322db29a6ca4
# git ls-files --others --exclude-from=.git/info/exclude
# Lines that start with '#' are comments.
# For a project mostly in C, the following would be a good set of
# exclude patterns (uncomment them if you want to use them):
# *.[oa]
# *~