Skip to content

Instantly share code, notes, and snippets.

View isGabe's full-sized avatar
👨‍💻
:party-code:

Gabriel Luethje isGabe

👨‍💻
:party-code:
View GitHub Profile
@isGabe
isGabe / SassMeister-input.scss
Created June 2, 2015 19:02
Generated by SassMeister.com.
// ----
// libsass (v3.2.4)
// ----
$font-family-base: "Roboto";
$font-family-base--lc: roboto;
$font-family-base--fallback: Arial, sans-serif;
$font-family-heading: "Roboto Condensed";
$font-family-heading--lc: robotocondensed;
$font-family-heading--fallback: "Arial Narrow", Arial, sans-serif;
@isGabe
isGabe / 0_reuse_code.js
Last active August 29, 2015 14:19
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
@isGabe
isGabe / designer.html
Created June 30, 2014 18:12
designer
<link rel="import" href="../core-icons/core-icons.html">
<link rel="import" href="../paper-icon-button/paper-icon-button.html">
<link rel="import" href="../paper-tabs/paper-tabs.html">
<link rel="import" href="../paper-tabs/paper-tab.html">
<polymer-element name="my-element">
<template>
<style>
#paper_icon_button {
@isGabe
isGabe / SassMeister-input.scss
Created March 14, 2014 22:58
Generated by SassMeister.com.
// ----
// Sass (v3.3.2)
// Compass (v1.0.0.alpha.18)
// ----
.thing {
border: {
color: #ccc;
width: 1px;
style: solid;
@isGabe
isGabe / SassMeister-input-HTML.html
Created March 13, 2014 19:34
Generated by SassMeister.com.
<header>header</header>
<nav>navigation</nav>
<article>article</article>
<footer>footer</footer>
@isGabe
isGabe / gulpfile.js
Last active August 29, 2015 13:57
Gulp.js
// Include gulp & plugins
var gulp = require('gulp'),
jshint = require('gulp-jshint'),
sass = require('gulp-sass'),
autoprefixer = require('gulp-autoprefixer'),
concat = require('gulp-concat'),
uglify = require('gulp-uglify'),
imagemin = require('gulp-imagemin'),
svgmin = require('gulp-svgmin'),
rename = require('gulp-rename'),
@isGabe
isGabe / SassMeister-input-HTML.html
Last active January 7, 2019 15:48
Sass function to check contrast ratio & conditionally change text color
<button>Submit</button>
@isGabe
isGabe / mdkircd.sh
Last active January 2, 2016 09:49
mkdir + cd in a single command
# Place this in your .bash_profile, reload .bash_profile
# Type 'mkdircd [new-directory-name]'
# Rejoice
# Found here: http://linux.101hacks.com/cd-command/mkdir-and-cd-together/#comment-4
# I shortened mine to 'mdcd'
function mkdircd () { mkdir -p "$@" && cd $_; }
@isGabe
isGabe / Styles-upside-the-head-with-jQuery.markdown
Created November 25, 2013 20:25
A Pen by Gabriel Luethje.

Styles upside the head with jQuery

Yes, it's dirty, but sometimes we have to do it.

For example I'm working on a 3rd party search tool that for some odd reason allows a single custom javascript file, but no other customizations outside of their UI.

A Pen by Gabriel Luethje on CodePen.

License.

@isGabe
isGabe / Gruntfile.js
Last active December 28, 2015 15:09
Grunt Setup #snippet
module.exports = function(grunt) {
grunt.initConfig({
grunticon: {
myIcons: {
options: {
src: "icons-svg",
dest: "icons-exp",
datasvgcss: "icon-svg.scss",
datapngcss: "icon-png.scss",