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 is a python script to block those extra fake followers. | |
Here's what you have to do: | |
# Twitter Authorization | |
1. Go to apps.twitter.com | |
2. Click on Create New App | |
3. Fill in the stuff. None of it matters |
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
module Player exposing (takeTurn) | |
import Set exposing (Set) | |
import Warrior exposing (Warrior) | |
import Warrior.Coordinate exposing (Coordinate) | |
import Warrior.Direction exposing (Direction(..)) | |
import Warrior.History as History exposing (History) | |
import Warrior.Map as Map exposing (Map) | |
import Warrior.Map.Tile exposing (..) |
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
# encoding: utf-8 | |
''' | |
Connect the muse to the computer with BT. | |
use muse-io (in the command line) to read data from the muse thing. | |
with --osc 'osc.tcp://localhost:4999' because the default is port 5000 and | |
it won't work if there's another process on that port. port 4999 was fine. | |
read the data with muse-player. pass the port through '-l 4999'. |
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
/* | |
sort families by their size. (let's name them A, B, C, D, and E.) | |
(if the biggest family is over half of the enitre group there's no valid solution.) | |
while A.count > B.count | |
pair up santas from A (the biggest family) and E (the smallest) | |
(e.g., Dan A is Brent E's santa and vice versa) | |
while there are still unmatched people | |
make loops of people |
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
<!DOCTYPE html> | |
<meta charset="utf-8"> | |
<style> | |
body { | |
width: 960px; | |
height: 500px; | |
position: relative; | |
} |
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
<!DOCTYPE html> | |
<meta charset="utf-8"> | |
<style> | |
body { | |
width: 960px; | |
height: 500px; | |
position: relative; | |
} |
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
<!DOCTYPE html> | |
<meta charset="utf-8"> | |
<style> | |
body { | |
width: 960px; | |
height: 500px; | |
position: relative; | |
} |