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
/* | |
This file is part of the DAO. | |
The DAO is free software: you can redistribute it and/or modify | |
it under the terms of the GNU lesser General Public License as published by | |
the Free Software Foundation, either version 3 of the License, or | |
(at your option) any later version. | |
The DAO is distributed in the hope that it will be useful, | |
but WITHOUT ANY WARRANTY; without even the implied warranty of |
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 | |
set -e | |
trap 'previous_command=$this_command; this_command=$BASH_COMMAND' DEBUG | |
trap 'echo FAILED COMMAND: $previous_command' EXIT | |
#------------------------------------------------------------------------------------------- | |
# This script will download packages for, configure, build and install a GCC cross-compiler. | |
# Customize the variables (INSTALL_PATH, TARGET, etc.) to your liking before running. | |
# If you get an error and need to resume the script from some point in the middle, | |
# just delete/comment the preceding lines before running it again. |
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
require 'propono' | |
Propono.config do |config| | |
config.access_key = "AKIAIPE2MSOM5ZFGQBCQ" | |
config.secret_key = "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" | |
config.queue_region = "eu-west-1" | |
end | |
require 'twitter' | |
@twitter = Twitter::REST::Client.new do |config| | |
config.consumer_key = "OG9Zkag09onRe7b5ZLecO7HGb" |
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
# /etc/network/interfaces | |
# Configured for bridging wifi<->ethernet | |
# Tested with: | |
# - RPi Model B Rev. 1 | |
# - 2013-02-09-wheezy-raspbian | |
# - Edimax 8192-series USB wireless adapter | |
# - /etc/modprobe.d/8192cu.conf contents: | |
# - options 8192cu rtw_power_mgnt=0 rtw_enusbss=0 | |
# - firmware: c2d133fb4efe9c9995da7fd7e1c45d74254f5c4b |
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
Engine | |
====== | |
File structure: | |
EngineFoo | |
- app | |
- db | |
- seeds.rb |