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 | |
$key = "La1az>T.}+w:uMoZ"; // CHANGE THIS STRING | |
$code = md5($_SERVER['REMOTE_ADDR'].$_SERVER['HTTP_HOST'].$key); | |
$cookie = isset($_COOKIE['l7code']) ? $_COOKIE['l7code'] : FALSE ; | |
$ignored_uri = array(); | |
$ignore = false; | |
foreach($ignored_uri as $u){ |
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
function animate(selector, animation, after, reset){ | |
var $selector = $(selector); | |
setTimeout(function(){ | |
if(typeof reset == 'undefined'){ | |
reset = true; | |
} | |
$selector.addClass('animated '+animation).show(); | |
if(typeof after != 'undefined'){ |
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
(function() { | |
var hidden = "hidden"; | |
// Standards: | |
if (hidden in document) | |
document.addEventListener("visibilitychange", onchange); | |
else if ((hidden = "mozHidden") in document) | |
document.addEventListener("mozvisibilitychange", onchange); | |
else if ((hidden = "webkitHidden") in document) | |
document.addEventListener("webkitvisibilitychange", onchange); |
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
if not "%minimized%"=="" goto :minimized | |
set minimized=true | |
start /min cmd /C "%~dpnx0" | |
goto :EOF | |
:minimized | |
F: | |
cd F:\my_directory\my_vagrant | |
vagrant up |
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
FOR /F "skip=2 tokens=2,*" %%A IN ('reg.exe query "HKEY_CLASSES_ROOT\Applications\PhpStorm.exe\shell\open\command" /ve') DO ( SET PHPSTORM_PATH=%%B ) | |
SET PHPSTORM_PATH=%PHPSTORM_PATH:"%1"=% | |
START "" "%PHPSTORM_PATH%" %~dp0 |
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
function slug($title, $separator = '-', $ascii_only = FALSE) | |
{ | |
if ($ascii_only === TRUE) | |
{ | |
// Transliterate non-ASCII characters | |
$title = _transliterate_to_ascii($title); | |
// Remove all characters that are not the separator, a-z, 0-9, or whitespace | |
$title = preg_replace('![^'.preg_quote($separator).'a-z0-9\s]+!', '', strtolower($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
image: php:7.3-fpm | |
pipelines: | |
default: | |
- step: | |
name: Node Build | |
image: node:14.15 | |
caches: | |
- node | |
script: |
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
import kaboom from "kaboom"; | |
const k = kaboom({ | |
canvas: document.getElementById('canvas'), | |
}) | |
k.loadSpriteAtlas("./assets/sprites/Tileset.png", { | |
'traps': { | |
x: 0, | |
y: 0, |
This file has been truncated, but you can view the full file.
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
INSERT INTO cities_details(post_code, val, voivodeship, county, community) VALUES ('00-002', 'Warszawa', ' mazowieckie', ' Warszawa', ' Warszawa'); | |
INSERT INTO cities_details(post_code, val, voivodeship, county, community) VALUES ('00-003', 'Warszawa', ' mazowieckie', ' Warszawa', ' Warszawa'); | |
INSERT INTO cities_details(post_code, val, voivodeship, county, community) VALUES ('00-004', 'Warszawa', ' mazowieckie', ' Warszawa', ' Warszawa'); | |
INSERT INTO cities_details(post_code, val, voivodeship, county, community) VALUES ('00-005', 'Warszawa', ' mazowieckie', ' Warszawa', ' Warszawa'); | |
INSERT INTO cities_details(post_code, val, voivodeship, county, community) VALUES ('00-006', 'Warszawa', ' mazowieckie', ' Warszawa', ' Warszawa'); | |
INSERT INTO cities_details(post_code, val, voivodeship, county, community) VALUES ('00-007', 'Warszawa', ' mazowieckie', ' Warszawa', ' Warszawa'); | |
INSERT INTO cities_details(post_code, val, voivodeship, county, community) VALUES ('00-008', 'Warszawa', ' mazowieckie', ' Warszawa', ' |