Skip to content

Instantly share code, notes, and snippets.

View gabrielgodoy-zz's full-sized avatar

Gabriel Godoy gabrielgodoy-zz

View GitHub Profile
@gabrielgodoy-zz
gabrielgodoy-zz / loop-custom.php
Created September 22, 2018 03:56 — forked from kevinwhoffman/loop-custom.php
WordPress - Custom Post Type Loop
<?php
$loop = new WP_Query( array(
'post_type' => 'Property',
'posts_per_page' => -1
)
);
?>
<?php while ( $loop->have_posts() ) : $loop->the_post(); ?>

Setting up Babel and nodemon

Inital set-up

Set up project:

mkdir project
cd project
npm init -y
@gabrielgodoy-zz
gabrielgodoy-zz / iterm2.md
Last active April 7, 2016 23:42
shell-iterm2Cheatsheet

Tabs and Windows

Function Shortcut
Previous Tab + Left Arrow
Next Tab + Right Arrow
Go to Tab + Number
Go to Window + Option + Number
Go to Split Pane by Direction + Option + Arrow
Go to Split Pane by Order of Use + ] , + [
@gabrielgodoy-zz
gabrielgodoy-zz / config.rb
Last active August 29, 2015 14:00 — forked from nathansmith/config.rb
config.rb with verbose
# Require any additional compass plugins here.
# The starting contents for config.rb
# Set this to the root of your project when deployed:
http_path = "../"
css_dir = "css" # Set this to the directory of your current css files:
sass_dir = "scss"
images_dir = "images" # Set this to the directory of your current images files:
javascripts_dir = "js" # Set this to the directory of your current JavaScript files: