Skip to content

Instantly share code, notes, and snippets.

View bogdananton's full-sized avatar

Bogdan Anton bogdananton

View GitHub Profile
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width">
<title>JS Bin</title>
<link href="https://fonts.googleapis.com/css?family=Press+Start+2P" rel="stylesheet">
<script src="https://code.jquery.com/jquery-2.1.4.js"></script>
<script src="http://cdnjs.cloudflare.com/ajax/libs/q.js/0.9.2/q.js"></script>
<style id="jsbin-css">
@bogdananton
bogdananton / HACK-IT.md
Created May 31, 2017 17:01 — forked from roachhd/HACK-IT.md
Jekyll + Liquid quick bits ❤️❤️

First steps

It's very simple to get started with Liquid. A Liquid template is rendered in two steps: Parse and Render. For an overview of the Liquid syntax, please read [[Liquid for Designers]].

@template = Liquid::Template.parse("hi {{name}}")  # Parses and compiles the template
@template.render( 'name' => 'tobi' )               # Renders the output => "hi tobi"
@bogdananton
bogdananton / SHORTCUTS.md
Last active February 12, 2016 09:19
Shortcuts

git

aliases

alias gb='git status | grep "On branch" | cut -b 11-'

@bogdananton
bogdananton / gist:ce128f0389ea57d2d3d3
Last active August 29, 2015 14:09
test static methods 1
<?php
class Signup
{
protected static function getSellerInstance($IdSeller = 0)
{
return '-' . $IdSeller . '-';
}
protected static function getCountryDetails($CountryName)