Lecture 1: Introduction to Research — [📝Lecture Notebooks] [
Lecture 2: Introduction to Python — [📝Lecture Notebooks] [
Lecture 3: Introduction to NumPy — [📝Lecture Notebooks] [
Lecture 4: Introduction to pandas — [📝Lecture Notebooks] [
Lecture 5: Plotting Data — [📝Lecture Notebooks] [[
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
{ | |
"name": "DirectionalControl", | |
"version": "0.0.1", | |
"description": "Directional Control", | |
"main": "./main.js", | |
"scripts": { | |
"start-dev": "ENVIRONMENT=DEV electron .", | |
"start": "electron .", | |
"build": "webpack", | |
"watch": "webpack-dev-server --hot --inline --progress", |
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
const path = require('path') | |
const webpack = require('webpack') | |
const PATHS = { | |
app: path.join(__dirname, 'src/app/index'), | |
build: path.join(__dirname, 'build') | |
} | |
let options = { | |
target: 'electron', |
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
# http://debugmode.net/2013/02/19/how-to-find-index-of-an-item-in-javascript-object-array/ | |
var findIndexByKeyValue = function(arraytosearch, key, valuetosearch) { | |
for (var i = 0; i < arraytosearch.length; i++) { | |
if (arraytosearch[i][key] == valuetosearch) { | |
return i; | |
} | |
} | |
return null; |
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
// Reload data with animation. | |
// http://stackoverflow.com/a/15165733 | |
self.collectionView.performBatchUpdates( | |
{ | |
self.collectionView.reloadSections(NSIndexSet(index: 0)) | |
}, completion: { (finished:Bool) -> Void in | |
}) |
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
# Create Package | |
meteor create --package username:packagename |
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
// Use Gists to store code you would like to remember later on | |
console.log(window); // log the "window" object to the console |