I hereby claim:
- I am faabiosr on github.
- I am faabiosr (https://keybase.io/faabiosr) on keybase.
- I have a public key ASC6n1ePj-izxZPgwl-29JhOKTXERphHv8yxv1_cG-jHAgo
To claim this, I am signing this object:
| https://github.com/docker/for-win/issues/14187#issuecomment-2586703144 | |
| https://github.com/docker/for-win/issues/14527 |
| #!/bin/bash | |
| # Install `lb` | |
| function main { | |
| local p="install: error:" | |
| # check that required one of the commands are installed before doing anything. | |
| if command -v curl &> /dev/null; then | |
| cmd="curl -sSL" | |
| elif command -v wget &> /dev/null; then |
| package main | |
| import ( | |
| "context" | |
| "errors" | |
| "fmt" | |
| "os/signal" | |
| "syscall" | |
| "time" |
I hereby claim:
To claim this, I am signing this object:
| @echo off |
| # time out settings | |
| proxy_connect_timeout 159s; | |
| proxy_send_timeout 600; | |
| proxy_read_timeout 600; | |
| proxy_buffer_size 64k; | |
| proxy_buffers 16 32k; | |
| proxy_busy_buffers_size 64k; |
| var Push = require('Push'); | |
| Push.addEventListener('register',function(e){ | |
| // Register push notification. | |
| }); | |
| Push.addEventListener('received',function(e){ | |
| Titanium.Media.vibrate(); | |
| var dialog = Ti.UI.createAlertDialog({ |
| function Push(){ | |
| this._listeners = new Object(); | |
| this._appToken = ''; | |
| }; | |
| Push.prototype.register = function(e){ | |
| this._appToken = e.deviceToken; | |
| this.fireEvent('register', e); | |
| }; |
| var RestClient = require('/libs/RestClient'); | |
| rest = new RestClient('YOUR API KEY'); | |
| rest.get('/users/10',function(result){ | |
| result.error ? alert('Error!') : alert(result.id); | |
| }); |
| function RestClient(apiKey){ | |
| this.apiKey = apiKey; | |
| this.get = function(url,callback){ | |
| var request = Ti.Network.createHTTPClient({ | |
| timeout: 20000 | |
| }); | |