Skip to content

Instantly share code, notes, and snippets.

View Serrin's full-sized avatar

Ferenc Czigler Serrin

  • Budapest
View GitHub Profile
@MohannadNaj
MohannadNaj / alias.bat.md
Created February 18, 2018 01:26
My windows aliases list.

My windows aliases list.

Installation

1- Attaching Aliases to the native command line:

Steps in this stackoverflow answer.Quoting:

you may make the alias(es) persistent with the following steps,

@davidpiesse
davidpiesse / tailwind_md_all_colours.js
Last active February 25, 2025 16:31
A colour set for Tailwind CSS that include all Material Design Colours, shades, accents and contrast colours
// https://davidpiesse.github.io/tailwind-md-colours/
//
//Notes
//
//All colours are generated from Material Design Docs
//Colours have a base, a set of shades (50-900) accent colours
//In addition a companion set of contrast colours are included for colouring text / icons
// Example usage
// class="w-full bg-red-600 text-red-600-constrast"
@timvisee
timvisee / falsehoods-programming-time-list.md
Last active July 6, 2025 08:55
Falsehoods programmers believe about time, in a single list

Falsehoods programmers believe about time

This is a compiled list of falsehoods programmers tend to believe about working with time.

Don't re-invent a date time library yourself. If you think you understand everything about time, you're probably doing it wrong.

Falsehoods

  • There are always 24 hours in a day.
  • February is always 28 days long.
  • Any 24-hour period will always begin and end in the same day (or week, or month).
@meain
meain / loading_messages.js
Last active July 5, 2025 14:25
Funny loading messages
export default [
"Reticulating splines...",
"Generating witty dialog...",
"Swapping time and space...",
"Spinning violently around the y-axis...",
"Tokenizing real life...",
"Bending the spoon...",
"Filtering morale...",
"Don't think of purple hippos...",
"We need a new fuse...",
@paulfarino
paulfarino / grid.scss
Created November 10, 2017 04:35
Simple CSS Grid, Grid
.wrapper {
display: grid;
grid-template-columns: repeat(12, 1fr);
grid-gap: 10px;
}
@for $i from 1 through 12 {
.col-#{$i} {
grid-column: span #{$i};
}
@joduplessis
joduplessis / cookie-typescript-utils.ts
Created September 12, 2017 06:50
Setting, deleting and retrieving cookies in Typescript.
@Nicd
Nicd / 42.g
Created September 8, 2017 09:18
GTLT was a 2D Brainfuck-inspired esoteric language I came up with ages ago for fun
EThe answer to life, the
universe and everything
§v >}}++++++++++!{+!v
>+++++]}++++++v>--!Q -
- - ! -
^< ^{++++++<^-------<
@jochemstoel
jochemstoel / meta-tags.md
Created September 4, 2017 07:36 — forked from whitingx/meta-tags.md
Complete List of HTML Meta Tags

Copied from http://code.lancepollard.com/complete-list-of-html-meta-tags/

Basic HTML Meta Tags

<meta charset='UTF-8'>
<meta name='keywords' content='your, tags'>
<meta name='description' content='150 words'>
<meta name='subject' content='your website's subject'>
<meta name='copyright' content='company name'>
@nuhil
nuhil / js.md
Last active July 1, 2024 20:45
Javascript Handbook
@pgaskin
pgaskin / swiper.js
Last active March 6, 2018 16:11
A simple way to detect swipes in JS.
function Swiper(el, left, right, up, down) {
var xD = null,
yD = null;
el.addEventListener("touchstart", function(ev) {
xD = ev.touches[0].clientX;
yD = ev.touches[0].clientY;
}, false);
el.addEventListener("touchmove", function(ev) {
if (!xD || !yD) return;
var xU = ev.touches[0].clientX,