Skip to content

Instantly share code, notes, and snippets.

View PenneyGadget's full-sized avatar

Penney Garrett PenneyGadget

View GitHub Profile
@JoshCheek
JoshCheek / index.html
Created January 22, 2016 23:04
Playing with them colours!
<!DOCTYPE html>
<html>
<head>
<title>Smiley Face</title>
</head>
<body>
<canvas id="a" width="800" height="800">
This text is displayed if your browser does not support HTML5 Canvas.
</canvas>
@paulallies
paulallies / gist:0052fab554b14bbfa3ef
Last active August 3, 2024 16:45
Remove node_modules from git repo
#add 'node_modules' to .gitignore file
git rm -r --cached node_modules
git commit -m 'Remove the now ignored directory node_modules'
git push origin <branch-name>
@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')