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 | |
if [ ! $(command -v brew) ]; then | |
ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)" | |
fi | |
if [ ! -f /bin/bash.bak ]; then | |
brew update | |
brew install bash | |
brew upgrade bash | |
sudo mv /bin/bash /bin/bash.bak | |
sudo rm /bin/bash |
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
## Hack to connect multiple Parrot AR Drones. | |
############################################# | |
## Instructions: | |
## 1. Connect to your AR Drone wifi network. | |
## 2. Open your terminal and do 'telnet 192.168.1.1' | |
## 3. Copy the script and replace DRONE_ID with the desired ID number (between 3-255). | |
## 4. Paste and run the script for every drone on the swarm. | |
DRONE_ID=200 | |
sed -i "s/PROBE=1/PROBE=${DRONE_ID}/" /bin/wifi_setup.sh |
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
// BUGGY: | |
project_page.campaign_id = 191; | |
project_page.twitter_backed = ; // HERE IN RUBY: project_page.twitter_backed = <%=twitter_backed%>; | |
// Uncaught SyntaxError: Unexpected token ; | |
project_page.facebook_backed = ; // HERE IN RUBY: project_page.facebook_backed = <%=facebook_backed%>; | |
project_page.total_backers = 18; | |
project_page.total_reach = 13482; | |
project_page.time_left = 0; | |
project_page.goal = 500; |