Skip to content

Instantly share code, notes, and snippets.

The Nugget - $229

Description

The same foam couch that blended toy and furniture, now with an easy on-off zipper pattern and brand new colors.

Colors

Koala, Submarine, Neptune, Starfish,

@airtwo
airtwo / home.html
Created April 11, 2018 15:23
failing template
<div class="card news" id="news">
<h2>News</h2>
<ul class="newsPosts">
{% for post in site.posts %}
<li>
<h3>{{ post.title }}</h3>
<p class="date">{{ post.date | date: "%-d %B %Y"}}</p>
<p>{{ post.content }}</p>
</li>
@airtwo
airtwo / config.yml
Created April 11, 2018 15:09
config for netlify cms
backend:
name: git-gateway
branch: master # Branch to update (optional; defaults to master)
media_folder: "assets/uploads" # Media files will be stored in the repo under assets/uploads
collections:
- name: "news" # Used in routes, e.g., /admin/collections/blog
label: "News" # Used in the UI
folder: "_posts/news" # The path to the folder where the documents are stored

Keybase proof

I hereby claim:

  • I am airtwo on github.
  • I am airtwo (https://keybase.io/airtwo) on keybase.
  • I have a public key ASAILqwu8ZbS3ikBzW2OWGTaQlIRMOPlQll0Gvvbw4plTAo

To claim this, I am signing this object:

@airtwo
airtwo / gist:9006101
Created February 14, 2014 18:17
Calendar JSON manipulation
// Execute the following code when the page is loaded
$(function () {
$('.event h3 a').click(function(e) {
e.preventDefault();
$(this).closest('.event').find('p').show();
});
$.getJSON("/data.json", function(events) {
// loop through every element
@airtwo
airtwo / gist:8960939
Created February 12, 2014 17:56
Calendar SASS
@import "library";
@import "reset";
// Global templates
%group:after {
display: table;
clear: both;
content: "";
}
@airtwo
airtwo / gist:8960933
Created February 12, 2014 17:56
Calendar HTML
<!doctype html>
<html>
<head>
<title>✽ ✽ ✽</title>
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta charset="utf-8">
<link rel="stylesheet" type="text/css" href="/css/screen.css" media="all">
<script src="/js/jquery.min.js"></script>
<script src="/js/global.js"></script>
<link href='http://fonts.googleapis.com/css?family=Quicksand' rel='stylesheet' type='text/css'>
@airtwo
airtwo / JS File
Created February 8, 2014 17:20 — forked from lukasrplus/JS File
$(function() {
// TASK 1:
// When the submit button is clicked, any empty
// input fields should gain a red border.
// -----
// Capture submit event.
// Create alert on submit
@airtwo
airtwo / gist:8739022
Created January 31, 2014 18:14
AJAX JSON request (html)
<!doctype html>
<html>
<head>
<title>Site Title</title>
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta charset="utf-8">
<link rel="stylesheet" type="text/css" href="/css/bootstrap.min.css" media="all">
<link rel="stylesheet" type="text/css" href="/css/screen.css" media="all">
<script src="/js/jquery.min.js"></script>
<script src="/js/global.js"></script>
@airtwo
airtwo / gist:8739011
Created January 31, 2014 18:13
AJAX JSON request (js)
$(function() {
// On unfocus, check the value of the username field, and
// store that in a variable.
$("#username").focusout(function() {
var usernameInput = $(this).val();
// We want to take that variable and send the variable to
// the "server" and get back a JSON hash