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. |
| <?php | |
| /* | |
| * | |
| * Wrapper script for hitting Glip Webhooks | |
| * | |
| * @usage: | |
| * Include this file and call like so: | |
| * | |
| * require_once("GlipPost.php"); |
| <?php | |
| // Check this request has a GitLab header | |
| function checkHeader($gitlab_header) { | |
| if (!isset($gitlab_header)) { | |
| throw new Exception("Can't be accessed directly."); | |
| } | |
| } | |
| try { checkHeader($_SERVER['HTTP_X_GITLAB_EVENT']); } |
| /*Object Oriented Blackjack | |
| A Game has: Players | |
| Dealer | |
| Deck | |
| A Player / Dealer has: Score | |
| Cards | |
| A Score has: Game Logic |