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 Docker = require('dockerode'); | |
var docker = new Docker({ socketPath: false, host: '192.168.59.103', port: '2375' }); | |
var optsc = { | |
'Hostname': '', | |
'User': '', | |
'AttachStdin': true, | |
'AttachStdout': true, | |
'AttachStderr': true, | |
'Tty': false, |
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
render("Hello World"); |
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
test |
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
blah |
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
thrthrt |
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 GitHubApi = require("github"); | |
var teamId = "<your user id>"; | |
var token = "<your token>"; | |
var username = "<username>"; | |
var github = new GitHubApi({version: "3.0.0"}); | |
github.authenticate({ | |
type: "oauth", | |
token: token | |
}); |
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
class PaymentsController < ApplicationController | |
def show | |
@payment = Payment.find(params[:id]) | |
@response = Remit::PipelineResponse.new( | |
request.fullpath, | |
params, | |
remit | |
) | |
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 'sinatra' | |
require 'google_oauth' | |
client = GoogleOAuth::Client.new( | |
:client_id => 'XXXX', | |
:client_secret => 'XXXX', | |
:redirect => 'http://localhost:4567/oauth2callback', | |
) | |
get '/' do | |
redirect client.authorize_url |
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
STIRLTECH@stirling-technologiess-macbook ~ | |
$ ping stirltech.com | |
PING stirltech.com (184.106.170.207): 56 data bytes | |
Request timeout for icmp_seq 0 | |
Request timeout for icmp_seq 1 | |
^C | |
--- stirltech.com ping statistics --- | |
3 packets transmitted, 0 packets received, 100.0% packet loss | |
STIRLTECH@stirling-technologiess-macbook ~ | |
$ ssh masonf@masonforest.com |
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
$ traceroute www.masonforest.com | |
traceroute to www.masonforest.com (184.106.179.10), 64 hops max, 40 byte packets | |
1 192.168.1.1 (192.168.1.1) 168.354 ms 1.276 ms 1.323 ms | |
2 * * * | |
3 ge-7-19-ur01.woburn.ma.boston.comcast.net (68.85.184.145) 9.225 ms 9.088 ms 15.147 ms | |
4 be-60-ar01.woburn.ma.boston.comcast.net (68.87.145.173) 9.598 ms 9.987 ms 14.630 ms | |
5 pos-0-0-0-0-ar01.needham.ma.boston.comcast.net (68.85.162.141) 16.265 ms 10.893 ms 14.248 ms | |
6 pos-2-5-0-0-cr01.newyork.ny.ibone.comcast.net (68.86.90.65) 46.430 ms 45.682 ms 49.340 ms | |
7 xe-11-0-0.edge1.newyork2.level3.net (4.71.186.1) 46.948 ms 46.465 ms 127.906 ms | |
8 vlan52.ebr2.newyork2.level3.net (4.69.138.254) 53.155 ms 55.335 ms 46.822 ms |
OlderNewer