I hereby claim:
- I am bcomnes on github.
- I am bret (https://keybase.io/bret) on keybase.
- I have a public key whose fingerprint is CF24 7B7A ABD0 67AE 3DCC 320A 0BCF 329D 5622 03D9
To claim this, I am signing this object:
devices = { | |
devArduino: { | |
port: '/dev/tty.usbserial-A800ewsy' | |
function: 'stage' | |
}, | |
stageArduino: { | |
port: '/dev/tty.usbmodem3d11', | |
function: 'stage' | |
}, | |
scopeSerial: { |
I hereby claim:
To claim this, I am signing this object:
var serialport = require('serialport'); | |
var SerialPort = serialport.SerialPort; | |
var replify = require('replify'); | |
var serialPort = new SerialPort('/dev/cu.PL2303-0000101D', { | |
baudrate: 2400, | |
parser: serialport.parsers.readline('\r') | |
}); | |
serialPort.on('open', function () { |
> serialPort.list(function (err, ports) { console.log(ports) }); | |
undefined | |
> [ { comName: 'COM5', | |
manufacturer: 'Gigaware', | |
serialNumber: '', | |
pnpId: 'USB\\VID_05AD&PID_0FBA\\5&C663B7B&0&1', | |
locationId: '', | |
vendorId: '', | |
productId: '' } ] |
Date(s): July 29 Start Time: 6:00pm End Time (optional): 9:00pm Location: Esri PDX http://calagator.org/venues/202394387 Link to logo image (100 x 100 pixels) https://avatars3.githubusercontent.com/u/6692606?s=200 Link to webpage http://www.codeforportland.org Brief description (1-3 sentences) Words words words
Make issue here: https://github.com/cascadiajs/pdx.devweek.org/issues
<html> | |
<head> | |
<title>Select styles with CSS only</title> | |
<meta name="viewport" content="width=device-width, initial-scale=1"> | |
<style> | |
body { | |
background-color: #fff; | |
font-family: helvetica, sans-serif; | |
margin: 4% 10% | |
} |
arc-mac-04:samples bcomnes$ echo "20.0 490.5" > test.txt | |
arc-mac-04:samples bcomnes$ cat test.txt | |
20.0 490.5 | |
arc-mac-04:samples bcomnes$ xyconv -g test.txt | |
text: ascii text |
------------------------------------------------------------------------ | |
CS457/557 Functional Languages, Winter 2014 Homework 3 | |
------------------------------------------------------------------------ | |
> import Control.Applicative((<$>),(<*>)) | |
> import Data.List(intersperse, transpose) | |
> import Test.QuickCheck(quickCheck) | |
> import Test.QuickCheck.Arbitrary(Arbitrary, arbitrary) | |
> import Test.QuickCheck.Gen(choose, vectorOf) |
{ | |
"name": "flash", | |
"description": "", | |
"version": "0.0.0", | |
"author": { | |
"name": "Jonathan Ong", | |
"email": "me@jongleberry.com", | |
"url": "http://jongleberry.com", | |
"twitter": "https://twitter.com/jongleberry" | |
}, |
#!/bin/bash | |
# assumes a fairly recent Ubuntu - may work on Debian or others but needs testing | |
# assumes you have your .ssh/config setup to specify a user and key for the host | |
HOST=$1 | |
ssh root@${HOST} "sed -i .backup -e 's/PermitRootLogin\syes/PermitRootLogin no/' /etc/ssh/sshd_config" | |
ssh root@${HOST} "sed -i .backup -e 's/#PasswordAuthentication\syes/PasswordAuthentication no/' /etc/ssh/sshd_config" | |
ssh root@${HOST} "sed -i .backup -e 's/X11Forwarding\syes/X11Forwarding no/' /etc/ssh/sshd_config" |