Skip to content

Instantly share code, notes, and snippets.

View JamesVanWaza's full-sized avatar

JamesVanWaza

  • Washington DC, Rockville MD
View GitHub Profile
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<title>University of Dewantara</title>
</head>
<body>
<nav>
</nav>
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<title>University of Dewantara</title>
</head>
<body>
<nav>
<div class="inside">
<ul>
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<title>JS Bin</title>
</head>
<body>
<nav>
<ul>
<li><a href="#">About Us</a></li>
@JamesVanWaza
JamesVanWaza / navigation2.css
Last active August 29, 2015 14:01
Second Revision of Navigation
nav{
list-style-type:none;
font-size: 26px;
font-family: Arial;
}
nav a{
color: #C25;
text-decoration:none;
background-color:#D36;
@JamesVanWaza
JamesVanWaza / .gitignore
Last active August 29, 2015 14:18 — forked from octocat/.gitignore
# Compiled source #
###################
*.com
*.class
*.dll
*.exe
*.o
*.so
# Packages #
@JamesVanWaza
JamesVanWaza / wp-plugins.php
Created May 13, 2015 14:19
Wordpress Activate and Deactivate Functions
<?php
//Add Activate Button
function my_plugin_activate(){
//db create, create options, etc
error_log('My plugin activated');
}
register_activation_hook(__FILE__, 'my_plugin_activate');
//Add Deactivate Button
function my_plugin_deactivate(){
@JamesVanWaza
JamesVanWaza / Node_Modules
Last active September 15, 2015 16:12
Grunt File With Live Reload for HTML, CSS3, Foundation 5
├─┬ autoprefixer-core@5.2.1
│ ├── browserslist@0.4.0
│ ├── caniuse-db@1.0.30000273
│ ├── num2fraction@1.1.0
│ └─┬ postcss@4.1.16
│ ├── es6-promise@2.3.0
│ ├── js-base64@2.1.9
│ └─┬ source-map@0.4.4
│ └── amdefine@1.0.0
├─┬ grunt@0.4.5
@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 / 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 / index.php
Last active September 24, 2015 13:33
Insert jQuery Date into MySQL
<body>
<form action="test.php" method="post">
<div class="row">
<div class="large-12-columns">
<fieldset>
<legend>Date of Presentation</legend>
<label for="">Presentation Date</label>
<input type="text" name="jquerydatepicker" class="selector" value="<?php if (isset($_POST['jquerydatepicker'])) {
echo $_POST['jquerydatepicker'];
}