$ brew install nginx$ vim /usr/local/etc/nginx/nginx.conf| #!/bin/bash | |
| # This script downloads xcode at a speed of your choice so that you still have usable internet. | |
| # Requires an Apple Developer account. | |
| # | |
| # command to schedule 'script' to run at 'time' using 'at' util | |
| # at <time> -f <script> | |
| getFile () { | |
| # -O use the same filename as the url, -C - resume download from end of partial file, set max 300kbps download rate | |
| params="-O -C - --limit-rate 300k" |
| /* eslint-disable class-methods-use-this */ | |
| /* This plugin changes the way __dirname and __filename behave by returning absolute | |
| dirname or filename from the *input* file instead of where the module is executed | |
| (which can change depending on the build environment). | |
| For instance, you might have the bundled file in root/dist in production while | |
| in a testing environment it may go in root/test/.tmp/mocha. | |
| root |
http://stackoverflow.com/questions/3477333/what-is-the-difference-between-post-and-get
https://www.webcodegeeks.com/html5/top-10-major-advantages-html5/
| https://gist.github.com/wofockham/63364ba0c264d103cadd#file-wdi12-interview-questions-ii-md | |
| Group B | |
| https://gist.github.com/alexwlee89/267d1e3b86f377c6eb26 | |
| Group A & C |
| Name | Project 0 | Project 0+ | Project 1 |
|---|---|---|---|
| Ben | Tic Tac Toe | Win Lane Win Game | Journal maker |
| Sylvain | Tic Tac Toe | Twister | |
| Kiah | Tic Tac Toe | wizairdbnb | |
| Alex | Tic Tac Toe | Memory | interact |
| Colin | Tic Tac Toe | Simon | my stuff |
| Keshan | Tic Tac Toe | PeerToBeer | |
| Toby | [Tic Tac Toe](http://toby |
| <?php | |
| $myClientID = "myclientid"; | |
| $MyKey = "mykey"; | |
| $xml = file_get_contents("https://api.telstra.com/v1/oauth/token?client_id={$myClientID}&client_secret={$MyKey}&grant_type=client_credentials&scope=SMS"); | |
| $json_a = json_decode($xml, true); | |
| $access_token = $json_a["access_token"]; | |
| $ch = curl_init(); | |
| curl_setopt($ch, CURLOPT_URL, "https://api.telstra.com/v1/sms/messages"); | |
| curl_setopt($ch, CURLOPT_POST, true); | |
| curl_setopt($ch, CURLOPT_RETURNTRANSFER, true); |