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
(define (re) | |
(load "bubblesort-int-list.scm")) | |
(define (sort-list origlist) | |
(define (get-first a b) | |
(if (< a b) | |
a | |
b)) | |
(define (get-second a b) | |
(if (< a b) |
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
{ | |
"metadata": { | |
"celltoolbar": "Raw Cell Format", | |
"name": "", | |
"signature": "sha256:322a2974ad58e39abb5e8cfd03bfb8a7a1dda552cc215255577037e09b5195fc" | |
}, | |
"nbformat": 3, | |
"nbformat_minor": 0, | |
"worksheets": [ | |
{ |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
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
var fs = require('fs'); | |
var path = require('path'); | |
var glob = require('glob'); | |
var async = require('async'); | |
var Client = require('./client').Client; | |
var client = new Client(); | |
function cp2remote(src, dest, callback) { | |
client.parse(dest); |
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
/* Analog proximity sensor array scanner code | |
* | |
* EE 4951W Spring 2014 | |
* Group 10: Optical Guitar | |
* Advisor: Dr. James Leger | |
* Group members: Sandra Arnold, Justin Buth, Matthew Lewis, Steffen Moeller, Anh Nguyen | |
* | |
* Target device: Teensy 2.0 | |
* Program Teensy 2.0 with this sketch using Arduino software | |
*/ |
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 logging | |
from traceback import format_exc | |
import datetime | |
from schedule import Scheduler | |
logger = logging.getLogger('schedule') | |
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
queries = { | |
activities: squel.select() | |
.from('strava_activities') | |
.field('name') | |
.field('type') | |
.field('start_date') | |
.field('distance_mi') | |
.field('pace_mins_per_mi') | |
.field('polyline') | |
.order('start_date', false) |
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
body { | |
margin-top: 40px; | |
margin-bottom: 40px; | |
} | |
.chart { | |
width: 100%; | |
height: 250px; | |
margin-top: 10px; | |
margin-bottom: 10px; |
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 <Foundation/Foundation.h> | |
@interface PTDIntelHex : NSObject | |
@property (nonatomic, strong) NSString* name; | |
+ (PTDIntelHex*)intelHexFromHexString:(NSString*)hexString; | |
+ (PTDIntelHex*)intelHexFromFileURL:(NSURL*)file; | |
- (id)initWithHexString:(NSString*)hexString; |
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
#!/usr/bin/env python3 | |
from diff_match_patch import diff_match_patch | |
from watchdog.observers import Observer | |
from watchdog.events import FileSystemEventHandler | |
import sys | |
import time | |
from os.path import abspath, dirname |