Skip to content

Instantly share code, notes, and snippets.

@ellm
ellm / Command-Cheatsheet.md
Last active April 19, 2017 19:05
Command Cheatsheet

Vim

Command Description
Editing
d Cut/Delete
dd Cut/Delete entire line
p Paste line p (below) or P (above)
c Change (delete and then place into insert mode)
y Yank (copy) y or yy (copy entire line including carriage return)
@ellm
ellm / vagrant-modern-ie.md
Created March 29, 2017 19:17
Connect to localhost via Modern.ie Vagrant Box
  1. Click on Windows Start button and type in "NotePad"
  2. Right click on NotePad and click "Run as Administrator"
  3. Click File > Open and navigate to: C:\windows\system32\drivers\etc\
  4. Select "All files" to reveal "hosts" files and open it
  5. Add the following (or another localhost IP) to the bottom of hosts file

192.168.50.4 example.dev

@ellm
ellm / mattell-bio-long.markdown
Last active November 22, 2022 16:02
Professional bio

Matt Ell is a UX Developer at Alley with over a decade of experience in frontend web development and building websites with WordPress. Matt started his career in 2008 as a graphic designer working in print and digital media for all sorts of organizations ranging from small nonprofits to large brands. Along the way, he became fascinated with interaction design and discovered open source software. After making a small contribution to WordPress core, he became inspired by the WordPress community and discovered the great work Alley was doing. Matt joined Alley in 2016.

Outside of work, Matt enjoys spending time with his wife and son, collecting vinyl records, traveling, and the outdoors. Matt is a graduate of the School of Visual Arts (BFA in Graphic Design) and Pace University (MS in Computer Science). He is based in Westwood, New Jersey.

@ellm
ellm / plugdj-cheerleadermode.js
Created May 18, 2018 15:13
PlugDJ - dance/woot every song automagically 👯‍♀️
const playing = document.querySelector('.community__song-playing');
const btn = document.querySelector('button.btn-like');
var observer = new MutationObserver(function(mutations) {
mutations.forEach(function(mutation) {
if (mutation.type == "attributes") {
btn.click();
console.log("me_debug", "playing attributes changed")
}
});