Skip to content

Instantly share code, notes, and snippets.

View itsmattsoria's full-sized avatar
🎃

Matt Soria itsmattsoria

🎃
View GitHub Profile
@itsmattsoria
itsmattsoria / neo-block-description.md
Last active February 6, 2023 21:48
Display Neo block description in block in admin

1) Add a new template to your project in the templates dir with the following in it:

{{ element.type.description | markdown }}

2) Add a description to your NEO block type:

Daily git log command by Nate Beaty:

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

@itsmattsoria
itsmattsoria / backpacking-checklist.markdown
Created September 19, 2016 20:05
Backpacking Checklist
@itsmattsoria
itsmattsoria / wgetinstructions.md
Created September 6, 2016 15:34
Scrape a site and save locally from the command line with Wget
<ul>
<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
itsmattsoria / wp-blogpost-template.html
Last active March 7, 2018 16:43
Some dummy blog post content for testing
<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="http://github.org">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:
<hr>
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
itsmattsoria / where-to-start.md
Last active July 4, 2020 01:06
Some resources and tips for getting started as a Web Developer (with a front end emphasis)
{
"auto_complete_commit_on_tab": true,
"auto_complete_triggers":
[
{
"characters": "<",
"selector": "text.html"
},
{
"characters": "/",
@itsmattsoria
itsmattsoria / terminal.MD
Created March 20, 2015 15:05
A collection of terminal commands that I always have to look up

Copy ssh key cat ~/.ssh/id_rsa.pub

<svg xmlns="http://www.w3.org/2000/svg"><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><