Skip to content

Instantly share code, notes, and snippets.

View jamiewilson's full-sized avatar

Jamie Wilson jamiewilson

View GitHub Profile
@jamiewilson
jamiewilson / multiple-forms-example.html
Created October 18, 2017 16:16
Multiple Forms Submit to Google Sheets
<form name="first-form">
<input name="email" type="email" placeholder="Email" required>
<button type="submit">Send</button>
</form>
<form name="second-form">
<input name="email" type="email" placeholder="Email" required>
<button type="submit">Send</button>
</form>
@jamiewilson
jamiewilson / open-dotfiles-with-st3.sh
Last active August 11, 2016 17:43
Open all dotfiles on a mac with Sublime Text by default
defaults write com.apple.LaunchServices/com.apple.launchservices.secure LSHandlers -array-add \ '{LSHandlerContentType=public.plain-text;LSHandlerRoleAll=com.sublimetext.3;}'
@jamiewilson
jamiewilson / git-untrack-files.md
Created August 4, 2016 22:14
Untrack committed files in git repo
### Keybase proof
I hereby claim:
* I am jamiewilson on github.
* I am jamiewilson (https://keybase.io/jamiewilson) on keybase.
* I have a public key whose fingerprint is 0BB0 601A FD15 ABAF 6E81 B70E 2AEB 684E EFB3 6BD8
To claim this, I am signing this object:
@jamiewilson
jamiewilson / wab-1989-transcript.txt
Created April 12, 2016 15:34
Weekend at Bernie's (1989) Movie Transcript
Oh, God.
How are you, Richard? Hot enough for you?
Yeah.
Hey, what are you doing?
You dummy, why don't you watch
where you are going?
Does this look like 10:00, or like 10:30?
- Morning, Richard!
- Good morning.
- You are a half hour late.
@jamiewilson
jamiewilson / all-css-properties.md
Last active April 10, 2016 17:00
List of all CSS Propterties

all
background
background-attachment
background-clip
background-color
background-image
background-origin
background-position
background-repeat
background-size

@jamiewilson
jamiewilson / keymap.cson
Last active April 8, 2016 23:20
Nylas N1 Custom Keymap
# ~/.nylas/keymap.cson
# All entries in this file will override the defaults
# Use the same syntax as https://github.com/nylas/N1/blob/master/keymaps/base.cson
# More here: https://support.nylas.com/hc/en-us/articles/218222257-How-do-I-customize-my-keyboard-shortcuts-
'body':
'cmd-delete': 'application:archive-item'
'cmd-backspace': 'application:archive-item'
@jamiewilson
jamiewilson / inherited-css-properties.md
Created March 31, 2016 23:17
Inherited CSS Properties
  • border-collapse
  • border-spacing
  • caption-side
  • color
  • cursor
  • direction
  • empty-cells
  • font-family
  • font-size
  • font-style
@jamiewilson
jamiewilson / html-focus.md
Last active September 6, 2023 23:19
Focusable HTML Elements

CSS :focus Selector

The :focus selector is used to select the element that has focus. It is allowed on elements that accept keyboard events or other user inputs.

  • HTMLInputElement
  • HTMLSelectElement
  • HTMLTextAreaElement
  • HTMLAnchorElement
  • HTMLButtonElement
  • HTMLAreaElement
@jamiewilson
jamiewilson / select-href-value
Created March 28, 2016 19:35
select all href values
Find: <a[^>]*href="\K[^"]*