The initial source comes from sdcuike/issueBlog#4
https://github.com/PacktPublishing free to download books code by Packet
https://github.com/EbookFoundation/free-programming-books Very immense
https://github.com/PacktPublishing free to download books code by Packet
https://github.com/EbookFoundation/free-programming-books Very immense
| #!/bin/sh | |
| ### | |
| # SOME COMMANDS WILL NOT WORK ON macOS (Sierra or newer) | |
| # For Sierra or newer, see https://github.com/mathiasbynens/dotfiles/blob/master/.macos | |
| ### | |
| # Alot of these configs have been taken from the various places | |
| # on the web, most from here | |
| # https://github.com/mathiasbynens/dotfiles/blob/5b3c8418ed42d93af2e647dc9d122f25cc034871/.osx |
Visit my blog or connect with me on Twitter
git init
or
| <?php | |
| /* | |
| * Plugin: StreamlineFoundation | |
| * | |
| * Class: Schedule | |
| * | |
| * Description: Provides scheduling mechanics including creating a schedule, testing if a specific moment is part of the schedule, moving back | |
| * and forth between scheduled moments in time and translating the created schedule back to a human readable form. | |
| * | |
| * Usage: ::fromCronString() creates a new Schedule class and requires a string in the cron ('* * * * *', $language) format. |
| /*Object Oriented Blackjack | |
| A Game has: Players | |
| Dealer | |
| Deck | |
| A Player / Dealer has: Score | |
| Cards | |
| A Score has: Game Logic |
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| /* | |
| Author: James Shrager (@jshrager) | |
| Intended use: Appcelerator Titanium | |
| Usage: http://www.LearningTitanium.com (@learningTi) | |
| */ | |
| var client_id = "YOUR_CLIENT_ID"; | |
| var client_secret = "YOUR_CLIENT_SECRET"; | |
| var redirectUri = 'http://YOUR_URL/foursquareCallback.php'; | |
| var ui = require('ui/ui'); |