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
| <div class="pagination pagination-large"> | |
| <ul> | |
| <?php | |
| echo $this->Paginator->prev(__('prev'), array('tag' => 'li'), null, array('tag' => 'li','class' => 'disabled','disabledTag' => 'a')); | |
| echo $this->Paginator->numbers(array('separator' => '','currentTag' => 'a', 'currentClass' => 'active','tag' => 'li','first' => 1)); | |
| echo $this->Paginator->next(__('next'), array('tag' => 'li','currentClass' => 'disabled'), null, array('tag' => 'li','class' => 'disabled','disabledTag' => 'a')); | |
| ?> | |
| </ul> | |
| </div> |
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 config --global core.editor "'C:/Program Files/Sublime Text 2/sublime_text.exe' -w" |
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
| iframe { | |
| max-width: 100%; | |
| } |
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
| jQuery(function($) { | |
| $('form[data-async]').live('submit', function(event) { | |
| var $form = $(this); | |
| var $target = $($form.attr('data-target')); | |
| $.ajax({ | |
| type: $form.attr('method'), | |
| url: $form.attr('action'), | |
| data: $form.serialize(), |
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
| define(function (require) { | |
| var module; | |
| // Setup temporary Google Analytics objects. | |
| window.GoogleAnalyticsObject = "ga"; | |
| window.ga = function () { (window.ga.q = window.ga.q || []).push(arguments); }; | |
| window.ga.l = 1 * new Date(); | |
| // Immediately add a pageview event to the queue. |
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
| .col-ms-1, | |
| .col-ms-2, | |
| .col-ms-3, | |
| .col-ms-4, | |
| .col-ms-5, | |
| .col-ms-6, | |
| .col-ms-7, | |
| .col-ms-8, | |
| .col-ms-9, | |
| .col-ms-10, |
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
| #!/bin/bash | |
| echo -e "\nbenchmark.sh -n<number of requests> -c<number of concurrency> <URL1> <URL2> ..." | |
| echo -e "\nEx: benchmark.sh -n100 -c10 http://www.google.com/ http://www.bing.com/ \n" | |
| ## Gnuplot settings | |
| echo "set terminal png | |
| set output 'benchmark_${1}_${2}.png' | |
| set title 'Benchmark: ${1} ${2}' |
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
| public function afterFilter(){ | |
| parent::afterFilter(); | |
| if (class_exists('ConnectionManager') && class_exists('ChromePhp') && Configure::read('debug') > 1) : | |
| $logs = ConnectionManager::getDataSource('default'); | |
| $this->Oxicode->logs_console($this->request->here, array_reverse($logs->getLog())); | |
| endif; | |
| } |
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
| .col-ms-1, | |
| .col-ms-2, | |
| .col-ms-3, | |
| .col-ms-4, | |
| .col-ms-5, | |
| .col-ms-6, | |
| .col-ms-7, | |
| .col-ms-8, | |
| .col-ms-9, | |
| .col-ms-10, |
OlderNewer