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 request = require('request'); | |
var WebSocketClient = require('websocket').client; | |
request('http://localhost:9000/json', function (err, response, body) { | |
// Read in the body contents as JSON | |
var response = JSON.parse(body); | |
// for some reason the following doesn't include the host name! | |
var ws_uri = response[0]['webSocketDebuggerUrl']; | |
// so we have to fix it... | |
var ws_uri = [ws_uri.slice(0,5), 'localhost:9000', ws_uri.slice(5, ws_uri.length)].join('') |
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
NEW: | |
Object { | |
anchor: "" | |
authority: "chrome-extension:" | |
directory: "//" | |
file: "127.0.0.1:8090" | |
host: "chrome-extension" | |
href: "://chrome-extension" | |
id: "://chrome-extension:" |
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
@interface MyAmazingViewController () <> { | |
BOOL isInGrid; | |
} | |
@implementation MyAmazingViewController | |
- (void)myCommonFunction:(NSIndexPath *)cellPath { | |
if (isInGrid) { | |
UICollectionViewCell *myCell = [self collectionView:self.grid cellForItemAtIndexPath:cellPath]; | |
myCell.someProperty = YES; |
![electron-focus.gif](https://gist.github.com/bnookala/818785874346f7b6775df4fcc1d4cd5c/raw/9264bafb2258b7300606d652e5f0bcda25d9114d/electron-focus.gif)
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
[0550:0128][2016-06-14T15:38:23]i001: Burn v3.7.4029.0, Windows v10.0 (Build 14352: Service Pack 0), path: C:\Users\bhargav\.windows-build-tools\BuildTools_Full.exe, cmdline: '/NoRestart /S /L log.txt -burn.unelevated BurnPipe.{3FB16E5F-DFCE-4474-99F6-8631522A40AD} {ED76E17D-55C8-42FA-943C-DDF4E4725AF3} 6764' | |
[0550:0128][2016-06-14T15:38:23]i000: Initializing numeric variable 'RebootRequested' to value '0' | |
[0550:0128][2016-06-14T15:38:23]i000: Initializing numeric variable 'ExecuteSecondaryInstaller' to value '0' | |
[0550:0128][2016-06-14T15:38:23]i000: Initializing string variable 'BundleProgressKey' to value 'Software\Microsoft\VisualStudio\14.0\Setup\BuildTools\Full' | |
[0550:0128][2016-06-14T15:38:23]i000: Initializing string variable 'SetupFeedKey' to value 'Software\Microsoft\VisualStudio\14.0\Setup\BuildTools\Full' | |
[0550:0128][2016-06-14T15:38:23]i000: Initializing numeric variable 'LicenseFwlinkId' to value '614950' | |
[0550:0128][2016-06-14T15:38:23]i000: Initializing numeric variable 'MoreLanguageFwlinkId' t |
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
Aaron Ng | |
bob | |
so apparently in dallas they used a drone to take out the shooter because it wasn't safe to enter the garage where he was barricaded for hours | |
it's the first use against a us civilian on us soil i think | |
Tammy Tran | |
tammytran | |
That's pretty awesome I mean the whole situation is opposite of awesome. But to see technology used to protect people | |
Aaron Ng |
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
// The root dialog of our bot simply just jumps straight into the | |
// business logic of paying a fine. | |
bot.dialog('/', function (session, args) { | |
session.beginDialog('listFines'); | |
}); | |
// Simple three step dialog to list 'fines' that a user has received, and allow | |
// a user to 'pay' them. | |
bot.dialog('listFines', [ | |
function (session, args) { |
I hereby claim:
- I am bnookala on github.
- I am bnookala (https://keybase.io/bnookala) on keybase.
- I have a public key ASA1J4OAvdrLwWdRCpnvib0GI--BTGVnVtouJT7ota4buAo
To claim this, I am signing this object:
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
HLD path not specified, going to run fab install in current dir | |
time="15-11-2019 18:15:15" level=info msg="fab version 0.17.0" | |
time="15-11-2019 18:15:15" level=info msg="🔍 Using git: /usr/bin/git" | |
time="15-11-2019 18:15:15" level=info msg="🔍 Using helm: /usr/local/bin/helm" | |
time="15-11-2019 18:15:15" level=info msg="🔍 Using sh: /bin/sh" | |
time="15-11-2019 18:15:15" level=info msg="🔍 Using curl: /usr/bin/curl" | |
time="15-11-2019 18:15:15" level=info msg="👉 Initializing Helm" | |
Error: Error loading component in path ./ | |
Usage: | |
fab install [flags] |