Skip to content

Instantly share code, notes, and snippets.

@Saminou24
Saminou24 / index.html
Created January 18, 2017 09:27 — forked from catc/index.html
magnifier demo
<div class="magnifier-demo">
<div class="magnifier-demo__image-wrapper">
<img id="magnifier-img" src="https://static.pexels.com/photos/1188/city-landmark-lights-night.jpg">
<span class="magnifier-demo__zoomer"></span>
</div>
<div class="magnifier-demo__zoom-preview"></div>
</div>
@Saminou24
Saminou24 / countries.json
Created October 26, 2016 09:38 — forked from keeguon/countries.json
A list of countries in JSON
[
{name: 'Afghanistan', code: 'AF'},
{name: 'Åland Islands', code: 'AX'},
{name: 'Albania', code: 'AL'},
{name: 'Algeria', code: 'DZ'},
{name: 'American Samoa', code: 'AS'},
{name: 'AndorrA', code: 'AD'},
{name: 'Angola', code: 'AO'},
{name: 'Anguilla', code: 'AI'},
{name: 'Antarctica', code: 'AQ'},
@Saminou24
Saminou24 / gist:795b52aafa2be441249b
Created January 19, 2016 11:44 — forked from radiosilence/gist:3946121
Outputs some files that WMs can import and colourify everything with.
import sys
import colorsys
from colorz import colorz
WALLPAPER = '/home/james/.wallpaper'
COLORS = '/home/james/.colors'
XRESOURCES = '/home/james/.Xresources'
cols = ''
xres = """