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
// Place your settings in this file to overwrite the default settings | |
{ | |
"python.linting.pylintEnabled": false, | |
"python.linting.pep8Enabled": true, | |
"editor.renderWhitespace": "all", | |
"git.autofetch": false, | |
"git.autorefresh": false, | |
"diffEditor.ignoreTrimWhitespace": false, | |
"files.trimTrailingWhitespace": true, | |
"files.eol": "\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
[ | |
{ "keys": ["home"], "command": "move_to", "args": {"to": "bol"} } | |
,{ "keys": ["end"], "command": "move_to", "args": {"to": "eol"} } | |
,{ "keys": ["shift+end"], "command": "move_to", "args": {"to": "eol", "extend": true} } | |
,{ "keys": ["shift+home"], "command": "move_to", "args": {"to": "bol", "extend": true } } | |
] |
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
#!/usr/bin/env python | |
l = [ | |
{'id':1,'val':'foo'} | |
,{'id':2,'val':'bar'} | |
,{'id':3,'val':'zig'} | |
,{'id':4,'val':'zig'} | |
,{'id':5,'val':'bar'} | |
] | |
print l |
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
ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQCfKTPDYa2W/5b5ylM1d9ykx9WKoPjlLR5pCdhz0/+9CROsznz47TPpQ/1nfnxgKCi7FRIRjFAPwbqOIs7Qn8sDe74Y0ZKFVPBKKy8O3ZzPVbK+o8xsEtxsoadyfjQT4vpnwvsl60kMRT889nwycJVCObE6zvjeuZFRKyPS7Z6QD4hWMe15c5gC2xLsZJKObZTjPMiYTMXRc+5tbvY3pXLx0fUk3Qc+MnNUL/XjQcGLV5Kkw0OdI5VBI339s6/Uz1SpVSh1MmTbyMUhyPtWffxcZ1Lea30S0ZRN0amokWwHIEvCYFCVUkuEqs25J+yLHri/q982W34TTe52Ou/vclWf mharris@reason |
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 IPRange=function(){ | |
this.start = "192.168.1.0"; | |
this.subnetMask = "255.255.255.0"; | |
this.cidrMask = function(){ | |
mask = this.subnetMask.split("."); | |
if(mask.length != 4){ | |
throw("Precondition failed: subnet mask should only have four octets!"); | |
} | |
bits = 0; |
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
# | |
# Contains helper functions for slicing arrays in multiprocessing systems | |
# These function were based off of C macros from an HPC class and, as such, | |
# return the actual array indicies. When using Python's slice notation, | |
# you'll need to add one to blockHigh() like so: | |
# | |
# n = len(array) | |
# process(array[blockLow(i,p,n):blockHigh(i,p,n)+1] | |
# |
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
########################################################################### | |
attiny2313at16.name=ATtiny2313 @ 16 MHz | |
# The following do NOT work... | |
# attiny2313at16.upload.using=avrispv2 | |
# attiny2313at16.upload.using=Pololu USB AVR Programmer | |
# The following DO work (pick one)... | |
attiny2313at16.upload.using=arduino:arduinoisp |
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
# Generated build files | |
####################### | |
## LaTeX | |
*.aux | |
*.dvi | |
*.lof | |
*.ps | |
*.toc |
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
<html> | |
<head> | |
<script type="text/javascript" src="http://code.jquery.com/jquery-1.9.1.js"></script> | |
<script type="text/javascript"> | |
$(function(){ | |
console.log($(".tab")); | |
$(".tab").hide(); | |
$(".active").show(); | |
}); |
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
\documentclass[11pt]{article} % I prefer "article" over "amsart" for homework. "report" also looks nice | |
\usepackage{geometry} % See geometry.pdf to learn the layout options. There are lots. | |
\geometry{letterpaper} % ... or a4paper or a5paper or ... | |
\usepackage[parfill]{parskip} % Activate to begin paragraphs with an empty line rather than an indent | |
\usepackage{graphicx} % for graphics | |
\usepackage{epstopdf} % for importing PostScript graphics from GraphViz | |
\usepackage{amssymb} % math packages from AMS | |
\usepackage{amsmath} | |
\usepackage{amsthm} % for theorems and proofs |
NewerOlder