Skip to content

Instantly share code, notes, and snippets.

@yields
yields / gist:6648208
Last active December 23, 2015 14:19
blink pseudo elements
λ blink master grep -nr "::-webkit-" . | sed -En 's/.*(::-webkit-[a-z]+(-[a-z]+)?).*/\1/p' | sort -u
::-webkit-calendar-picker
::-webkit-clear-button
::-webkit-color-swatch
::-webkit-date-and
::-webkit-datetime-edit
::-webkit-details-marker
::-webkit-distributed
::-webkit-file-upload
@blooski
blooski / css_browser_engines
Last active December 23, 2015 21:39
Browser Engines - specific CSS for a specific engine
/*
IE
Engine: Trident
CSS-prefix: -msie
Firefox
Engine: Gecko
CSS-prefix: -moz
Opera
Engine: Presto
CSS-prefix: -o
@plentz
plentz / nginx.conf
Last active August 25, 2025 02:13
Best nginx configuration for improved security(and performance)
# to generate your dhparam.pem file, run in the terminal
openssl dhparam -out /etc/nginx/ssl/dhparam.pem 2048

Interactive Demo for Scrollbar (* : only for -webkit browsers)

Simple scrollbar for -webkit browsers.

A Pen by kaushalya on CodePen.

License.

@jstcki
jstcki / README.md
Last active September 11, 2020 17:16
Swiss Municipality Coordinates

Extract and list Swiss municipality coordinates from TopoJSON.

@chilts
chilts / alexa.js
Created October 30, 2013 09:27
Getting the Alexa top 1 million sites directly from the server, unzipping it, parsing the csv and getting each line as an array.
var request = require('request');
var unzip = require('unzip');
var csv2 = require('csv2');
request.get('http://s3.amazonaws.com/alexa-static/top-1m.csv.zip')
.pipe(unzip.Parse())
.on('entry', function (entry) {
entry.pipe(csv2()).on('data', console.log);
})
;
@joyrexus
joyrexus / README.md
Last active August 1, 2025 10:41 — forked from liamcurry/gist:2597326
Vanilla JS equivalents of jQuery methods

Sans jQuery

Events

// jQuery
$(document).ready(function() {
  // code
})
input[type="text"] {
/* */
}
input[type="submit"]{
/* */
}
input[type=button]{
/* */
}
@XVilka
XVilka / TrueColour.md
Last active August 19, 2025 02:09
True Colour (16 million colours) support in various terminal applications and terminals

THIS GIST WAS MOVED TO TERMSTANDARD/COLORS REPOSITORY.

PLEASE ASK YOUR QUESTIONS OR ADD ANY SUGGESTIONS AS A REPOSITORY ISSUES OR PULL REQUESTS INSTEAD!