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 | |
| s::start(); | |
| function panelUser() { | |
| $cookie = cookie::get('auth'); | |
| if(!$cookie) return false; | |
| $info = s::get($cookie); |
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 kirbytextExtended extends kirbytext { | |
| function __construct($text, $markdown=true) { | |
| parent::__construct($text, $markdown); | |
| $this->addTags('thumb'); | |
| $this->addAttributes('crop', 'quality'); | |
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 | |
| /* | |
| Kirby CMS Trimmed & lowercase parser | |
| Install: | |
| Drop this php file in your plugins folder. It's done ! | |
| Usage : | |
| <section role="main" class="<?php echo trimmed($page->title())?>"> |
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
| #!/usr/bin/env bash | |
| # Usage: {script} DIRECTORY [ PREFIX ] | |
| # | |
| # --help, h Displays this help | |
| # | |
| # Report bugs to Henrique Moody <[email protected]> | |
| # | |
| _help() | |
| { |
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
| #!/usr/bin/env bash | |
| # Usage: {script} DIRECTORY | |
| # Find PHP's commented code and remove then. | |
| # | |
| # --help, -h Displays this help | |
| # | |
| # Report bugs to Henrique Moody <[email protected]> | |
| # | |
| declare -r SCRIPT_NAME=$(basename ${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
| // Photoshop Script to Create iPhone Icons from iTunesArtwork | |
| // | |
| // WARNING!!! In the rare case that there are name collisions, this script will | |
| // overwrite (delete permanently) files in the same folder in which the selected | |
| // iTunesArtwork file is located. Therefore, to be safe, before running the | |
| // script, it's best to make sure the selected iTuensArtwork file is the only | |
| // file in its containing folder. | |
| // | |
| // Copyright (c) 2010 Matt Di Pasquale | |
| // Added tweaks Copyright (c) 2012 by Josh Jones http://www.appsbynight.com |
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 | |
| /** | |
| * Plugin Name: T5 Preset editor post content | |
| * Description: Default text for post content. | |
| * Author: Thomas Scholz | |
| * Author URI: http://toscho.de | |
| * Version: 2012.04.17.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
| <?php | |
| class kirbytextExtended extends kirbytext { | |
| function __construct($text=false, $markdown=true, $smartypants=true { | |
| parent::__construct($text, $markdown, $smartypants); | |
| // define custom tags | |
| $this->addTags('figure'); |