Speaker images for Solidcon proposal
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 fs = require('fs'); | |
var path = require('path'); | |
var spawn = require('child_process').spawn; | |
var esformatterPath = process.argv[2]; | |
var homeDir = (process.platform === 'win32') ? process.env.HOMEPATH : process.env.HOME; | |
var atomPackagePath = path.join(homeDir, '.atom', 'packages', 'esformatter'); | |
var config; | |
var plugins; | |
var cmd; |
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>The Pips</title> | |
</head> | |
<body> | |
<button onclick="pips()">The Pips</button> | |
<script src="pips.js"></script> | |
</body> |
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
require 'rack' | |
require 'rack-legacy' | |
require 'rack-rewrite' | |
INDEXES = ['index.html','index.php', 'index.cgi'] | |
base_path = Dir.getwd | |
base_path = "/Users/andrew/Projects/oss/tal/talexample" | |
use Rack::Rewrite do |
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
canvas { | |
margin: 0 auto; | |
-moz-transform: scale(-1, 1); | |
-o-transform: scale(-1, 1); | |
-webkit-transform: scale(-1, 1); | |
filter: FlipH; | |
transform: scale(-1, 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
To make a USB souncard default: | |
1. Open `sudo nano /etc/modprobe.d/alsa-base.conf` | |
2. Comment out the following line: `#options snd-usb-audio index=-2` | |
3. Reboot | |
4. Check that USB audio is at the top of this list `cat /proc/asound/modules` |
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> | |
<title>Network Authentication Required</title> | |
<meta http-equiv="refresh" | |
content="0; url=http://raspberrypi.local/"> | |
</head> | |
<body> | |
<p>You need to <a href="http://raspberrypi.local/"> | |
configure a Wi-Fi network</a> to gain access.</p> | |
</body> |
- Save the script as
/etc/init.d/raspi-printer
- Make it executable
chmod +x /etc/init.d/raspi-printer
- Start by doing
service raspi-printer start
To run automatically, you run the update-rc.d script:
sudo update-rc.d -f raspi-printer defaults
See: http://jimmyg.org/blog/2010/python-daemon-init-script.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
<!DOCTYPE html> | |
<html> | |
<head> | |
<title>Remote</title> | |
<style type="text/css"> | |
body { | |
font-family: sans-serif; | |
font-size: 4em; | |
} | |
#wrapper { |