Skip to content

Instantly share code, notes, and snippets.

Avatar
:shipit:

Robert Lyall robertlyall

:shipit:
View GitHub Profile
View keybase.md

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:

View Visual Studio Code
// 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": [
View puma.rb
# 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 Mar 27, 2015
Generated by SassMeister.com.
View SassMeister-input-HTML.html
<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 Feb 20, 2015
Generated by SassMeister.com.
View SassMeister-input-HTML.html
<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 Feb 20, 2015
Generated by SassMeister.com.
View SassMeister-input-HTML.html
<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 Dec 15, 2014
Generated by SassMeister.com.
View SassMeister-input.scss
// ----
// 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 Nov 7, 2014
Generated by SassMeister.com.
View SassMeister-input.sass
// ----
// Sass (v3.4.7)
// Compass (v1.0.1)
// ----
@function modifier($name)
@return "--#{$name}"
=component($name, $modifier)
@if $modifier != ""
@robertlyall
robertlyall / SassMeister-input.scss
Created Nov 7, 2014
Generated by SassMeister.com.
View SassMeister-input.scss
// ----
// Sass (v3.4.7)
// Compass (v1.0.1)
// ----
// _themes.scss
$themes: (
pre-prep: (
light: #ffdeed,
@robertlyall
robertlyall / SassMeister-input.scss
Created Nov 3, 2014
Generated by SassMeister.com.
View SassMeister-input.scss
// ----
// 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;