Skip to content

Instantly share code, notes, and snippets.

View thnkr's full-sized avatar

Patrick McConlogue thnkr

View GitHub Profile
0xAad06Bd579C26284CB25B969A2961662c21b5832
beakernotebook.com
tssecurities.com
twosigma.com
twosigmasecurities.com
twosigmaventures.com
pics.twosigma.com
sohosecurities.biz
twosigma.biz
2ssec.com
beakernotebook.com
In no way will we spam or abuse the information we use in this application.
@thnkr
thnkr / 0_reuse_code.js
Last active August 29, 2015 14:14
Here are some things you can do with Gists in GistBox.
// Use Gists to store code you would like to remember later on
console.log(window); // log the "window" object to the console
console.log('hello');
alert('hello');
window.parent.alert('hello');
window.parent.console.log('hello');
@thnkr
thnkr / brick_browser
Last active August 29, 2015 14:02
Brick Browser Info.json
[
{
"name": "Butler",
"version": "0.0.1",
"category": "admin_tools",
"language": "ruby",
"tags": "ruby export objects",
"parameters": [
{
"name": "butler",
@thnkr
thnkr / gist:9688088db1160068133d
Created June 3, 2014 22:18
In browser speech synthesis
speechSynthesis.getVoices().forEach(function(voice) {
var name = voice.name,
speech = new SpeechSynthesisUtterance("Hello, my name is " + name);
speech.voice = voice;
speechSynthesis.speak(speech);
})
layout title date categories pygments perex
post
Creating User Filters
2014-05-27 05:30:00 -0700
recipe
true
Here we will build project end-to-end with the SDK ultimately applying Mandatory User Filters and Variable filters to the project.

Part I - Project, Model, and Uploading

// change unlogged in modal form copy from "save" to "bookmark"
$(document).bind('click.modal.data-api', '.btn:contains("Bookmark")', function (e) {
var $signupModal = $('#signup_modal');
$signupModal.find('.js-dynamic-help-text')
.each(function(){
var text = $(this).text();
text = text.replace("saved", "bookmarked");
text = text.replace("save", "bookmark");
$(this).text(text);
})
@thnkr
thnkr / example_1_chapter3
Created September 22, 2013 21:39
JavaScript from JavaScript for Beginners, Page 37, Chapter 3
<!DOCTYPE HTML PUBLIC"-//W3C//DTD HTML 4.01//EN""http://www.w3.org/TR/html4/strict.dtd">
<html lang="en">
<head>
<title>Conditionals with Else</title>
</head>
<body>
<script language="javascript" type="text/javascript">
var numericalGrade = 95;
var letterGrade;
if(numericalGrade >= 90){