This gist is part of a blog post. Check it out at:
http://jasonrudolph.com/blog/2011/08/09/programming-achievements-how-to-level-up-as-a-developer
This gist is part of a blog post. Check it out at:
http://jasonrudolph.com/blog/2011/08/09/programming-achievements-how-to-level-up-as-a-developer
| if (!empty($this->data)) { | |
| $redirect = array( | |
| 'controller' => '{controller}', | |
| 'action' => '{action}' | |
| ); | |
| foreach ($this->data as $key => $value) { | |
| $redirect[$key] = $value; | |
| } | |
| $this->redirect($redirect); | |
| } |
| /* | |
| * NAME | |
| * | |
| * statistics-distributions.js - JavaScript library for calculating | |
| * critical values and upper probabilities of common statistical | |
| * distributions | |
| * | |
| * SYNOPSIS | |
| * | |
| * |
| #!/usr/bin/env sh | |
| ## | |
| # This is script with usefull tips taken from: | |
| # https://github.com/mathiasbynens/dotfiles/blob/master/.osx | |
| # | |
| # install it: | |
| # curl -sL https://raw.github.com/gist/2108403/hack.sh | sh | |
| # |
| <a id="rc-4fb98b6" class="rafl" href="http://www.rafflecopter.com/rafl/display/4fb98b6/" rel="nofollow">a Rafflecopter giveaway</a> | |
| <script src="//d12vno17mo87cx.cloudfront.net/embed/rafl/cptr.js"></script> |
| # BEGIN WordPress | |
| <IfModule mod_rewrite.c> | |
| RewriteEngine On | |
| RewriteBase / | |
| RewriteRule ^index\.php$ - [L] | |
| RewriteCond %{REQUEST_FILENAME} !-f | |
| RewriteCond %{REQUEST_FILENAME} !-d | |
| RewriteRule . /index.php [L] | |
| </IfModule> |
| // Slideshow pagination | |
| .slideshow-pagination { | |
| overflow:auto; | |
| margin:10px 0px; | |
| height:75px; | |
| .pagination { | |
| li { |
| <!-- Missing the beginning of the image tag "<img": --> | |
| <a href="http://www.burnanenergyjournal.com/"> src="http://ens-newswire.com/wp-content/uploads/2013/06/BURN-Grid-Ad11.jpg" width="728" height="90" /></a> | |
| <!-- Should be: --> | |
| <a href="http://www.burnanenergyjournal.com/"><img src="http://ens-newswire.com/wp-content/uploads/2013/06/BURN-Grid-Ad11.jpg" width="728" height="90" /></a> |
| .login h1 a { | |
| background-image: url(../images/w-logo-blue.png?ver=20131202); | |
| background-image: none, url(../images/wordpress-logo.svg?ver=20131107); | |
| background-size: 80px 80px; | |
| background-position: center top; | |
| background-repeat: no-repeat; | |
| color: #999; | |
| height: 80px; | |
| font-size: 20px; | |
| font-weight: 400; |
| #content { | |
| background-color: #1F4198 !important; | |
| } |