Skip to content

Instantly share code, notes, and snippets.

View fdavidcl's full-sized avatar

David Charte fdavidcl

View GitHub Profile
# The hasselhoff attack taken to a new level
# curl -L http://git.io/pxu2 | bash
TARGET=`echo ~`/hasselhoff.jpg
wget http://www.ljpaez.es/imagen/hasselhoff.jpg $TARGET
gsettings set org.gnome.desktop.background picture-uri file:///$TARGET
xmessage -center "you have been hasselhoffinated"
#!/bin/bash
# David Charte, Ignacio Cordón y Mario Román
# Parámetros
# 1 - regla para encontrar los archivos a compilar
# 2 - argumento a pasar al programa
CFLAGS="-flto -fopenmp -fwhole-program -Wall -Wl,--no-as-needed"
CXXFLAGS="$CFLAGS -std=c++0x"
LDFLAGS="-lm -lrt"