This file contains 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
(oppia)bj@linuxbox:~/opensource/oppia$ bash scripts/run_presubmit_checks.sh | |
Linting files since the last commit | |
Starting Javascript and Python Linting | |
---------------------------------------- | |
There are no Python files to lint. | |
---------------------------------------- | |
SUCCESS 1 JavaScript files linted (8.0 secs) |
This file contains 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
(oppia)bj@linuxbox:~/opensource/oppia$ bash scripts/run_tests.sh | |
Checking if node.js is installed in /home/bj/opensource/oppia_tools | |
Generating list of installed node modules... | |
Generation completed. | |
Checking whether Google App Engine is installed in /home/bj/opensource/oppia_tools/google_appengine_1.9.19/google_appengine | |
Running frontend unit tests | |
Environment setup completed. | |
Environment setup completed. | |
Installing third-party JS libraries and zip files. | |
Checking whether gulp is installed |
This file contains 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
(oppia)bj@linuxbox:~/opensource/oppia$ bash scripts/run_frontend_tests.sh | |
Checking if node.js is installed in /home/bj/opensource/oppia_tools | |
Generating list of installed node modules... | |
Generation completed. | |
Checking whether Google App Engine is installed in /home/bj/opensource/oppia_tools/google_appengine_1.9.19/google_appengine | |
Environment setup completed. | |
Installing third-party JS libraries and zip files. | |
Checking whether gulp is installed | |
Checking whether through2 is installed | |
Checking whether yargs is installed |
This file contains 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
(oppia)bj@linuxbox:~/opensource/oppia$ bash scripts/run_e2e_tests.sh | |
Checking if node.js is installed in /home/bj/opensource/oppia_tools | |
Generating list of installed node modules... | |
Generation completed. | |
Checking whether Google App Engine is installed in /home/bj/opensource/oppia_tools/google_appengine_1.9.19/google_appengine | |
Environment setup completed. | |
Installing third-party JS libraries and zip files. | |
Checking whether gulp is installed | |
Checking whether through2 is installed | |
Checking whether yargs is installed |
This file contains 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
Running end-to-end tests | |
Environment setup completed. | |
Environment setup completed. | |
Installing third-party JS libraries and zip files. | |
Checking whether gulp is installed | |
Checking whether through2 is installed | |
Checking whether yargs is installed | |
Checking whether gulp-concat is installed | |
Checking whether gulp-clean-css is installed | |
Checking whether gulp-util is installed |
This file contains 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
PROBLEM 1: | |
Write a method that takes a maximum bound and returns all primes starting with 0 up-to and including the maximum bound. | |
For example: | |
Should return an array that looks like this: | |
[2,3,5,7,11] | |
def prime(n) |
This file contains 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
var _ = { | |
// Implements: | |
// https://lodash.com/docs#join | |
join: (array, separator = ',') => { | |
return 'FAIL :('; | |
} | |
} |
This file contains 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
var app = new Backbone.Marionette.Application(); | |
/* add the main region to the application */ | |
app.addRegions({ | |
appRegion: '#AppBase' | |
}); | |
/* define the module we will be using to create this app */ | |
app.module('RouteTest',function(module, App, Backbone, Marionette, $, _){ |
This file contains 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
export PATH="/usr/local/bin:$PATH" | |
# Path to your oh-my-zsh installation. | |
export ZSH=/Users/bjvoth/.oh-my-zsh | |
# Set name of the theme to load. | |
# Look in ~/.oh-my-zsh/themes/ | |
# Optionally, if you set this to "random", it'll load a random theme each | |
# time that oh-my-zsh is loaded. | |
ZSH_THEME="robbyrussell" |
This file contains 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 process(tab) { | |
// dont need this try, as you aren't trying anything that will fail | |
// try { | |
console.log("process: ", tab.url) | |
if (tab.url.match(/^https?:\/\/([^/]+\.)?facebook.com\//)) { | |
console.log('url matches facebook') | |
OlderNewer