Skip to content

Instantly share code, notes, and snippets.

View rrpff's full-sized avatar

Richard Foster rrpff

  • London, England
View GitHub Profile

Theme pages

Proposal

  • Agree on block types
  • Agree on minimum required blocks for first launch
  • Create ticket for creating theme pages (feature flagged)
  • Create tickets for creating each block type

Ideas/questions

@rrpff
rrpff / README
Last active March 22, 2021 00:16
A tool for learning translations
Usage: $0 [path] [--hard] [--switch] [--filter TERM]
where [path] is a file of translations, e.g.
NOUN dog = hund
NOUN cat = kat
NOUN rabbit = kanin
NOUN snake = slange
NOUN horse = hest
alternatively translations can be piped in, e.g.

Keybase proof

I hereby claim:

  • I am zuren on github.
  • I am zuren (https://keybase.io/zuren) on keybase.
  • I have a public key whose fingerprint is 95BC F9E6 43B0 FF7D EFDA 67FB 67CC 30A4 C697 DA2E

To claim this, I am signing this object:

@rrpff
rrpff / simple-browserify-app.md
Last active October 16, 2015 22:12
Simple browserify app

Simple Browserify app

This is not the best most proper way to use browserify and all, but works for a simple introduction.

  1. Install node/npm
  2. $ npm init - Creates a package.json file which is an all encompassing manifest. Running npm install will install everything in it, equivalent to bundle install.
  3. $ npm install --save-dev browserify watchify babelify - Installing browserify exposes a CLI which you can use to package up your client. Watchify has exactly the same interface, but rebundles when files are changed. Passing --save or --save-dev to npm install will also add it to dependencies or devDependecies respectively in your package.json. babelify is a browserify transform which will transpile es6 (babel) code to es5.
  4. $ npm install --save thing-from-npm - Install a module from NPM. Eg react, three... Run this every time you install a dependency.
  5. mkdir app/ dist/
  6. Add the following to your package.json. Scripts can be run with npm run {task-name}. Eg `npm
@rrpff
rrpff / x
Created November 14, 2008 01:51
'Ibles ubiquity search
makeSearchCommand({
name: "'Ibles",
icon: "http://www.instructables.com/favicon.ico",
url: "http://www.instructables.com/tag/?sort=none&q={QUERY}&limit%3Atype%3Aid=on",
description: "Searches Instructables.com"
});