Skip to content

Instantly share code, notes, and snippets.

@tealtan
tealtan / ARGHESSESS.md
Last active August 29, 2015 14:06
A pirate radio social network

The thing about half-joking about things is that they sometimes become real. I said something about how the only alternative social network I’d trust now is a system where everyone runs their own secret RSS feeds (with no corresponding web component) and passes them around by word-of-mouth. No discovery, no stars, no pageviews, just semi-public paragraphs.

Ways to get a standalone RSS feed

A range of options, depending on how much you want to do yourself:

  • Use an existing publishing service – preferably something old and boring – that generates its own RSS feeds. Make the web component private. Pass your RSS feed around. Something like Tumblr or Livejournal would work well.
  • Generate your RSS feed with a program on your own computer and put it up somewhere. A static site generator like Jekyll can turn a series of Markdown files into a RSS feed pretty easily, once you set up the template. You can put the generated RSS file into your [Dropbox P
@grugq
grugq / gist:03167bed45e774551155
Last active January 26, 2026 11:01
operational pgp - draft

Operational PGP

This is a guide on how to email securely.

There are many guides on how to install and use PGP to encrypt email. This is not one of them. This is a guide on secure communication using email with PGP encryption. If you are not familiar with PGP, please read another guide first. If you are comfortable using PGP to encrypt and decrypt emails, this guide will raise your security to the next level.

@fitnr
fitnr / jquery-getelementbyid.js
Last active August 29, 2015 14:04
Tired of that extra '#' you need to specify an element's id in jQuery, compared to document.getElementById? Just add this to your code and use $.getElementById('foo')! Easy as pie!
// this is satire, do not use in real life
jQuery.getElementById = function(id) {
return jQuery('#' + id);
};
@robinrendle
robinrendle / reset.css
Last active July 24, 2021 01:20
A CSS reset with sane defaults
/*Box sizing (the nuclear option) */
*, *:before, *:after {
-ms-box-sizing: border-box;
-webkit-box-sizing: border-box;
-moz-box-sizing:border-box;
box-sizing: border-box;
}
/* Fix font rendering defaults */
html, button {
@bastianallgeier
bastianallgeier / statify.php
Last active October 4, 2022 17:12
A first draft for a script, which converts a Kirby site into a static site. It's a rough first draft, so don't expect it to be perfect. Play with it, if you like it!
<?php
/**
* Instructions:
*
* 1. Put this into the document root of your Kirby site
* 2. Make sure to setup the base url for your site correctly
* 3. Run this script with `php statify.php` or open it in your browser
* 4. Upload all files and folders from static to your server
* 5. Test your site
@curtisj44
curtisj44 / pesticide-css-bookmarklet.js
Last active March 15, 2022 09:04
Pesticide CSS bookmarklet
var link,
id = 'Pesticide';
pesticide = document.getElementById(id);
if (pesticide === null) {
console.log(id + ' added');
link = document.createElement('link');
link.id = id;
link.rel = 'stylesheet';
@kevinSuttle
kevinSuttle / touch-icons.html
Last active November 10, 2025 07:10
Touch icon link syntax
<!-- For non-Retina iPhone, iPod Touch, and Android 2.1+ devices: -->
<link rel="apple-touch-icon-precomposed" href="apple-touch-icon-precomposed.png">
<!-- For the iPad mini and the first- and second-generation iPad on iOS ≤ 6: -->
<link rel="apple-touch-icon-precomposed" sizes="72x72" href="apple-touch-icon-72x72-precomposed.png">
<!-- For the iPad mini and the first- and second-generation iPad on iOS ≥ 7: -->
<link rel="apple-touch-icon-precomposed" sizes="76x76" href="apple-touch-icon-76x76-precomposed.png">
<!-- For iPhone with high-resolution Retina display running iOS ≤ 6: -->
@magicznyleszek
magicznyleszek / jekyll-and-liquid.md
Last active January 25, 2025 20:12
Jekyll & Liquid Cheatsheet

Jekyll & Liquid Cheatsheet

A list of the most common functionalities in Jekyll (Liquid). You can use Jekyll with GitHub Pages, just make sure you are using the proper version.

Running

Running a local server for testing purposes:

anonymous
anonymous / An-Anonymous-Pen.markdown
Created February 19, 2014 18:34
A Pen by A Non Ymous.
@maxfenton
maxfenton / annotated-arcades.txt
Created January 18, 2014 18:53
Arcades reading
File: Benjamin_Arcades - annotated.pdf
Annotation summary:
--- Page 7 ---
Oval (blue), Mar 27, 2013, 12:28 PM
Oval (blue), Mar 27, 2013, 12:28 PM