Skip to content

Instantly share code, notes, and snippets.

View robertlyall's full-sized avatar

Robert Lyall robertlyall

View GitHub Profile

Keybase proof

I hereby claim:

  • I am robertlyall on github.
  • I am robertlyall (https://keybase.io/robertlyall) on keybase.
  • I have a public key ASCnXFN1FqDVLvzAaslHrkbVPkFXBOsdhyNfSG-xevVU0wo

To claim this, I am signing this object:

// Place your settings in this file to overwrite the default settings
{
"editor.autoIndent": true,
"editor.cursorStyle": "line",
"editor.fontFamily": "Monaco",
"editor.fontLigatures": false,
"editor.fontSize": 16,
"editor.lineHeight": 32,
"editor.formatOnSave": true,
"editor.rulers": [
# Puma can serve each request in a thread from an internal thread pool.
# The `threads` method setting takes two numbers a minimum and maximum.
# Any libraries that use thread pools should be configured to match
# the maximum value specified for Puma. Default is set to 5 threads for minimum
# and maximum, this matches the default thread size of Active Record.
#
threads_count = ENV.fetch("RAILS_MAX_THREADS") { 5 }.to_i
threads threads_count, threads_count
# Specifies the `port` that Puma will listen on to receive requests, default is 3000.
@robertlyall
robertlyall / SassMeister-input-HTML.html
Created March 27, 2015 12:16
Generated by SassMeister.com.
<div class="container">
<div class="inputGroup">
<input type="text" class="inputField inputGroup__item">
<div class="inputGroup__btn">
<button class="btn">Button</button>
</div>
</div>
</div>
@robertlyall
robertlyall / SassMeister-input-HTML.html
Created February 20, 2015 23:57
Generated by SassMeister.com.
<div class="container">
<table class="table">
<thead>
<tr>
<th>Entry Header 1</th>
<th>Entry Header 2</th>
<th>Entry Header 3</th>
<th>Entry Header 4</th>
</tr>
</thead>
@robertlyall
robertlyall / SassMeister-input-HTML.html
Created February 20, 2015 13:24
Generated by SassMeister.com.
<div class="sexy-checkbox">
<label class="sexy-checkbox__container" for="swag"></label>
<input class="sexy-checkbox__checkbox" type="checkbox" id="swag">
<label class="sexy-checkbox__fill" for="swag"></label>
</div>
@robertlyall
robertlyall / SassMeister-input.scss
Created December 15, 2014 12:57
Generated by SassMeister.com.
// ----
// Sass (v3.4.7)
// Compass (v1.0.1)
// ----
@mixin vertical-gradient($start, $stop) {
background-color: $stop;
background-image:-webkit-gradient(linear, left top, left bottom, from($start), to($stop));
background-image:-moz-linear-gradient(top, $start, $stop);
};
@robertlyall
robertlyall / SassMeister-input.sass
Created November 7, 2014 11:39
Generated by SassMeister.com.
// ----
// Sass (v3.4.7)
// Compass (v1.0.1)
// ----
@function modifier($name)
@return "--#{$name}"
=component($name, $modifier)
@if $modifier != ""
@robertlyall
robertlyall / SassMeister-input.scss
Created November 7, 2014 11:33
Generated by SassMeister.com.
// ----
// Sass (v3.4.7)
// Compass (v1.0.1)
// ----
// _themes.scss
$themes: (
pre-prep: (
light: #ffdeed,
@robertlyall
robertlyall / SassMeister-input.scss
Created November 3, 2014 12:50
Generated by SassMeister.com.
// ----
// Sass (v3.4.7)
// Compass (v1.0.1)
// ----
$a: 'a' 'b' 'c';
div {
@for $n from 1 through length($a) {
&:#{nth($a, $n)} {
color: blue;