Navigation Menu

Skip to content

Instantly share code, notes, and snippets.

@ziguzagu
ziguzagu / mt-cpanfile
Last active December 16, 2015 00:19
cpanfile for movabletype
## -*- mode: perl; coding: utf-8 -*-
requires 'DBI';
requires 'DBD::mysql';
requires 'Digest::SHA';
requires 'Plack';
requires 'CGI::PSGI';
requires 'CGI::Parse::PSGI';
requires 'CGI::Compile';
requires 'XMLRPC::Transport::HTTP::Plack';
requires 'HTML::Entities';
@paulirish
paulirish / gist:603681
Created September 29, 2010 22:25
html5 and friends - a bigass bulleted list of features

HTML5 and friends.

A bigass bulleted list of features.

I commonly need to get a big list of all the stuff people think of when they think new and shiny these days. This list is for that.

I take a very inclusionist approach to it. 1

javascript APIs

  • Web Storage (localStorage, sessionStorage)
  • Web SQL Database
@zhengjia
zhengjia / capybara cheat sheet
Created June 7, 2010 01:35
capybara cheat sheet
=Navigating=
visit('/projects')
visit(post_comments_path(post))
=Clicking links and buttons=
click_link('id-of-link')
click_link('Link Text')
click_button('Save')
click('Link Text') # Click either a link or a button
click('Button Value')