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
(function(){ | |
//Shortands for global variables | |
window.win = window; | |
window.doc = win.document; | |
window.on = win.addEventListener; | |
window.rmon = win.removeEventListener; | |
//Underscore function |
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
//http://www.redblobgames.com/grids/hexagons/ | |
(function(){ | |
win.World = { | |
"map": [], | |
"xy": function(x,y){ | |
if(!World.map[x]){return false;} | |
if(this.map[x][y]){ | |
return this.map[x][y]; | |
}else{ | |
return false; |
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
(function(){ | |
var defConst = function(obj,prop,val){ | |
Object.defineProperty(obj,prop,{ | |
"value": val | |
}); | |
}; | |
var _libs = {}; |
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
<!document html> | |
<html> | |
<head> | |
<meta charset=utf-8 /> | |
<title>Převod barev</title> | |
<style> | |
input{ | |
font-family: Courier New; | |
} |
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
<!-- | |
- Very often, solution of the problem that | |
- bothers us is in fact very simple and | |
- already used in XML. | |
- ~~m93a | |
--> | |
<!-- typical html6 --> | |
<!doctype foo> | |
<html:html> |
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
<!-- | |
- | |
- Vote for this idea on http://hlasov.at/lg0i | |
- | |
--> | |
<!-- html5 with microformats --> | |
<!doctype html> | |
<html> | |
<head></head> |
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 | |
//Drobné rozšíření k PHP sessions | |
function session_exists($id=false) { | |
$sid = ''; | |
if($id) { | |
$sid = $id; | |
} elseif(session_id()) { | |
$sid = session_id(); | |
} elseif($_GET['SID']) { |
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
:: Launcher for the Windows Photo Viewer dll | |
rundll32 "%ProgramFiles%\Windows Photo Viewer\PhotoViewer.dll",ImageView_Fullscreen %~1 | |
:: "THE BEER-WARE LICENSE" (Revision 42): | |
:: <[email protected]> wrote this file. As long as you retain this notice you | |
:: can do whatever you want with this stuff. If we meet some day, and you think | |
:: this stuff is worth it, you can buy me a beer in return. |
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
//create some dummy containers & sprites | |
var container = new PIXI.Container; | |
var sprite1 = new PIXI.Sprite(texture); | |
sprite1.position = new PIXI.Point(0,0); | |
sprite1.width = 20; | |
sprite1.height = 20; | |
var sprite2 = new PIXI.Sprite(texture); | |
sprite2.position = new PIXI.Point(100,0); |
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
aeiouy | |
áéíóúý | |
a̋e̋i̋őű | |
àèìòùỳ | |
ầềồ ḕṑ ǜ ừ ằ | |
ȁȅȉȍȕ | |
ăĕĭŏŭy̆ | |
ắ ằ ẳ ẵ ặ ḝ | |
ȃȇȋȏȗ | |
ǎěǐǒǔy̌ |
OlderNewer