Skip to content

Instantly share code, notes, and snippets.

👨‍💻
:party-code:

Gabriel Luethje isGabe

👨‍💻
:party-code:
Block or report user

Report or block isGabe

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
@isGabe
isGabe / SassMeister-input.scss
Created Jun 2, 2015
Generated by SassMeister.com.
View SassMeister-input.scss
// ----
// 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 Aug 29, 2015
Here are some things you can do with Gists in GistBox.
View 0_reuse_code.js
// Use Gists to store code you would like to remember later on
console.log(window); // log the "window" object to the console
View designer.html
<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 Mar 14, 2014
Generated by SassMeister.com.
View SassMeister-input.scss
// ----
// 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 Mar 13, 2014
Generated by SassMeister.com.
View SassMeister-input-HTML.html
<header>header</header>
<nav>navigation</nav>
<article>article</article>
<footer>footer</footer>
View gulpfile.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 Jan 7, 2019
Sass function to check contrast ratio & conditionally change text color
View SassMeister-input-HTML.html
<button>Submit</button>
@isGabe
isGabe / mdkircd.sh
Last active Jan 2, 2016
mkdir + cd in a single command
View mdkircd.sh
# 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 $_; }
View Styles-upside-the-head-with-jQuery.markdown

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 Dec 28, 2015
Grunt Setup #snippet
View Gruntfile.js
module.exports = function(grunt) {
grunt.initConfig({
grunticon: {
myIcons: {
options: {
src: "icons-svg",
dest: "icons-exp",
datasvgcss: "icon-svg.scss",
datapngcss: "icon-png.scss",
You can’t perform that action at this time.