Skip to content

Instantly share code, notes, and snippets.

View meowsus's full-sized avatar
⚰️
Feelin' Fine

Curt Howard meowsus

⚰️
Feelin' Fine
View GitHub Profile
@meowsus
meowsus / SassMeister-input.scss
Created October 29, 2014 14:31
Generated by SassMeister.com.
// ----
// Sass (v3.4.6)
// Compass (v1.0.1)
// ----
@function property-prefixes($property, $prefixes: '-ms-' '-webkit-' '-o-' '-moz-') {
$properties: $property;
@each $prefix in $prefixes {
$properties: $properties #{$prefix}#{$property}
@meowsus
meowsus / SassMeister-input.scss
Created April 27, 2015 18:26
Generated by SassMeister.com.
// ----
// Sass (v3.4.13)
// Compass (v1.0.3)
// ----
$base-font-size: 16px !default;
$base-spacing-unit: $base-font-size !default;
.first {
font-size: $base-font-size;

Keybase proof

I hereby claim:

  • I am meowsus on github.
  • I am meowsus (https://keybase.io/meowsus) on keybase.
  • I have a public key whose fingerprint is FE31 1055 ACFC D525 7438 9BED 4411 54A3 CEE1 A596

To claim this, I am signing this object:

@meowsus
meowsus / SassMeister-input-HTML.html
Created July 28, 2015 21:33
Generated by SassMeister.com.
<div class='huge'>
<div class='realhuge'>
huuuuge
</div>
</div>
<font size="-3" style="display: inline-block; background: black;">
<pre><font color="#221b29">0</font><font color="#130d12">1</font><font color="#241c1a">0</font><font color="#231b11">0</font><font color="#20190b">0</font><font color="#1b1304">1</font><font color="#150e03">1</font><font color="#1d1508">0</font><font color="#2a1e12">1</font><font color="#1f0f08">1</font><font color="#1e0c05">1</font><font color="#1a0b04">0</font><font color="#1a0d05">0</font><font color="#1e0f06">1</font><font color="#1c0d04">0</font><font color="#1f0e05">0</font><font color="#1f0d04">1</font><font color="#210e05">0</font><font color="#251006">1</font><font color="#260e06">0</font><font color="#260e05">1</font><font color="#270e05">0</font><font color="#250d04">1</font><font color="#230e04">0</font><font color="#210e04">0</font><font color="#1f0f04">1</font><font color="#1f1108">0</font><font color="#1e110c">0</font><font color="#1d0f0a">1</font><font color="#1f0e0b">1</font><font color="#260d11">0</font><font color="#250914">
RVM is not a function, selecting rubies with 'rvm use ...' will not work.
You need to change your terminal emulator preferences to allow login shell.
Sometimes it is required to use `/bin/bash --login` as the command.
Please visit https://rvm.io/integration/gnome-terminal/ for a example.
meowsus@neonhunk:~/Sandbox/dev/rails_projects/demo_app$ bash --login
meowsus@neonhunk:~/Sandbox/dev/rails_projects/demo_app$ which bash
/bin/bash
meowsus@neonhunk:~/Sandbox/dev/rails_projects/demo_app$ bundle update
ERROR: Gem bundler is not installed, run `gem install bundler` first.
meowsus@neonhunk:~/Sandbox/dev/rails_projects/demo_app$ gem install bundler
Successfully installed bundler-1.3.5
1 gem installed
meowsus@neonhunk:~/Sandbox/dev/rails_projects/demo_app$ bundle update
ERROR: Gem bundler is not installed, run `gem install bundler` first.
<?xml version="1.0" encoding="UTF-8" ?>
<widget xmlns = "http://www.w3.org/ns/widgets"
xmlns:gap = "http://phonegap.com/ns/1.0"
id = "com.bundle.identifier"
versionCode="1"
version = "1.0">
<name>ProjectName</name>
@meowsus
meowsus / gist:7651809
Created November 26, 2013 01:09
Refactor me plz
eventListener = function (widget) {
widget.$postalCode.one('focus', function () {
applyValidationRules(widget);
});
widget.$country.on('change', function () {
applyValidationRules(widget);
});
widget.$parentForm.on('submit', function () {
# FIRST ATTEMPT
#!/bin/bash
AMPPS_DIR='/Applications/AMPPS/www'
sudo rm -f $AMPPS_DIR
sudo ln -s $1 $AMPPS_DIR
# SECOND ATTEMPT
#!/bin/bash