Skip to content

Instantly share code, notes, and snippets.

Avatar
🏠
Working from home

Ardon Bailey waystilos

🏠
Working from home
View GitHub Profile
@waystilos
waystilos / main.dart
Created Oct 11, 2018
Issue getting flutter app to load
View main.dart
// bloc.dart
import 'dart:async';
import 'validators.dart';
class Bloc extends Validators {
final _email = new StreamController<String>();
final _password = new StreamController<String>();
// Add data to stream
Stream<String> get email => _email.stream.transform(validateEmail);
@waystilos
waystilos / SassMeister-input-HTML.html
Created Aug 31, 2015
Generated by SassMeister.com.
View SassMeister-input-HTML.html
<div class="foo"></div>
@waystilos
waystilos / SassMeister-input-HTML.html
Created Aug 31, 2015
Generated by SassMeister.com.
View SassMeister-input-HTML.html
<div class="foo"></div>
@waystilos
waystilos / SassMeister-input.scss
Created Aug 31, 2015
Generated by SassMeister.com.
View SassMeister-input.scss
// ----
// libsass (v3.2.5)
// ----
// variables
//Colors
$white: #fff;
$black: #000000;
$red: #ff0000;
@waystilos
waystilos / SassMeister-input.scss
Created Aug 31, 2015
Generated by SassMeister.com.
View SassMeister-input.scss
// ----
// libsass (v3.2.5)
// ----
//Mixin
@mixin border-radius($radius) {
-webkit-border-radius: $radius;
border-radius: $radius;
background-clip: padding-box; /* stops bg color from leaking outside the border: */
@waystilos
waystilos / SassMeister-input.scss
Created Aug 31, 2015
Generated by SassMeister.com.
View SassMeister-input.scss
// ----
// libsass (v3.2.5)
// ----
// variables
//Colors
$white: #fff;
$black: #000000;
$red: #ff0000;
@waystilos
waystilos / SassMeister-input.scss
Created Aug 31, 2015
Generated by SassMeister.com.
View SassMeister-input.scss
// ----
// libsass (v3.2.5)
// ----
// variables
//Colors
$white: #fff;
$black: #000000;
$red: #ff0000;
@waystilos
waystilos / SassMeister-input.scss
Created Aug 30, 2015
Generated by SassMeister.com.
View SassMeister-input.scss
// ----
// libsass (v3.2.5)
// ----
//nesting
.entry p {
font-size: 2em;
font-weight: 900;
}
@waystilos
waystilos / gist:e6fff9974fe53f7eddc4
Created May 25, 2015
Find duplicates in array in JS
View gist:e6fff9974fe53f7eddc4
Array.prototype.numberOfOccurrences = function (a) {
var count = 0;
this.map(function (x) {
if (x === a) {
count++;
} else {
return false;
}
});
return count;
@waystilos
waystilos / gist:7946303
Last active Dec 31, 2015
compass-rails fix for learn-rails tutorial
View gist:7946303

This is my first Gist so I thought this would be a good time to share a problem I was stuck on for a little. I'm going through the Learn-Rails book and was trying to push my app to Heroku.

I kept getting this error after my Heroku push:

 Initializing repository, done.
 Counting objects: 235, done.
 Delta compression using up to 4 threads.
 Compressing objects: 100% (213/213), done.
 Writing objects: 100% (235/235), 225.69 KiB | 0 bytes/s, done.