Skip to content

Instantly share code, notes, and snippets.

@Queeniebee
Queeniebee / gist:284907d939a65f9769336845a64fa5d5
Last active September 18, 2017 13:11
Perception Reading List
#license:CC-by-nc-sa-3.0
Perception Reading List
VR
Infinite Reality - Blascovich Bailenson
Perception (art history)
Suspensions of perception - Crary https://mitpress.mit.edu/books/suspensions-perception
Virtual Art - Grau https://mitpress.mit.edu/books/virtual-art
@Queeniebee
Queeniebee / Machine_Learning_Articles_Tutorials_for_Non-ML_Scientists.md
Created April 10, 2016 20:06
List of Machine and Deep Learning Articles Tutorials that Non-ML and/or Non-CS Scientists Can Understand
@Queeniebee
Queeniebee / receipt.rb
Last active September 4, 2015 20:34
syntax error, unexpected keyword_end, expecting end-of-input
Class Receipt
def initialize(filename)
@items = Array.new
@filename = filename
File.foreach(@filename) { |line| @items.push(line) }
@dict = {:food => %w("chocolates", "chocolate", "donut", "apple", "fruit", "wine"), :medical => %w("pills", "syringe", "medicine", "salve", "bandage" ), :book => %w("books", "book") }
@tax = Float.new
@item = String.new
@num = Integer.new
@Queeniebee
Queeniebee / Signup.php
Last active August 29, 2015 14:27
Signup page for Traces
<?php
include ('config.php');
include ('dblogin.php');
// continue session
session_start();
// create an empty error array
$error = array();
// if ('POST' !== $_SERVER['REQUEST_METHOD']) {
$error['username'] = '';
$error['email'] = '';
var http = require("http");
console.log("Now running CracklePop!");
console.log("You can also navigate to \'localhost:5335\' to see the game");
console.log("But it is better to view it here.");
http.createServer(function(request, response) {
response.writeHead(200, {"Content-Type": "text/html; charset=utf8"});
cracklePop(request, response);
}).listen(5335);
@Queeniebee
Queeniebee / Maintaining the Gateway: Improving Mozilla Wiki through updating Information Architecture and Theme.
Created March 31, 2014 18:38
Mozilla OPW Proposal for Internship within the Community Building Team and Wiki Working Group
Maintaining the Gateway: Improving Mozilla Wiki through updating Information Architecture and Theme.
----------------------------------------------------------------------------------------------------
### Abstract
In the effort to attract more contributors and to support current volunteers, the Mozilla Wiki information architecture and theme need to be updated, and a system of maintenance designed and eventually implemented. Many WikiMo's issues stem from a lack of styleguide and best practices guidelines, a redundant classification system, and a theme that is at a discord with the current [Mozilla identity](http://www.mozilla.org/en-US/styleguide/).
To strengthen WikiMo as a resource to users, potential, and current contributors, I propose to draft Contributor Styleguide and Best Practices Guide. I also propose to remove unused pages and reclassify outdated pages with an emphasis on easy discoverability and non-redundant classification.
@Queeniebee
Queeniebee / CracklePop.py
Last active August 29, 2015 13:57
CracklePop!
def CracklePop():
x = 100
for x in range(1, 101):
if (x % 3) == 0 and (x % 5) == 0:
print "CracklePop"
elif (x % 3) == 0:
print "Crackle"
elif (x % 5) == 0:
print "Pop"
else:
@Queeniebee
Queeniebee / Arduino Code
Created November 30, 2013 19:14
Physical Computer FINAL
#include <Wire.h>
#include <Adafruit_LSM303.h>
Adafruit_LSM303 lsm;
int values[3];
void setup() {
Serial.begin(9600);
if (!lsm.begin()){
@Queeniebee
Queeniebee / shadyShaders
Created November 19, 2013 05:02
OF shaders: Blur and Pixelate
setup(){
myPlayer.loadMovie( "MOVIE.mov" );
BlurOne.allocate(ofGetWidth(), ofGetHeight());
BlurTwo.allocate(ofGetWidth(), ofGetHeight());
shader.load("shaders/pixelate");
shaderX.load("shaders/blur");
shaderY.load("shaders/blur2");
@Queeniebee
Queeniebee / timeoutPUB.py
Last active December 27, 2015 00:59
PUB/SUB that times out with zmq.Poller
import sys
import zmq
def main():
context = zmq.Context()
pubSocket = context.socket(zmq.PUB)
# pubSocket.bind("tcp://localhost:5570")
pubSocket.bind("tcp://*:5570")