Skip to content

Instantly share code, notes, and snippets.

View just-andy's full-sized avatar

Andrew Cetnarskyj just-andy

View GitHub Profile
@just-andy
just-andy / 0_reuse_code.js
Created February 17, 2014 14:08
Here are some things you can do with Gists in GistBox.
// Use Gists to store code you would like to remember later on
console.log(window); // log the "window" object to the console
@just-andy
just-andy / SassMeister-input-HTML.html
Created April 18, 2014 10:03
Generated by SassMeister.com.
<div class="wrapper">
<header>
<nav>Navigation</nav>
</header>
<section>
<article>
<header>
<h1>Article Header</h1>
</header>
<p>Contrary to popular belief, Lorem Ipsum is not simply random text. It has roots in a piece of classical Latin literature from 45 BC, making it over 2000 years old. Richard McClintock, a Latin professor at Hampden-Sydney College in Virginia, looked up one of the more obscure Latin words, consectetur, from a Lorem Ipsum passage, and going through the cites of the word in classical literature, discovered the undoubtable source. Lorem Ipsum comes from sections 1.10.32 and 1.10.33 of "de Finibus Bonorum et Malorum" (The Extremes of Good and Evil) by Cicero, written in 45 BC. This book is a treatise on the theory of ethics, very popular during the Renaissance. The first line of Lorem Ipsum, "Lorem ipsum dolor sit amet..", comes from a line in section 1.10.32.</p>
@just-andy
just-andy / SassMeister-input-HTML.html
Created April 30, 2014 13:08
Generated by SassMeister.com.
<div class="wrapper">
<header>
<nav>Navigation</nav>
</header>
<section>
<article>
<header>
<h1>Article Header</h1>
</header>
<p>Contrary to popular belief, Lorem Ipsum is not simply random text. It has roots in a piece of classical Latin literature from 45 BC, making it over 2000 years old. Richard McClintock, a Latin professor at Hampden-Sydney College in Virginia, looked up one of the more obscure Latin words, consectetur, from a Lorem Ipsum passage, and going through the cites of the word in classical literature, discovered the undoubtable source. Lorem Ipsum comes from sections 1.10.32 and 1.10.33 of "de Finibus Bonorum et Malorum" (The Extremes of Good and Evil) by Cicero, written in 45 BC. This book is a treatise on the theory of ethics, very popular during the Renaissance. The first line of Lorem Ipsum, "Lorem ipsum dolor sit amet..", comes from a line in section 1.10.32.</p>
@just-andy
just-andy / SassMeister-input-HTML.html
Created July 23, 2014 12:25
Generated by SassMeister.com.
<div class="wrapper">
<section class="main">
<h1>Header</h1>
<p>Lorem Ipsum is simply dummy text of the printing and typesetting industry. Lorem Ipsum has been the industry's standard dummy text ever since the 1500s, when an unknown printer took a galley of type and scrambled it to make a type specimen book. It has survived not only five centuries, but also the leap into electronic typesetting, remaining essentially unchanged. It was popularised in the 1960s with the release of Letraset sheets containing Lorem Ipsum passages, and more recently with desktop publishing software like Aldus PageMaker including versions of Lorem Ipsum.</p>
</section>
<aside class="side">
<h2>Side</h2>
<p>Lorem Ipsum is simply dummy text of the printing and typesetting industry. Lorem Ipsum has been the industry's standard dummy text ever since the 1500s.</p>
</aside>
</div>
@just-andy
just-andy / SassMeister-input-HTML.html
Created March 18, 2015 07:35
Generated by SassMeister.com.
<div class="container">
lorem
</div>
@just-andy
just-andy / SassMeister-input-HTML.html
Created March 20, 2015 16:14
Generated by SassMeister.com.
<link href='http://fonts.googleapis.com/css?family=Raleway' rel='stylesheet' type='text/css'>
<div class="container">
<article class="banner-container-wide">
<div class="content">
<h1>Cheltenham happy Hour</h1>
<p>A new price boost event 15 mins</p>
<a href="#" class="bet-button">Bet Now</a>
</div>
<div class="right-image">
<img src="https://dl-web.dropbox.com/get/Banners/ap-mccoy.png?_subject_uid=176881273&w=AABkHj5bi0LvM-SPHsyHanRT8tJEBZHxCHxF4pq2x3lgBg">
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<title>JS Bin</title>
</head>
<body>
<script id="jsbin-javascript">
var Manufacturer = function(brandName){
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<title>JS Bin</title>
</head>
<body>
<script id="jsbin-javascript">
var Manufacturer = function(brandName){
<table class="<perch:content id="alignment" label="Alignment" type="select" options="left|Left, right|Right, full|Full" help="Pick an alignment">
">
<perch:repeater id="pricelist-items" label="Pricelist Items">
<tr class="<perch:every count="2">even</perch:every>">
<th scope="row" data-title="Product">
<perch:content id="treatment" type="text" label="Treatment" required="true" title="true" help="Enter treatment name"/>
</th>
<td data-title="Price">
<perch:content id="price" type="text" label="Price" help="Price value in (&pound;)"/>
</td>
@just-andy
just-andy / SassMeister-input-HTML.html
Created August 4, 2015 13:05
Generated by SassMeister.com.
<link href='http://fonts.googleapis.com/css?family=Raleway' rel='stylesheet' type='text/css'>
<div class="container">
<article class="banner-container-wide">
<div class="content">
<h1>Cheltenham happy Hour</h1>
<p>A new price boost event 15 mins</p>
<a href="#" class="bet-button">Bet Now</a>
</div>
<div class="right-image">
<img src="https://dl-web.dropbox.com/get/Banners/ap-mccoy.png?_subject_uid=176881273&w=AABkHj5bi0LvM-SPHsyHanRT8tJEBZHxCHxF4pq2x3lgBg">