As configured in my dotfiles.
start new:
tmux
start new with session name:
""" | |
Lab 16, Objective 3: | |
This project builds on the previous one. | |
Copy your final.py file to a file named final2.py, then modify final2.py to print a histogram of the word lengths. A | |
histogram is a chart with columns whose heights correspond to the data they represent. | |
Below is an example of possible output from running the updated program with the declaration.txt file: |
--- Fix the Arduino Serial Port in use Issue on OSX Mavericks (10.9) / tested on 10.9.3 | |
--- based on information from: https://github.com/jantje/arduino-eclipse-plugin/issues/129 | |
(* 5.9 /var/lock : Lock files | |
5.9.1 Purpose | |
Lock files should be stored within the /var/lock directory structure. | |
Lock files for devices and other resources shared by multiple applications, such as the serial device lock files that were originally found in either /usr/spool/locks or /usr/spool/uucp, must now be stored in /var/lock. The naming convention which must be used is "LCK.." followed by the base name of the device. For example, to lock /dev/ttyS0 the file "LCK..ttyS0" would be created. | |
[footnote 35] |
#include <EthernetBonjour.h> | |
//#include <Dns.h> | |
#include <Ethernet.h> | |
//#include <EthernetClient.h> | |
//#include <EthernetServer.h> | |
//#include <util.h> | |
#include <SPI.h> | |
//Adruino Sketch to test out wifi |
#include <Bridge.h> | |
#include <YunServer.h> | |
#include <YunClient.h> | |
#define PORT 6666 | |
YunServer server(PORT); | |
void setup() { | |
Serial.begin(115200); |
#!/usr/bin/env python2 | |
# Quick and dirty demonstration of CVE-2014-0160 by Jared Stafford ([email protected]) | |
# The author disclaims copyright to this source code. | |
import sys | |
import struct | |
import socket | |
import time | |
import select |
#!/usr/bin/env python2 | |
# Quick and dirty demonstration of CVE-2014-0160 by Jared Stafford ([email protected]) | |
# The author disclaims copyright to this source code. | |
import sys | |
import struct | |
import socket | |
import time | |
import select |
As configured in my dotfiles.
start new:
tmux
start new with session name:
# First, enable SSH in the Administration->System tab. | |
# Then log in to the device. | |
# Verify that https_crt_save is off | |
admin@RT-N66U:/tmp/home/root# nvram get https_crt_save | |
0 | |
# Enable https_crt_save and verify that it was set correctly | |
admin@RT-N66U:/tmp/home/root# nvram set https_crt_save=1 | |
admin@RT-N66U:/tmp/home/root# nvram get https_crt_save |
// references internal ContentObserver class | |
SettingsObserver observer = new SettingsObserver(new Handler()); | |
// start watching for changes | |
observer.observe(); | |
// where we do our work | |
updateSettings(); | |
// Anonymous inner class to handle watching Uris | |
class SettingsObserver extends ContentObserver { | |
SettingsObserver(Handler handler) { |
% Pie chart | |
% Author: Robert Vollmert | |
\documentclass{article} | |
\usepackage{calc} | |
\usepackage{ifthen} | |
\usepackage{tikz} | |
%%%< | |
\usepackage{verbatim} |