REPLACE THIS: Please profile using time/timeEnd any potentially time-taking changes. Then profile using node profiler to identify what aspects take most time.
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
| // Includes functions for exporting active sheet or all sheets as JSON object (also Python object syntax compatible). | |
| // Tweak the makePrettyJSON_ function to customize what kind of JSON to export. | |
| var FORMAT_ONELINE = 'One-line'; | |
| var FORMAT_MULTILINE = 'Multi-line'; | |
| var FORMAT_PRETTY = 'Pretty'; | |
| var LANGUAGE_JS = 'JavaScript'; | |
| var LANGUAGE_PYTHON = 'Python'; |
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
| /* A bare-bones GithubClient, just used for commits */ | |
| function GithubClient(owner, repo, username, passwordOrToken) { | |
| this.owner = owner; | |
| this.repo = repo; | |
| this.username = username; | |
| this.passwordOrToken = passwordOrToken; | |
| } | |
| /* |
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
| const $ = require('jquery'); | |
| require_component('habitlab-logo-v2'); | |
| require_component('paper-button'); | |
| function removeFeed() { | |
| var re = new RegExp('medium.com\/\??.*$'); | |
| if (!re.test(window.location.href)) { | |
| return; | |
| } | |
| $('.streamItem').css('display', 'none'); |
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
| // Nudge for twitter.com for HabitLab | |
| // You can use it by installing HabitLab for Chrome, | |
| // and then in settings, click Code your own Nudge and paste this code in | |
| // TODOS: | |
| // Make a version for TweetDeck | |
| // Remove nudgeContainer once tweet is successfully sent | |
| const $ = require('jquery'); | |
| require_component('habitlab-logo-v2'); |
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
| /* | |
| 1st 3 rounds of the NFL 2015 Draft | |
| Collected by: https://www.khanacademy.org/profile/BobbyandKaren/ | |
| */ | |
| CREATE TABLE picks( | |
| id INTEGER PRIMARY KEY, | |
| pick_number INTEGER, | |
| name TEXT, | |
| college TEXT, |
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
| /* Programming languages | |
| Collected by: https://www.khanacademy.org/profile/trekcelt/programs | |
| */ | |
| CREATE TABLE languages( | |
| id INTEGER PRIMARY KEY, | |
| name TEXT, | |
| primary_developer TEXT, | |
| launched INTEGER, | |
| oop INTEGER /* Whether or not they're Object-oriented */ | |
| ); |
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> | |
| <meta charset="utf-8"> | |
| <title>New Webpage</title> | |
| <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/magnific-popup.js/1.0.0/magnific-popup.css"> | |
| <script src="//ajax.googleapis.com/ajax/libs/jquery/1.9.1/jquery.min.js"></script> | |
| <script src=" | |
| https://cdnjs.cloudflare.com/ajax/libs/magnific-popup.js/1.0.0/jquery.magnific-popup.js"></script> | |
| <a class="image-link" href="https://www.kasandbox.org/programming-images/animals/butterfly.png">Open popup!</a> |
- http://the-paper-trail.org/blog/distributed-systems-theory-for-the-distributed-systems-engineer/
- https://github.com/palvaro/CMPS290S-Winter16/blob/master/readings.md
- http://muratbuffalo.blogspot.com/2015/12/my-distributed-systems-seminars-reading.html
- http://christophermeiklejohn.com/distributed/systems/2013/07/12/readings-in-distributed-systems.html
- http://michaelrbernste.in/2013/11/06/distributed-systems-archaeology-works-cited.html
- http://rxin.github.io/db-readings/
- http://research.microsoft.com/en-us/um/people/lamport/pubs/pubs.html
- http://pdos.csail.mit.edu/dsrg/papers/
- http://scalingsystems.com/2011/09/07/reading-list-for-distributed-systems/
- http://courses.engr.illinois.edu/cs525/sp2011/sched.htm
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
| #!/bin/bash | |
| # Put this file at: .git/hooks/post-checkout | |
| # and make it executable | |
| # You can install it system wide too, see http://stackoverflow.com/a/2293578/685587 | |
| PREV_COMMIT=$1 | |
| POST_COMMIT=$2 | |
| NOCOLOR='\e[0m' |