👁️🗨️
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 | |
| /** | |
| * Basic Excel Generator | |
| * | |
| * Usage: | |
| $data = array( | |
| array( 'cell_1_1', 'cell_1_2'), | |
| array( 'cell_2_1', 'cell_2_2') | |
| ); | |
| $excel = new ExcelMaker( $data ) ; |
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(document).ready ($) -> | |
| alert "Hello World!" | |
| return |
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 | |
| class Settings { | |
| var $values; | |
| final public static function getInstance() { | |
| static $aoInstance = null; | |
| if (is_null($aoInstance)) { | |
| $aoInstance = new Settings(); | |
| } | |
| return $aoInstance; |
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
| # Reference jQuery | |
| $ = jQuery | |
| # Adds plugin object to jQuery | |
| $.fn.extend | |
| # Change pluginName to your plugin's name. | |
| pluginName: (options) -> | |
| # Default settings | |
| settings = | |
| option1: true |
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 | |
| # | |
| lockdir=/tmp/diario_stocks.lock | |
| if mkdir "$lockdir" | |
| then | |
| echo >&2 "successfully acquired lock" | |
| # Remove lockdir when the script finishes, or when it receives a signal | |
| trap 'rm -rf "$lockdir"' 0 # remove directory when script finishes |
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
| # templates/ | |
| user-panel.php | |
| resetpass-form.php | |
| register-form.php | |
| profile-form.php | |
| ms-signup-user-form.php | |
| ms-signup-blog-form.php | |
| ms-signup-another-blog-form.php | |
| lostpassword-form.php |
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 | |
| /** | |
| * theme-my-login-custom.php | |
| */ | |
| /** | |
| * Cambiamos las plantillas por unas propias | |
| * @param string $useTemplate Plantilla encontrada | |
| * @param array $templates Plantillas buscadas |
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 | |
| $nodes = [ | |
| '1' => ['50'], | |
| '2' => ['21','53', '14'], | |
| '21' => ['53', '10', '15'] , | |
| '10' => ['14', '1'], | |
| '14' => [], | |
| '15' => ['21'], | |
| '53' => [ '14'] , |
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
| find . -type f -size +150k -name '*-original.jpeg' -exec mogrify -verbose -strip -resize 1024x1024">" -quality 80 -define jpeg:extent=140kb. {} \; |
OlderNewer