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
<!doctype html> | |
<html> | |
<head> | |
<title>Danielle is wonderful!</title> | |
</head> | |
<body> | |
Danielle is wonderful! | |
<script src="main.js"></script> | |
</body> | |
</html> |
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 thickness = 3; | |
const side_height = 20; | |
const len = 210; | |
const wid = 155; | |
const pole_radius = 22; | |
const pole_height = 75; | |
const screw_hole_radius = 2.5; | |
const screw_hole_separation = 189; |
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 kafkaConsumer = require('./kafka-consumer.js'); | |
kafkaConsumer.observableFor('support_calls').subscribe( (data) => dostuff.with(data) ); |
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
list_of_things.reduce(function(accumulator, link) { | |
return accumulator.then(function(results) { | |
return doSomething(link).then(function(result) { | |
results.push(result); | |
return results; | |
}); | |
}), Promise.resolve([])).then(function(results){ | |
console.log('all results', results ); | |
}); | |
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 gulp = require('gulp'); | |
var pug = require('gulp-pug'); | |
var stylus = require('gulp-stylus'); | |
var babel = require('gulp-babel'); | |
var concat = require('gulp-concat'); | |
var copy = require('gulp-copy'); | |
gulp.task('default', ['compile']); | |
gulp.task('compile', ['pug','styl','babel','img'] ); |
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
#ifndef CONFIGURATION_H | |
#define CONFIGURATION_H | |
#include "boards.h" | |
#include "macros.h" | |
//=========================================================================== | |
//============================= Getting Started ============================= | |
//=========================================================================== | |
/* |
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
#!/bin/bash | |
pins=(13 19 20 21) | |
default_power_state=1 | |
usb_hub=0 | |
usb_port=2 | |
init () { | |
for pin in ${pins[@]}; do | |
echo ${pin} > /sys/class/gpio/export |
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
.vapors { | |
z-index: -10; | |
position: absolute; | |
width: 250px; | |
height: 250px; | |
margin-left:0px; | |
background:url('data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAMgAAADICAYAAACtWK6eAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAyJpVFh0WE1MOmNvbS5hZG9iZS54bXAAAAAAADw/eHBhY2tldCBiZWdpbj0i77u/IiBpZD0iVzVNME1wQ2VoaUh6cmVTek5UY3prYzlkIj8+IDx4OnhtcG1ldGEgeG1sbnM6eD0iYWRvYmU6bnM6bWV0YS8iIHg6eG1wdGs9IkFkb2JlIFhNUCBDb3JlIDUuMC1jMDYxIDY0LjE0MDk0OSwgMjAxMC8xMi8wNy0xMDo1NzowMSAgICAgICAgIj4gPHJkZjpSREYgeG1sbnM6cmRmPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5LzAyLzIyLXJkZi1zeW50YXgtbnMjIj4gPHJkZjpEZXNjcmlwdGlvbiByZGY6YWJvdXQ9IiIgeG1sbnM6eG1wPSJodHRwOi8vbnMuYWRvYmUuY29tL3hhcC8xLjAvIiB4bWxuczp4bXBNTT0iaHR0cDovL25zLmFkb2JlLmNvbS94YXAvMS4wL21tLyIgeG1sbnM6c3RSZWY9Imh0dHA6Ly9ucy5hZG9iZS5jb20veGFwLzEuMC9zVHlwZS9SZXNvdXJjZVJlZiMiIHhtcDpDcmVhdG9yVG9vbD0iQWRvYmUgUGhvdG9zaG9wIENTNS4xIFdpbmRvd3MiIHhtcE1NOkluc3RhbmNlSUQ9InhtcC5paWQ6RTNFQjAzMzFEMTc3MTFFMTgxRjhGMzU3NThFMUNDNTciIHhtcE1NOkRvY3VtZW50SUQ9InhtcC5kaWQ6RTNFQjAzMzJEMTc3MTFFMTgxRjhG |
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
<?php | |
// -rwxr--r-- 0 jeremy users 1982 Feb 12 2003 ansi-codes.php | |
// -rwxr--r-- 0 jeremy users 1166 Feb 13 2003 ansi.php | |
function ansi_decode($ansicodes){ | |
$fontline="<font "; | |
$ansi=explode(";",$ansicodes[0]); | |
$attrib=0; | |
for($code=0;$code<count($ansi);$code++){ | |
switch ($ansi[$code]) { | |
case 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
#! /usr/bin/env php | |
# $Id: pong.phps,v 1.2 2006/01/28 14:45:22 dingo Exp $ | |
# imported via lynx -dump 2006 jdq, orig by theedge@efnet | |
<?php | |
/* | |
Jeremy Brenner 2005 | |
*/ | |
ncurses_init(); | |
ncurses_timeout(0); | |
ncurses_cbreak(); |