Skip to content

Instantly share code, notes, and snippets.


Matt Soria itsmattsoria

View GitHub Profile

Daily git log command by Nate Beaty:

git log --author=Nate --all-match --format='%s' | tail -r | paste -s -d : - | sed -e 's/:/; /g' | pbcopy

itsmattsoria /
Created Sep 6, 2016
Scrape a site and save locally from the command line with Wget
View harvard-sentances.html
<li>The birch canoe slid on the smooth planks.
</li><li>Glue the sheet to the dark blue background.
</li><li>It's easy to tell the depth of a well.
</li><li>These days a chicken leg is a rare dish.
</li><li>Rice is often served in round bowls.
</li><li>The juice of lemons makes fine punch.
</li><li>The box was thrown beside the parked truck.
</li><li>The hogs were fed chopped corn and garbage.
</li><li>Four hours of steady work faced us.
itsmattsoria / wp-blogpost-template.html
Last active Mar 7, 2018
Some dummy blog post content for testing
View wp-blogpost-template.html
<h2>Some standard content types in posts.</h2>
Donec sed odio dui. <strong>This is bold</strong>. <em>This is italic</em>. Nullam id dolor id nibh ultricies vehicula ut id elit. Vivamus sagittis lacus vel augue laoreet rutrum faucibus dolor auctor. <a href="">This is a link</a>. Praesent commodo cursus magna, vel scelerisque nisl consectetur et. Nullam quis risus eget urna mollis ornare vel eu leo. Maecenas sed diam eget risus varius blandit sit amet non magna.
Here is a horizontal line, used sparingly for breaking content:
The following is an image, which when selected, the size should be set to "full-width", the alignment set to "none", and typically, the 'Link to' should be set to "none". Avoid trying to align images to the left or right, let them stay full-width.
itsmattsoria /
Last active Jul 4, 2020
Some resources and tips for getting started as a Web Developer (with a front end emphasis)
View Preferences.sublime-settings
"auto_complete_commit_on_tab": true,
"characters": "<",
"selector": "text.html"
"characters": "/",
itsmattsoria / terminal.MD
Created Mar 20, 2015
A collection of terminal commands that I always have to look up
View terminal.MD

Copy ssh key cat ~/.ssh/

View svg-defs.php
<svg xmlns=""><symbol viewBox="0 0 12.4 20.5" id="icon-arrow-left"><title>arrow-left</title><path stroke="#fff" stroke-width="3" stroke-linecap="round" d="M10.9 1.5l-8.8 8.7 8.8 8.8" fill="none"/></symbol><symbol viewBox="0 0 12.4 20.5" id="icon-arrow-right"><title>arrow-right</title><path stroke="#fff" stroke-width="3" stroke-linecap="round" d="M1.5 19l8.7-8.7-8.7-8.8" fill="none"/></symbol><symbol viewBox="0 0 10 18" id="icon-arrow-select-pink"><title>arrow-select-pink</title><path stroke="#E54C97" stroke-width="2" d="M.8 11.1l3.4 4.3.8 1 .8-1 3.5-4.3m0-4.2L5.8 2.6l-.8-1-.8 1L.8 6.9" fill="none"/></symbol><symbol viewBox="0 0 10 18" id="icon-arrow-select"><title>arrow-select</title><path d="M.8 11.1l3.4 4.3.8 1 .8-1 3.5-4.3m0-4.2L5.8 2.6l-.8-1-.8 1L.8 6.9" stroke="#fff" stroke-width="2" fill="none"/></symbol><symbol viewBox="0 0 9.6 15.8" id="icon-arrow"><title>arrow</title><path stroke="#fff" stroke-width="3" stroke-linecap="round" d="M1.5 14.3l6-6.4-6-6.4" fill="none"/></symbol><
itsmattsoria /
Last active Aug 29, 2015
Notes from Ruby on Rails Workshop

Ruby on Rails Level 1 Notes

Quick Notes

  • Ruby was created in 94/95 to more resemble human speach
  • Start out with "irb"
  • Date formatting = .strftime("")
  • Rails is just a framework for Ruby
  • Rails was created by David Hannson at 37Signals here in Chicago as Opensource