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 options = { | |
'method': 'POST', | |
'hostname': "apipipi.now.sh", | |
'path': "/api/enpoint1", | |
'headers': { | |
'Content-Type': 'application/json' | |
}, | |
'maxRedirects': 20 | |
}; | |
var req = require('https').request(options); |
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
<WebView | |
source={{ | |
uri: 'https://web.whatsapp.com/', | |
}} | |
userAgent={'Mozilla/5.0 (Macintosh; Intel Mac OS X 10_13_5) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/11.1.1 Safari/605.1.15'} | |
/> |
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
// don't wait for a response | |
const https = require('https'); | |
let requestAndForget = async (host, path, message) => { | |
message = JSON.stringify(message); | |
var options = { | |
hostname: host, | |
method: 'POST', | |
path: path, | |
headers: { | |
'Content-Type': 'application/json', |
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
you may download it via powershell | |
wget "http://dl.google.com/chrome/install/375.126/chrome_installer.exe" -outfile "chrome_installer.exe" |
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 a = { | |
"members" : { | |
"userId1" : { | |
"team" : "team1", | |
"team_id" : "teamId1", | |
"url" : "https://team1.slack.com/", | |
"user" : "name1", | |
"user_id" : "userId1" | |
}, | |
"userId2" : { |
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
document.documentElement.style.setProperty('--your-variable', '#YOURCOLOR'); |
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
// Place your key bindings in this file to overwrite the defaults | |
[ | |
// FOLD START | |
{ | |
"key": "cmd+alt+ctrl+up", | |
"command": "editor.foldRecursively", | |
"when": "editorTextFocus" | |
}, | |
{ | |
"key": "cmd+alt+ctrl+down", |
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
ap-southeast-1a d2.8xlarge ecpu:116 vcpu:36 monthly:64.8 max:64.8 price_count:61 --> 0.558620689655$/month/ecpu | |
ap-southeast-1b d2.8xlarge ecpu:116 vcpu:36 monthly:64.8 max:64.8 price_count:61 --> 0.558620689655$/month/ecpu | |
eu-central-1b c4.large ecpu:8 vcpu:2 monthly:12.264192 max:12.744 price_count:1000 --> 1.533024$/month/ecpu | |
eu-central-1a c4.large ecpu:8 vcpu:2 monthly:12.91104 max:14.4 price_count:1000 --> 1.61388$/month/ecpu | |
us-west-2c c3.large ecpu:7 vcpu:2 monthly:11.6166153846 max:12.024 price_count:117 --> 1.65951648352$/month/ecpu | |
us-west-2b c3.large ecpu:7 vcpu:2 monthly:11.7594853273 max:12.456 price_count:886 --> 1.67992647533$/month/ecpu | |
us-west-2a c3.large ecpu:7 vcpu:2 monthly:11.848536 max:12.888 price_count:1000 --> 1.692648$/month/ecpu | |
us-west-2b c3.xlarge ecpu:14 vcpu:4 monthly:23.814072 max:25.92 price_count:1000 --> 1.70100514286$/month/ecpu | |
us-west-2b c3.8xlarge ecpu:108 vcpu:32 monthly:186.467976 max:191.16 price_count:1000 --> 1.72655533333$/month/ecpu | |
us-west-2c c3.xlarge ecpu:14 v |
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
// Place your key bindings in this file to overwrite the defaults | |
[ | |
{ "key": "ctrl+h", "command": "workbench.view.search" }, | |
{ "key": "cmd+alt+up", "command": "editor.action.copyLinesUpAction", | |
"when": "editorTextFocus && !editorReadonly" }, | |
{ "key": "cmd+alt+down", "command": "editor.action.copyLinesDownAction", | |
"when": "editorTextFocus && !editorReadonly" }, | |
{ "key": "cmd+k", "command": "editor.action.nextSelectionMatchFindAction", |
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
/************************************************* | |
* This is a simple Monte Carlo simulation to see | |
* whether we should | |
* go for X BIG deal and/or Y SMALL deals. | |
* | |
* What is the best blend? | |
* | |
* Author: Ido Green | plus.google.com/+greenido | |
* Date: 16 July 2013 | |
* |
NewerOlder