Skip to content

Instantly share code, notes, and snippets.

View EvanFreeman's full-sized avatar
🐙

Evan Freeman EvanFreeman

🐙
View GitHub Profile
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<title>JS Bin</title>
</head>
<body>
<script id="jsbin-javascript">
var stocks = [
@EvanFreeman
EvanFreeman / terminal-commands.md
Last active December 10, 2015 15:36
This is a list of terminal commands that save me a lot of time.

Stop using the arrow keys and navigate the command line more quickly with

  • ctrl+A: moves to the start of the line
  • ctrl+E: moves to the end of the line
  • ctrl+B: move back one character
  • ctrl+F: move forward one character
  • esc+B: move back one word
  • esc+F: move forward one word
  • ctrl+U: delete from the cursor to the beginning of the line
  • ctrl+K: delete from the cursor to the end of the line
  • ctrl+W: delete from the cursor to the beginning of the current word
@EvanFreeman
EvanFreeman / gist:516d6fb085238816c5567b59440790ba
Created December 9, 2016 15:40 — forked from r00k/gist:36677951462ffd01d98c
Ben Orenstein's Weekly Review Checklist
# Checklist for Weekly Review
## Sweep
[ ] Process work email inbox
[ ] Process personal email inbox
[ ] Review calendar, +/- 2 weeks.
[ ] Review [this trigger list](http://gettingthingsdone.com/wp-content/uploads/2014/10/Mind_Sweep_Trigger_List.pdf)
## Process
@EvanFreeman
EvanFreeman / ctags.setup
Created January 19, 2017 15:11 — forked from nazgob/ctags.setup
ctags setup on mac
# you have ctags but it does not work...
$ ctags -R --exclude=.git --exclude=log *
ctags: illegal option -- R
usage: ctags [-BFadtuwvx] [-f tagsfile] file ...
#you need to get new ctags, i recommend homebrew but anything will work
$ brew install ctags
#alias ctags if you used homebrew
$ alias ctags="`brew --prefix`/bin/ctags"

Code Review

A guide for reviewing code and having your code reviewed.

Everyone

  • Accept that many programming decisions are opinions. Discuss tradeoffs, which you prefer, and reach a resolution quickly.
@EvanFreeman
EvanFreeman / repostats.md
Created January 10, 2019 11:43
Repository code statistics

git ls-files | while read f; do git blame -w -M -C -C --line-porcelain "$f" | grep -I '^author '; done | sort -f | uniq -ic | sort -n

SEO Glossary of Terms

If you are new to SEO, then you are sure to have questions about what some of the jargon means. Here you will find a list of the most common terms you are likely to encounter.

Absolute Link

An absolute link is one where the destination href value of the anchor tag is fully qualified and includes all of the following:

the transfer protocol: http:// domain name: www.example.com file name: my-page.html Example of fully qualified link: Example

@EvanFreeman
EvanFreeman / gherkin.md
Created September 1, 2020 13:04 — forked from dogoku/gherkin.md
Gherkin syntax

Writing Features - Gherkin Language

Behat is a tool to test the behavior of your application, described in special language called Gherkin. Gherkin is a Business Readable, Domain Specific Language created especially for behavior descriptions. It gives you the ability to remove logic details from behavior tests.

Gherkin serves two purposes: serving as your project's documentation and automated tests. Behat also has a bonus feature: it talks back to you using real, human language telling you what code you should write.

If you're still new to Behat, jump into the /quick_intro first, then return here to learn more about Gherkin.

Gherkin Syntax