Skip to content

Instantly share code, notes, and snippets.

View LeetCodes's full-sized avatar
🎱
Choppin' caine rain, hail, sleet, or snow

LeetCodes

🎱
Choppin' caine rain, hail, sleet, or snow
View GitHub Profile
@LeetCodes
LeetCodes / index.pug
Created February 19, 2019 13:03
Logo test
- var point_count = 30;
- var circle_radius = 160;
- var pi = 3.14159;
- var n = 0;
- var dash_array = pi * circle_radius * 2;
.main
.logo
.logo__inner
ul.logo__list
@LeetCodes
LeetCodes / DC6.ksy
Created April 4, 2019 01:45 — forked from MarkKoz/DC6.ksy
Diablo II's DC6 file format described with Kaitai.
meta:
id: dc6
title: Diablo CEL 6
application: Diablo II
file-extension: dc6
license: MIT
ks-version: 0.7
encoding: ASCII
endian: le
seq:
@LeetCodes
LeetCodes / SSimSuperRes.glsl
Created April 4, 2019 01:50 — forked from igv/SSimSuperRes.glsl
To make it sharper use Mitchell params instead of Catmull-Rom (1.0/3.0, 1.0/3.0 instead of 0.0, 0.5), another less preferable option is to decrease locality. Usage: glsl-shaders="~~/SSimSuperRes.glsl"
// SSimSuperRes by Shiandow
//
// This library is free software; you can redistribute it and/or
// modify it under the terms of the GNU Lesser General Public
// License as published by the Free Software Foundation; either
// version 3.0 of the License, or (at your option) any later version.
//
// This library is distributed in the hope that it will be useful,
// but WITHOUT ANY WARRANTY; without even the implied warranty of
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU

Dreams

Various dreams on a border-style: dashed, endless, color-changing road.

Best viewed in Chrome.

A Pen by Leetcodes on CodePen.

License.

@LeetCodes
LeetCodes / stacker.scss
Created April 17, 2019 03:23 — forked from jerrylow/stacker.scss
Pure CSS Game Stacker
@import url('https://fonts.googleapis.com/css?family=VT323');
$block-gap: 8px;
$block-size: 25px;
$blocks-per-row: 7;
$blocks-color: #233f5a;
$blocks-active: #fabc7f;
$blocks-bg: #172031;
$speed: 2.5s;
@LeetCodes
LeetCodes / dat-api.md
Created April 19, 2019 23:58 — forked from donmccurdy/dat-api.md
Missing api docs for dat.gui.
@LeetCodes
LeetCodes / README.md
Created June 10, 2019 21:17 — forked from nikcub/README.md
Facebook PHP Source Code from August 2007
@LeetCodes
LeetCodes / gist:91a95d26bb5e02543aeb24d77e4ec7ab
Created June 10, 2019 21:19 — forked from philfreo/gist:7257723
Facebook Perl source code from 2005. When browsing around thefacebook.com in 2005 the server spit out some server-side source code rather than running it. I believe this was for their old graph feature that let you visualize the graph between all your friends. The filename is `mygraph.svgz` and contains some gems such as a commented out "zuck" d…
#!/usr/bin/perl
use Mysql;
use strict;
use vars qw($school_name);
use vars qw($pass);
require "./cgi-lib.pl";
@LeetCodes
LeetCodes / is-private-mode.js
Created June 22, 2019 21:40 — forked from jherax/is-private-mode.js
Detect if the browser is running in Private mode
// uncomment if you are transpiling with Babel + Webpack
// const { window, document } = global;
/**
* Lightweight script to detect whether the browser is running in Private mode.
*
* You should use a polyfill for Promise.
* @see https://ourcodeworld.com/articles/read/316/top-5-best-javascript-promises-polyfills
*
* @returns {Promise}
@LeetCodes
LeetCodes / dontforget.bash
Created September 5, 2019 22:46 — forked from ttscoff/dontforget.bash
Quick reminders from Terminal (bash)
#!/bin/bash
# dontforget
#
# A stupid script for short term reminders in bash
#
# Arguments just need to contain a number and a bunch of words.
#
# The number can be anywhere in the arguments, but there shouldn't
# be any other numeric digits.
#