Skip to content

Instantly share code, notes, and snippets.

View despens's full-sized avatar
😅

Dragan Espenschied despens

😅
View GitHub Profile
@despens
despens / layers2png.py
Created September 12, 2019 21:25
Converting layers of Photoshop files to separate PNGs
#!/usr/bin/env python3
""" Get all the PSD files in this directory and
export every layer as a separate PNG.
Using imagemagick.
"""
from glob import glob
import subprocess
{
"version": "1.0.2", // version of the manifest format
"mediawiki": {
"name": "Wikidata",
"root": "https://www.wikidata.org/wiki/",
"main_page": "https://www.wikidata.org/wiki/Wikidata:Main_Page",
"api": "https://www.wikidata.org/w/api.php"
"namespace": {
"item": "Item",
@despens
despens / manifest.json
Created June 18, 2018 13:08
Suggestion for Wikibase Manifest format
{
"version": "1.0.2", // version of the manifest format
"mediawiki": {
"name": "Wikidata",
"root": "https://www.wikidata.org/wiki/",
"main_page": "https://www.wikidata.org/wiki/Wikidata:Main_Page",
"api": "https://www.wikidata.org/w/api.php"
"namespace": {
"item": "Item",
Today they are just browsers...
Today it is Netscape 3 or 3.5,
or point 7, tomorrow it will netscape 4.0,
communicator, transformator, teleporter,
Netscape 10,
Gold, Platinum. Netscape Natural, Netscape Nitro,
Netscape Nirvana!
Lisa wouldn't just copy somebody's code.
She would write it herself!
Yes, she would. And it would be beautiful...
You know she would type all her tags in upper case,
and if one tag would be nested in another
-- I'm sure she knows that tags can be nested --
she would make a new line and
indent
indent
indent.
Webrings will become our chambers of torture,
framesets will be our crucifix.
Broken links will dig into our wounds,
the spears of incomplete homepages...
...we will be raising our hands to the heavens
wishing we died in a flood,
wishing we were never born,
wishing for Tim Berners Lee to never be born!
Don't get me wrong,
I believe in end to end,
in peer to peer,
I am a pull media guy,
I'd give my left nut for the World Wide Web!
So I'm telling you, Jake,
there is no way I'm clicking on FRAMES!
I hate the Web.
It was all wrong from the start.
What the web should be is pristine simplicity.
But all these people who don't know anything about programming,
who don't know the difference between structure and style,
who make two <BR>s instead of one <P>,
they shouldn't be allowed to make web pages.
Never. Never.
@despens
despens / embed.html
Last active December 6, 2019 16:04
Embed Theresa Duncan CD-ROMs into your web site!
<iframe width="640" height="480" src="https://sites.rhizome.org/theresa-duncan-cdroms/emulators/" scrolling="no" frameborder="no"></iframe>