This file contains 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 | |
/** | |
* This file is part of the Nette Framework (http://nette.org) | |
* | |
* Copyright (c) 2004, 2011 David Grudl (http://davidgrudl.com) | |
* | |
* For the full copyright and license information, please view | |
* the file license.txt that was distributed with this source code. | |
*/ |
This file contains 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 | |
namespace Maite; | |
class String { | |
/** @var string */ | |
protected static $classInjection = 'Maite\Utils\Strings'; | |
/** @var string */ |
This file contains 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
/** | |
* Beholder | |
* | |
* @author Jiri "NoxArt" Petruzelka | www.noxart.cz | [email protected] | |
* @author Microsoft | |
* | |
* @filesource | |
* | |
* @link http://msdn.microsoft.com/en-us/library/windows/desktop/aa365261(v=vs.85).aspx | |
*/ |
This file contains 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
<?xml version="1.0" encoding="UTF-8"?> | |
<!DOCTYPE plist PUBLIC "-//Apple Computer//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd"> | |
<plist version="1.0"> | |
<!-- | |
- @author Michal Mikoláš <[email protected]> | |
- @author Jiri Petruzelka <[email protected]> | |
- @license CC BY <http://creativecommons.org/licenses/by/3.0/cz/> | |
--> | |
<dict> | |
<key>fileTypes</key> |
This file contains 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 | |
namespace Tacnayn\Config; | |
use Nette; | |
class Configurator extends Nette\Config\Configurator { | |
protected function getDefaultParameters() | |
{ | |
$parameters = parent::getDefaultParameters(); |
This file contains 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 | |
use Nette\Application\UI; | |
use Nette\Reflection\Method; | |
class BasePresenter extends UI\Presenter | |
{ | |
/** @var array datasets for Multipliers */ |
This file contains 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
### | |
Class managing undo/redo | |
### | |
class History | |
### | |
Properties | |
@actions [{name(string), identifier(string), undo(callback), redo(callback)}] | |
@current pointer to a current point in history list, all the lower is history and all the higher ones are future |
This file contains 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 Keys { | |
const KEY_NULL = "\xEE\x80\x80"; | |
const KEY_CANCEL = "\xEE\x80\x81"; | |
const KEY_HELP = "\xEE\x80\x82"; | |
const KEY_BACKSPACE = "\xEE\x80\x83"; | |
const KEY_TAB = "\xEE\x80\x84"; | |
const KEY_CLEAR = "\xEE\x80\x85"; | |
const KEY_RETURN = "\xEE\x80\x86"; | |
const KEY_ENTER = "\xEE\x80\x87"; |
This file contains 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
javascript:(function(){ $(".lship").each(function(){ var self = $(this); if( self.find(".ship-level").length ) { return; } var title = self.attr("title"); var level = parseInt(title ? title.match(/Lv\.(\d+)/)[1] : "0"); if( level == 0 ) { var levelSubelement = self.find(".ship_lv"); if( levelSubelement.length ) { level = parseInt(levelSubelement.text()); } } var levelElement = $("<div class='ship-level'/>").text(level); self.append(levelElement); }); if( $("#shipLevelStyles").length ) { return; } var styles = ".lship { overflow: visible !important; position: relative } " + ".ship-level { " + "content: attr(data-ship-level); padding: 1px 3px 0; color: white; background-color: rgb(180,40,0); border-radius: 4px; opacity: 0.8; " + "bottom: -3px; left: 50%; margin-left: -16px; position: absolute; " + "text-align: center; line-height: 1; text-shadow: 1px 1px 0 rgba(0,0,0,0.5); z-index: 1000; font-size: 65% " + "}"; var style = $("<style id='shipLevelStyles' />").text(styles); $("body").append(style); }()) |
OlderNewer