This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| www-data @ access.office.nodesnoc.net [ /home/kj/www/slimbooth/htdocs/app ] (master=) | |
| -> pico app_controller.php | |
| www-data @ access.office.nodesnoc.net [ /home/kj/www/slimbooth/htdocs/app ] (master *=) | |
| -> git add . && git commit -m "bumb" | |
| [master c83b165] bumb | |
| 1 files changed, 1 insertions(+), 1 deletions(-) | |
| www-data @ access.office.nodesnoc.net [ /home/kj/www/slimbooth/htdocs/app ] (master>) | |
| -> git push | |
| Counting objects: 7, done. | |
| Delta compression using up to 4 threads. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <?php | |
| /** | |
| * Description | |
| * | |
| * Copyright 2012, Nodes.dk. All Rights Reserved. | |
| * | |
| * @author Kasper Jensen <kj@nodes.dk> | |
| * @created 03-13-2012 04:39 PM | |
| */ | |
| class MapPoint extends AppModel { |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| function test(){ | |
| return; | |
| } | |
| console.log(test()) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| $(document).ready(function () { | |
| var popup_upload = { | |
| body:'<div class="popup-in popup-upload ie-pie"><div class="ptop ie-pie"><h2>Last opp et bilde</h2><div class="close"><span>Lukk</span></div></div><div class="pcontent"><div class="wrap-pic"></div><div class="wrap-btn"><h3>Last opp et bilde for å delta i konkurransen!</h3><a href="#" role="button" class="btn ie-pie">Velg bilde fra galleri</a><div class="sep"><span>eller</span></div><a class="btn btn-pre btn-pre-upload ie-pie" href="#"><input type="file"/>Last opp nytt bilde</a></div><div class="wrap-textarea"><textarea cols="1" rows="1" class="ie-pie">Fortell oss hvorfor du elsker Nutrisse...</textarea></div><a href="#" role="button" class="btn btnsubmit ie-pie">Delta</a></div></div>' | |
| }; | |
| var popup_upload = FBPopup({ | |
| body:popup_upload.body, | |
| show:false, | |
| pid:'popup-upload', |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| web01 - ok | |
| web02 - ok | |
| web03 - ok, error | |
| web07 - ok, error | |
| web08 - ok | |
| web10 - ok | |
| web11 - ok | |
| web12 - ok, error, error | |
| web13 - ok | |
| web14 - ok |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| git live | |
| Welcome to Nodes git live utility | |
| This utility will guide you through the following | |
| 1) Ask for release size (major | minor | patch) [See: http://semver.org/] | |
| 2) git flow release start | |
| 3) git flow release finish | |
| 3) git push $remote master:production |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Configure::write('Assets.ImageSize.suitcaseImage191×175', array( | |
| 'name' => 'suitcaseImage191×175', | |
| 'callback' => function($Image) { | |
| $Image->applyFilter('resize', array('width' => 0, 'height' => 175)); | |
| if($Image->getImageWidth() > 191) { | |
| $Image->applyFilter('resize', array('width' => 191, 'height' => 0)); | |
| } | |
| $Image->applyFilter('canvas', array('width' => $Image->getImageWidth(), 'height' => $Image->getImageHeight())); | |
| } | |
| )); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Configure::write('Assets.ImageSize.mini_cirle_image', array( | |
| 'name' => 'mini_cirle_image', | |
| 'callback' => function($Image) { | |
| $Image->applyFilter('resize', array('width' => 0, 'height' => 16)); | |
| if($Image->getImageWidth() > 16) { | |
| $Image->applyFilter('resize', array('width' => 16, 'height' => 0)); | |
| } | |
| $Image->applyFilter('canvas', array('width' => 16, 'height' => 16)); | |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Configure::write('Assets.ImageSize.big_gift_distort', array( | |
| 'name' => 'price', | |
| 'callback' => function($Image) { | |
| $maskPath = 'theme/jdag/img/mask/big_package_mask.png'; | |
| $mask = new Imagick($maskPath); | |
| $Image->applyFilter('resize', array('width' => 0, 'height' => 270)); | |
| if($Image->getImageWidth() > 256) { | |
| $Image->applyFilter('resize', array('width' => 256, 'height' => 0)); | |
| } |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Configure::write('Assets.ImageSize.cirle_image', array( | |
| 'name' => 'profilePicture', | |
| 'callback' => function($Image) { | |
| $Image->applyFilter('resize', array('width' => 0, 'height' => 44)); | |
| if($Image->getImageWidth() > 44) { | |
| $Image->applyFilter('resize', array('width' => 44, 'height' => 0)); | |
| } | |
| $Image->applyFilter('canvas', array('width' => 44, 'height' => 44)); | |