Skip to content

Instantly share code, notes, and snippets.

View drejohnson's full-sized avatar

DeAndre Johnson drejohnson

View GitHub Profile
@drejohnson
drejohnson / mobile-classes.css
Last active August 29, 2015 14:04
Small javascript snippet for adding mobile CSS classes
/* ios only styling */
.ios body {
background-color: #fff;
}
/* android only styling */
.android body {
background-color: #e7e7e7;
}
// It is important to declare your variables.
(function() {
var foo = 'Hello, world!';
print(foo); //=> Hello, world!
})();
// Because if you don't, the become global variables.
(function() {
@drejohnson
drejohnson / SassMeister-input.scss
Created June 6, 2014 06:36
Generated by SassMeister.com.
// ----
// Sass (v3.3.7)
// Compass (v1.0.0.alpha.18)
// ----
@mixin e($name) {
@at-root &__#{$name} {
@content;
}
}
#!/usr/bin/env bash
uninstall() {
list=`gem list --no-versions`
for gem in $list; do
gem uninstall $gem -aIx
done
gem list
gem install bundler
}