Each of these commands will run an ad hoc http static server in your current (or specified) directory, available at http://localhost:8000. Use this power wisely.
$ python -m SimpleHTTPServer 8000| #!/bin/bash | |
| # To run do: | |
| # wget https://gist.github.com/raw/850359/ea02e22f021b7ebf2f602811461677ab4a3f2a9e/bootstrap.sh && chmod +x bootstrap.sh && ./bootstrap.sh && source ~/.profile | |
| # | |
| # Based on Amazon EC2 AMI ID ami-ccf405a5 Ubuntu Server 10.10 | |
| # This script will: | |
| # * install/config apache2 | |
| # * install mod_wsgi | |
| # * install/config nginx |
Each of these commands will run an ad hoc http static server in your current (or specified) directory, available at http://localhost:8000. Use this power wisely.
$ python -m SimpleHTTPServer 8000| // License: MIT, feel free to use it! | |
| const Intercom = require('intercom-client'); | |
| const appId = 'APP_ID' | |
| const apiKey = 'APP_KEY' | |
| const client = new Intercom.Client(appId, apiKey); | |
| const async = require('async-q') | |
| //REF: https://developers.intercom.com/reference#iterating-over-all-users | |
| //WARNING: you can only have one scroll working at once. you need to wait for that scroll to clear to try again |