Skip to content

Instantly share code, notes, and snippets.

View JamesVanWaza's full-sized avatar

JamesVanWaza

  • Washington DC, Rockville MD
View GitHub Profile
@JamesVanWaza
JamesVanWaza / _mixins.scss
Created December 3, 2015 00:29 — forked from garyharan/_mixins.scss
Useful scss mixins (rounded corners, gradients, text-field, button)
@mixin box-shadow($top, $left, $blur, $color, $inset: false) {
@if $inset {
-webkit-box-shadow:inset $top $left $blur $color;
-moz-box-shadow:inset $top $left $blur $color;
box-shadow:inset $top $left $blur $color;
} @else {
-webkit-box-shadow: $top $left $blur $color;
-moz-box-shadow: $top $left $blur $color;
box-shadow: $top $left $blur $color;
}
@JamesVanWaza
JamesVanWaza / Install Composer using MAMP's PHP.md
Created November 19, 2015 00:09 — forked from irazasyed/Install Composer using MAMP's PHP.md
Instructions on how to change preinstalled Mac OS X PHP to MAMP's PHP Installation and then install Composer Package Management

##Change default Mac OS X PHP to MAMP's PHP Installation and Install Composer Package Management

###Instructions to Change PHP Installation

First, Lets find out what version of PHP we're running (To find out if it's the default version).

To do that, Within the terminal, Fire this command:

which php

@JamesVanWaza
JamesVanWaza / README.md
Last active August 29, 2015 14:24 — forked from jonathantneal/README.md
Proper Way of Writing @fontface SASS

Font Face

A mixin for writing @font-face rules in SASS.

Usage

Create a font face rule. Embedded OpenType, WOFF2, WOFF, TrueType, and SVG files are automatically sourced.

@include font-face(Samplino, fonts/Samplino);
@JamesVanWaza
JamesVanWaza / wp-query.php
Last active August 3, 2016 15:26 — forked from luetkemj/wp-query-ref.php
WP Query
<?php
/**
* The WordPress Query class.
* @link http://codex.wordpress.org/Function_Reference/WP_Query
*/
$args = array(
/** Post & Page Parameters */
'p' => 1,
'name' => 'hello-world',
'page_id' => 1,
@JamesVanWaza
JamesVanWaza / .gitignore
Last active August 29, 2015 14:18 — forked from octocat/.gitignore
# Compiled source #
###################
*.com
*.class
*.dll
*.exe
*.o
*.so
# Packages #