(by @andrestaltz)
If you prefer to watch video tutorials with live-coding, then check out this series I recorded with the same contents as in this article: Egghead.io - Introduction to Reactive Programming.
| <?php | |
| # Either load WordPress : http://codex.wordpress.org/Integrating_WordPress_with_Your_Website | |
| # or Manually define your url like... | |
| $siteurl = "http://www.linickx.com/wordpress"; | |
| define( 'COOKIEHASH', md5( $siteurl ) ); | |
| $cookiename = "wordpress_logged_in_" . COOKIEHASH; |
| alias sshkey="cat ~/.ssh/id_rsa.pub | pbcopy && echo 'Copied to clipboard.'" |
| /* | |
| Copyright 2014 Ivan Seidel | |
| Light controll for animations and transitions | |
| When animating 'fromElement' to 'toElement', with options: | |
| $.transition(toElement, fromElement, options); | |
| $.transition(toElement, options); | |
| $.transition(toElement); |
| chats-conditionate | |
| isomerizing-louma | |
| tipcat-preorder | |
| incipient-mumpishly | |
| xylorimbas-drosophilas | |
| disloyalties-modulates | |
| scoreboards-preselections | |
| tiptop-stummel | |
| also-subovate | |
| stimy-cathodically |
| * { | |
| margin: 0; | |
| padding: 0; | |
| box-sizing: border-box; | |
| } | |
| body { | |
| font: 13px Helvetica, Arial; | |
| } |
(by @andrestaltz)
If you prefer to watch video tutorials with live-coding, then check out this series I recorded with the same contents as in this article: Egghead.io - Introduction to Reactive Programming.
| function routes() | |
| { | |
| if [ $# -eq 0 ]; then | |
| php artisan route:list | |
| else | |
| php artisan route:list | grep ${1} | |
| fi | |
| } |
| <?php | |
| /*************************************************************************************************** | |
| * | |
| * Step 1: Save the sent file locally on the server | |
| * | |
| */ | |
| $file_name = basename($_FILES["file"]["name"]); | |
| $target_file = "images/".basename($_FILES["file"]["name"]); | |
| if (move_uploaded_file($_FILES["file"]["tmp_name"], $target_file)) { |
| <?php | |
| namespace App\Services; | |
| class TableHeaderGenerator { | |
| /** | |
| * Returns an array for the table view's header data that includes sort links | |
| * @param Array $data array of arrays with keys 'label' and 'col' | |
| * @param string $current_sort |
| Redis::connection()->del('queues:myqueue'); |