This file contains 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
# pacman -S gnome | |
:: There are 47 members in group gnome: | |
:: Repository extra | |
1) adwaita-icon-theme 2) baobab 3) dconf-editor 4) empathy 5) eog 6) epiphany 7) evince 8) gdm 9) gnome-backgrounds 10) gnome-calculator 11) gnome-contacts | |
12) gnome-control-center 13) gnome-dictionary 14) gnome-disk-utility 15) gnome-font-viewer 16) gnome-keyring 17) gnome-screenshot 18) gnome-session | |
19) gnome-settings-daemon 20) gnome-shell 21) gnome-shell-extensions 22) gnome-system-log 23) gnome-system-monitor 24) gnome-terminal 25) gnome-themes-standard | |
26) gnome-user-docs 27) gnome-user-share 28) grilo-plugins 29) gtk3-print-backends 30) gucharmap 31) gvfs 32) gvfs-afc 33) gvfs-goa 34) gvfs-google 35) gvfs-gphoto2 | |
36) gvfs-mtp 37) gvfs-nfs 38) gvfs-smb 39) mousetweaks 40) mutter 41) nautilus 42) sushi 43) totem 44) tracker 45) vino 46) xdg-user-dirs-gtk 47) yelp | |
Enter a selection (default=all): |
This file contains 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
#!/bin/sh | |
# This has to be run from develop | |
git checkout develop | |
# Update our list of remotes | |
git fetch | |
git remote prune origin | |
# Remove local fully merged branches |
This file contains 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
#!/bin/bash | |
bridgeuser="" # Bridge user, see the API docs for this http://www.developers.meethue.com/documentation/configuration-api#71_create_user | |
bridgeip="" # Bridge IP address | |
lamp=$1 # The lamp number, usage ./find-test 5 | |
curl -X POST "http://$bridgeip/api/$bridgeuser/lights" | |
echo $? |
This file contains 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
source "httpso://rubygems.org" | |
gem 'sqlite3' | |
gem 'exiftool' |
This file contains 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
# Install like this: | |
# | |
# $ brew install https://gist.githubusercontent.com/lucaspiller/29fdd47956dd38a1fc0a1d4fd877b052/raw/openttd-reddit.rb | |
# | |
# To symlink to /Applications/OpenTTD.app run: | |
# | |
# $ brew linkapps openttd-reddit | |
# | |
# Custom game data files / configuration / saves are stored in ~/Documents/OpenTTD/ | |
# |
This file contains 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
Timestamp | Temperature (C) | Humidity (RH) | Voltage (V) | |
---|---|---|---|---|
2016-02-16 03:45:51.530868318 +0000 UTC | -3.1 | 84.8 | 3.812 | |
2016-02-16 03:50:41.837109716 +0000 UTC | -3.1 | 84.8 | 3.806 | |
2016-02-16 03:55:31.840826361 +0000 UTC | -3.1 | 85 | 3.808 | |
2016-02-16 04:00:22.152985775 +0000 UTC | -3.1 | 84.9 | 3.805 | |
2016-02-16 04:05:12.152659933 +0000 UTC | -3.1 | 85.3 | 3.807 | |
2016-02-16 04:10:02.032545988 +0000 UTC | -3.1 | 85 | 3.802 | |
2016-02-16 04:14:52.157674259 +0000 UTC | -3.1 | 84.7 | 3.799 | |
2016-02-16 04:19:42.160287768 +0000 UTC | -3.2 | 84.5 | 3.8 | |
2016-02-16 04:24:32.185451128 +0000 UTC | -3.2 | 84.2 | 3.801 |
This file contains 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
%%%------------------------------------------------------------------- | |
%%% File : quad_tree.erl | |
%%% @author Jamie Burrell | |
%%% @doc Erlang implementation of a quadratic tree. | |
%%% @end | |
%%% @since 2009-02-10 | |
%%% @end | |
%%%------------------------------------------------------------------- | |
-module(quad_tree). |
This file contains 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
0 info it worked if it ends with ok | |
1 verbose cli [ '/usr/local/Cellar/node/0.8.21/bin/node', | |
1 verbose cli '/usr/local/bin/npm', | |
1 verbose cli 'install', | |
1 verbose cli 'curses' ] | |
2 info using npm@1.2.11 | |
3 info using node@v0.8.21 | |
4 verbose read json /Users/luca/code/1gam/march/package.json | |
5 verbose read json /Users/luca/code/1gam/march/package.json | |
6 verbose cache add [ 'curses', null ] |
This file contains 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
class CalendarController | |
SKIP_DAYS = 35 | |
constructor: (@parent, @date = moment()) -> | |
@parent.on 'click', '[data-direction=prev]', @movePrevious | |
@parent.on 'click', '[data-direction=next]', @moveNext | |
@parent.on 'changeDate', '[data-date-picker]', @changeDate | |
movePrevious: (e) => | |
e.preventDefault() |
This file contains 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
#!/bin/zsh | |
# computer activity data collection for http://jehiah.cz/one-two/ | |
# Originally by Jehiah Czebotar. This verison by Luca Spiller. | |
FILE="$HOME/Dropbox/activity_log/`hostname`-`date +%Y%m%d`.log" | |
function log_activity() | |
{ | |
local TIME=`date "+%Y-%m-%dT%H:%M:%S%z"` | |
local IDLE=$((`/usr/sbin/ioreg -c IOHIDSystem | sed -e '/HIDIdleTime/!{ d' -e 't' -e '}' -e 's/.* = //g' -e 'q'` / 1000000000 )) |