Skip to content

Instantly share code, notes, and snippets.

@cz
cz / gist:de6057f29754cdd0c6a1
Last active August 29, 2015 14:01
Alyx MVP Todos

Oustanding info/functionality

All Services

  • List of all multiverse services
  • Property on each service saying whether it's starred by the current user
  • Endpoint to star/unstar services
  • Recent activity across all services (last 5?)

My Services

@cz
cz / 0_reuse_code.js
Last active August 29, 2015 14:15
Here are some things you can do with Gists in GistBox.
// Use Gists to store code you would like to remember later on
console.log(window); // log the "window" object to the console
@cz
cz / Instructions
Created July 23, 2013 20:01
Utility to quickly post your clipboard to paste.pm and get the resultant URL.
1. `pip install requests`
2. Save the file below
3. Put it in your path
4. Make it executable
@cz
cz / gist:6161445
Created August 6, 2013 02:15
Fish config. Most of it stolen from @stevelosh.
# Useful aliases {{{
function serve_this
python -m SimpleHTTPServer
end
function c
clear
end
@cz
cz / gist:6443618
Last active December 22, 2015 08:18
How I wish I could selectively stage files with git...
↪ git status
# On branch sample
# Changes not staged for commit:
# (use "git add <file>..." to update what will be committed)
# (use "git checkout -- <file>..." to discard changes in working directory)
#
# [1] modified: this/or/that/file.css
# [2] modified: this/or/that/file.py
# [3] modified: some/unrelated/thing.js

Cactus Blog Plugin

Setup

Enable the blog plugin by renaming blog.disabled.py to blog.py in your site's plugins directory.

Create a directory called posts in your site's pages directory.

Basic usage