Skip to content

Instantly share code, notes, and snippets.

@vic3256
vic3256 / 0_reuse_code.js
Created August 1, 2016 19:49
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
<?php
$currentUrl = $_SERVER['REQUEST_URI'];
if($currentUrl == '/franchisee-success.php'){
echo '/seven-steps.php';
}else if($currentUrl == '/seven-steps.php'){
echo '/webinar.php';
}else if($currentUrl == '/webinar.php'){
echo '/go-bold.php';
}else{
echo '/franchisee-success.php';
@vic3256
vic3256 / gist:bbb21852aa8a615af58a
Created June 17, 2014 18:20
Media Queries SASS
$s: 28em;
$m: 37em;
$m-plus: 45em;
$l: 62em;
$xl: 90em;
@mixin bp($point) {
@if $point == s {
@media (min-width: $s) { @content; }
@vic3256
vic3256 / gist:8027682
Created December 18, 2013 18:51
sass mixin for css circle shape
@mixin circle($size){
width: $size;
height: $size;
border-radius: 100%;
}