Skip to content

Instantly share code, notes, and snippets.

@tallowen
tallowen / sentence_reverse.rb
Created October 19, 2018 00:30
Sentence Reverse "fun"
def reverse_sentence(my_sentence)
word_infos
end
def get_new_index(word_infos, i)
end
def find_word_infos(my_sentence)
puts "hello"
puts my_sentence
stata_decades = `" {}"`.format(' '.join(decades))

Keybase proof

I hereby claim:

  • I am tallowen on github.
  • I am tallowen (https://keybase.io/tallowen) on keybase.
  • I have a public key whose fingerprint is DEC2 EB45 40C1 BF21 D366 A070 F7FD 8B65 ED80 922A

To claim this, I am signing this object:

// JavaScript Document
// Game Variables
var $boxes = $('.box');
// Click Event Listener
$boxes.click(function(e){
console.log(this, e);
});
// JavaScript Document
// Game Variables
var $box = $('.box');
// Click Event Listener
$box.click(function(){
console.log(this);
});
Facebook routes:
route: 204.15.20.0/22
route: 69.63.176.0/20
route: 66.220.144.0/20
route: 66.220.144.0/21
route: 69.63.184.0/21
route: 69.63.176.0/21
route: 74.119.76.0/22
route: 69.171.255.0/24
route: 173.252.64.0/18
@tallowen
tallowen / mac_build_issue.md
Last active December 15, 2015 01:39
Issue with android build on mac

Change Window

Between 0b052daa913c and e6215e0357fa

Error:

In the directory  /Users/tallowen/workspace/mozilla-central/objdir-droid/media/libcubeb/src
The following command failed to execute properly:

/Users/tallowen/workspace/android-ndk-r8c/toolchains/arm-linux-androideabi-4.6/prebuilt/darwin-x86/bin/arm-linux-androideabi-gcc -o cubeb_opensl.o -c -fvisibility=hidden -DUSE_AUDIOTRACK -DUSE_OPENSL -DNO_NSPR_10_SUPPORT -I/Users/tallowen/workspace/mozilla-central/media/libcubeb/src -I. -I../../../dist/include -I/Users/tallowen/workspace/mozilla-central/objdir-droid/dist/include/nspr -I/Users/tallowen/workspace/mozilla-central/objdir-droid/dist/include/nss -fPIC -isystem /Users/tallowen/workspace/android-ndk-r8c/platforms/android-8/arch-arm/usr/include -Wall -Wpointer-arith -Wdeclaration-after-statement -Werror=return-type -Wtype-limits -Wempty-body -Wsign-compare -Wno-unused -mandroid -fno-short-enums -fno-exceptions -march=armv7-a -mthumb -mfpu=vfp -mfloat-abi=softfp -std=gnu99 -

import requests
from requests_oauthlib import OAuth1
from flask import Flask, request, redirect, session
from urlparse import parse_qs
import os
app = Flask(__name__)
# This information is obtained upon registration of a new client on twitter
key = u"<your client key>"
bad_substrings = []
def has_substrings(letters):
if letters in bad_substrings:
return False
for i in range(letters):
if lookup(letters[:i]):
return has_substrings(letters[i:])
import json
import time
import sys
from flask import Flask, render_template, request
app = Flask(__name__)
port = int(sys.argv[1])
@app.route('/', methods=['GET'])