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
// Fisher-Yates shuffle algorithm: http://bost.ocks.org/mike/shuffle/ | |
function shuffle(array) { | |
var m = array.length, t, i; | |
// while there remain elements to shuffle | |
while (m) { | |
// pick a remaining element | |
i = Math.floor(Math.random() * m--); | |
// and swap it with the current element | |
t = array[m]; | |
array[m] = array[i]; |
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 | |
function obrazki($tag) { | |
$dir = './images/foto'; | |
if (is_dir($dir)) { | |
if ($dir_open = opendir($dir)) { | |
while ($file = readdir($dir_open)) { | |
if ($file == "." || $file == "..") continue; | |
$file_tag = substr($file,0,strlen($file)-7); | |
if ($file_tag == $tag) $tab[] = $file; | |
} |
If you forgot about any of these terms, go to the Advanced Search page and be happy.
Either/or -- search for pages containing any of phrases
To check out and include:
- http://webdevchecklist.com/
- https://asafaweb.com/
- https://www.owasp.org/index.php/XSS_(Cross_Site_Scripting)_Prevention_Cheat_Sheet
- http://jonassebastianohlsson.com/specificity-graph/
A list of elements that needs to be defined for the website to be ready for big action.
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
// 16 + 24 @ 1/2 | |
// 15 + 20 @ 1/2 | |
// 16 + 20 @ 1/2 | |
scale = { | |
main: 16, | |
secondary: 20, | |
fraction: 1/2, | |
measurements: [], | |
create: function(greater, lesser) { |