Skip to content

Instantly share code, notes, and snippets.

View rebleo's full-sized avatar

rebecca (marks) leopold rebleo

View GitHub Profile
@rebleo
rebleo / index.html
Created April 26, 2019 00:31
rc server
<!DOCTYPE html>
<html>
<head>
<title>Recurse Server</title>
</head>
<body>
<form method="GET" action="/set">
Set the Data:
@rebleo
rebleo / making.txt
Last active December 12, 2018 06:17
the Making Poems
# rebecca (marks) leopold
# the Making Poems, 2016
# http://site.rebeccaleopold.com/?page_id=536
# thx to allison parrish, rune madson & gertrude stein
import sys
import random
import itertools
f = open('making.txt')
// Web Graphics Library, for dummies ( re: photographers // filmmakers )
//http://p5js.org/reference/#/p5/texture
//https://processing.org/tutorials/p3d/
//https://github.com/processing/p5.js/wiki/Getting-started-with-WebGL-in-p5
//http://p5js.org/reference/#/p5/texture
//http://chronotext.org/webgl/index.htm
var obama;
var riis;
## I hard coded the emoji code by colors.
## These are not all of them. But a good number.
## http://www.emoji-cheat-sheet.com/
red = [':rage:',':yum:',':broken_heart:', ':exclamation:', ':question:',
':japanese_goblin:',':japanese_ogre:', ':feet:', ':kiss:', ':love_letter:',
':chicken:',':beetle:',':paw_prints:',':rose:', ':lips:', ':nail_care:',
':tongue:',':couplekiss:',':dancer:',':couple:',':runner:', ':couple_with_heart:',
':mushroom:',':volcano:',':no_bell:',':alarm_clock:', ':balloon:',
':two_women_holding_hands:', ':family:',':heart_eyes:', ':blush:', ':kissing_heart:',
// // twitter.com/emojiMountain
// thx Dan Shiffman
//github.com/shiffman/A2Z-F16/tree/gh-pages/week4-twitter
//make the twitter go
var Twit = require('twit'); //import
var config = require('./config.js'); //get dev data
var T = new Twit(config); //connect to twitter
<!-- reb coding w/ with Eve & Sawn -->
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<title>( emojiGo )</title>
<style>
body {
function getOtherUsers(){
console.log("Getting Worlds");
$.ajax( { url:
"https://api.mlab.com/api/1/databases/oldobjectsnewideas/collections/oldobjectsnewideas?apiKey=xBjEbKOF7qgY_FN7Swwl-eIR5PrTw8T5",
type: "GET",
//create the select ui element based on what came back
success: function ( data ){
$.each(data, function( index, obj){
//this is loop with data coming back from server
function sendPosition( x , y) {
x = cubeX;
y = cubeY;
me = $("#name").val();
console.log(x);
console.log(y);
$.ajax( { url: "https://api.mlab.com/api/1/databases/oldobjectsnewideas/collections/oldobjectsnewideas?apiKey=xBjEbKOF7qgY_FN7Swwl-eIR5PrTw8T5",
import urllib
import json
import sys
import random
gm = open('goodnightMoon.txt')
gm_lines = gm.read() #
gm.close()
gm_words = gm_lines.strip()
import sys
import random
import itertools
f = open('making.txt')
making = f.read() #
f.close()
g_rude = making.strip()