-
Install
local-ssl-proxy
:npm install local-ssl-proxy
-
Start
local-ssl-proxy
on port 443:sudo local-ssl-proxy --source 443 --target 80
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 ruby | |
def host_name(line='') | |
matches = /_ssh._tcp.\s*(.*)$/.match(line) | |
matches[1] unless matches.nil? || matches[1].nil?# || !/ /.match(matches[1]).nil? | |
end | |
TIMEOUT_SEC = 1 | |
read_results = Thread.new do |
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
andrew at andrewn-mbp in ~/Projects/resinos/johnny-five-example on alpine▲ | |
$ rdt push --source . | |
(node:22168) DeprecationWarning: Using Buffer without `new` will soon stop working. Use `new Buffer()`, or preferably `Buffer.from()`, `Buffer.allocUnsafe()` or `Buffer.alloc()` instead. | |
Reporting discovered devices | |
? select a device resin.local (192.168.178.45) | |
* Building.. | |
- Stopping and Removing any previous 'resin-johnny-five-example' container | |
- Building new 'resin-johnny-five-example' image | |
Step 1 : FROM resin/raspberrypi2-alpine-node:5-edge | |
---> d174973cdbb3 |
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
$ rdt push --source . | |
(node:16932) DeprecationWarning: Using Buffer without `new` will soon stop working. Use `new Buffer()`, or preferably `Buffer.from()`, `Buffer.allocUnsafe()` or `Buffer.alloc()` instead. | |
Reporting discovered devices | |
? select a device resin.local (192.168.178.45) | |
* Building.. | |
- Stopping and Removing any previous 'resin-johnny-five-example' container | |
- Building new 'resin-johnny-five-example' image | |
Step 1 : FROM resin/raspberrypi2-alpine-node:5-edge | |
---> d174973cdbb3 | |
Step 2 : RUN apk add --no-cache wiringpi |
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
$ rdt push --source . | |
(node:5153) DeprecationWarning: Using Buffer without `new` will soon stop working. Use `new Buffer()`, or preferably `Buffer.from()`, `Buffer.allocUnsafe()` or `Buffer.alloc()` instead. | |
Reporting discovered devices | |
? select a device resin.local (192.168.178.45) | |
* Building.. | |
- Stopping and Removing any previous 'resin-johnny-five-example' container | |
- Building new 'resin-johnny-five-example' image | |
Step 1 : FROM resin/raspberrypi2-alpine-node:edge | |
edge: Pulling from resin/raspberrypi2-alpine-node | |
237ca8699e5e: Pull complete |
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
Reporting discovered devices | |
? select a device resin.local (192.168.178.45) | |
? Select a container /happy-sad-buttons (46b6bcd3a9f) - Restarting (1) Less than a second ago | |
# gpio | |
/bin/sh: 1: gpio: not found | |
# Connection to 192.168.178.45 closed. | |
andrew at andrewn-mbp in ~/Projects/personal/happy-sad-buttons/embedded on master* | |
$ rdt push --source . | |
(node:70517) DeprecationWarning: Using Buffer without `new` will soon stop working. Use `new Buffer()`, or preferably `Buffer.from()`, `Buffer.allocUnsafe()` or `Buffer.alloc()` instead. | |
Reporting discovered devices |
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
<!doctype html> | |
<html> | |
<head> | |
<meta charset="utf-8"> | |
<title>Taxfix Question Editor</title> | |
<link href="https://fonts.googleapis.com/css?family=Roboto" rel="stylesheet"> | |
</head> | |
<body> | |
<div id='root'> | |
</div> |
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
<!DOCTYPE html> | |
<html> | |
<head> | |
<style type="text/css"> | |
#strokes { | |
stroke: red; | |
} | |
#fills { | |
fill: red; | |
} |
sudo pico /etc/apt/sources.list.d/source.list
Paste in deb-src http://archive.raspbian.org/raspbian/ jessie main contrib non-free rpi
-
sudo apt-get update
-
apt-get source connman
-
cd connman-1.21
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 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; |