Skip to content

Instantly share code, notes, and snippets.

View Serrin's full-sized avatar

Ferenc Czigler Serrin

  • The Walt Disney Company
  • Budapest
  • 08:50 (UTC +02:00)
View GitHub Profile
@edokeh
edokeh / index.js
Last active August 7, 2026 08:05
佛祖保佑,永无 BUG
//
// _oo0oo_
// o8888888o
// 88" . "88
// (| -_- |)
// 0\ = /0
// ___/`---'\___
// .' \\| |// '.
// / \\||| : |||// \
// / _||||| -:- |||||- \
@kaioe
kaioe / Javascript: getUrlVars.snippets
Last active September 8, 2018 06:13
Javascript: getUrlVars
function getUrlVars()
{
var vars = [], hash;
var hashes = window.location.href.slice(window.location.href.indexOf('?') + 1).split('&');
for(var i = 0; i < hashes.length; i++)
{
hash = hashes[i].split('=');
hash[1] = unescape(hash[1]);
vars.push(hash[0]);
@bartholomej
bartholomej / css-media-queries-cheat-sheet.css
Last active July 31, 2026 10:01
CSS Media Query Cheat Sheet (with Foundation)
/*------------------------------------------
Responsive Grid Media Queries - 1280, 1024, 768, 480
1280-1024 - desktop (default grid)
1024-768 - tablet landscape
768-480 - tablet
480-less - phone landscape & smaller
--------------------------------------------*/
@media all and (min-width: 1024px) and (max-width: 1280px) { }
@media all and (min-width: 768px) and (max-width: 1024px) { }
@CrocoDillon
CrocoDillon / cookies.js
Last active February 11, 2024 22:42
Export your awesome module using AMD, CommonJS, Node.js or just as global.
/*
* Inspiration (well… copy pasting more or less) from:
* https://github.com/ScottHamper/Cookies/blob/0.3.1/src/cookies.js#L127-L140
*
* Thanks Scott!
*/
(function (global) {
'use strict';
var MyModule = function () {
@rwaldron
rwaldron / array.build.md
Last active January 21, 2021 18:18
Array.build(length, mapFn = undefined)
@davidjrice
davidjrice / punctuation.js
Created April 30, 2014 22:16
List of punctuation characters
var PUNCTUATION = "" +
"’'" + // apostrophe
"()[]{}<>" + // brackets
":" + // colon
"," + // comma
"‒–—―" + // dashes
"…" + // ellipsis
"!" + // exclamation mark
"." + // full stop/period
"«»" + // guillemets
@tsiege
tsiege / The Technical Interview Cheat Sheet.md
Last active July 23, 2026 07:25
This is my technical interview cheat sheet. Feel free to fork it or do whatever you want with it. PLEASE let me know if there are any errors or if anything crucial is missing. I will add more links soon.

ANNOUNCEMENT

I have moved this over to the Tech Interview Cheat Sheet Repo and has been expanded and even has code challenges you can run and practice against!






\

@sonnyp
sonnyp / XHTML5.xhtml
Last active April 18, 2019 08:48
XHTML5 template
<?xml version="1.0" encoding="utf-8"?>
<!doctype html>
<html xmlns="http://www.w3.org/1999/xhtml" lang="en">
<head>
<meta charset="UTF-8"/>
<title>TITLE</title>
<meta name="description" content="$DESCRIPTION"/>
<meta name="author" content="$AUTHOR"/>
var $_GET = new Array();
function GET() {
var url = location.search.replace("?", "").split("&");
for (var index = 0; index < url.length; index++) {
var value = url[index].split("=");
$_GET[value[0]] = value[1];
}
}
GET();