This file contains hidden or 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> | |
| <html> | |
| <head> | |
| <title>n-back</title> | |
| <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.7.2/jquery.min.js"></script> | |
| <style> | |
| #number{ | |
| margin: auto; | |
| text-align: center; | |
| margin-top: 200px; |
This file contains hidden or 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
| (function(){ /* remove newlines & prefix with javascript: */ | |
| var content = (new String(window.getSelection().getRangeAt(0))).split(' '); | |
| var bg = document.createElement('div'); | |
| bg.style.position='fixed'; | |
| bg.style.top='0px'; | |
| bg.style.left='0px'; | |
| bg.style.right='0px'; | |
| bg.style.bottom='0px'; | |
| var bgbg = document.createElement('div'); | |
| bgbg.style.position='fixed'; |
This file contains hidden or 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> | |
| <html> | |
| <head> | |
| <link href='http://fonts.googleapis.com/css?family=Tenor+Sans|Esteban' rel='stylesheet' type='text/css'> | |
| <style> | |
| #demo{ | |
| width: 30em; | |
| overflow: hidden; | |
| font-family: 'Esteban'; | |
| } |
This file contains hidden or 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
| import csv, pprint, sys, os | |
| distexplore_enabled = False | |
| try: | |
| import distexplore | |
| distexplore_enabled = True | |
| except: | |
| pass | |
| f = open(sys.argv[1], 'rb') |
This file contains hidden or 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
| javascript:(function(){var s = window.location.search.substring(1).split(/[=&]/); window.location.assign('http://www.youtube.com/watch_popup?v='+s[s.indexOf('v')+1]+'&feature=youtu.be&hd=1');})(); |
This file contains hidden or 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
| import Growl, sys | |
| #http://stackoverflow.com/questions/10608678/growl-notification-in-python | |
| #pip install py-Growl | |
| icon=None | |
| #Add an icon! | |
| #icon = Growl.Image.imageFromPath("icon.png") |
This file contains hidden or 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
| echo "Making README..." | |
| touch README | |
| wget http://ipecho.net/plain -qO - >> README | |
| echo -e "\n" >> README | |
| echo "Updating packages..." | |
| apt-get update | |
| apt-get upgrade | |
| echo "Installing default packages..." |
This file contains hidden or 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
| [{"rank":1,"name":"Bill Gates"},{"rank":2,"name":"Warren Buffett"},{"rank":3,"name":"Larry Ellison"},{"rank":4,"name":"Charles Koch"},{"rank":4,"name":"David Koch"},{"rank":6,"name":"Christy Walton & family"},{"rank":7,"name":"Jim Walton"},{"rank":8,"name":"Alice Walton"},{"rank":9,"name":"S. Robson Walton"},{"rank":10,"name":"Michael Bloomberg"},{"rank":11,"name":"Sheldon Adelson"},{"rank":12,"name":"Jeff Bezos"},{"rank":13,"name":"Larry Page"},{"rank":14,"name":"Sergey Brin"},{"rank":15,"name":"Forrest Mars, Jr."},{"rank":15,"name":"Jacqueline Mars"},{"rank":15,"name":"John Mars"},{"rank":18,"name":"Carl Icahn"},{"rank":19,"name":"George Soros"},{"rank":20,"name":"Mark Zuckerberg"},{"rank":21,"name":"Steve Ballmer"},{"rank":22,"name":"Len Blavatnik"},{"rank":23,"name":"Abigail Johnson"},{"rank":24,"name":"Phil Knight"},{"rank":25,"name":"Michael Dell"},{"rank":26,"name":"Paul Allen"},{"rank":27,"name":"Donald Bren"},{"rank":27,"name":"Ronald Perelman"},{"rank":29,"name":"Anne Cox Chambers"},{"rank":30,"name |
This file contains hidden or 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
| from svmutil import * | |
| from os import devnull | |
| import itertools | |
| # Hello there! | |
| # You should read the commentary in seven_steps_to_OK_performance, although | |
| # you won't have to implement anything other than the data transformation | |
| # (as it's somewhat tedious to go through the LibSVM docs, and they provide | |
| # a similar module -- easy.py -- that does substantially the same thing |
This file contains hidden or 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
| javascript:(function(){var a=document.createElement("script");a.src="//cdnjs.cloudflare.com/ajax/libs/underscore.js/1.5.2/underscore-min.js",document.getElementsByTagName("head")[0].appendChild(a)})(); |
OlderNewer