Skip to content

Instantly share code, notes, and snippets.

🌱
VEGAN

Ben Sampson bbashy

🌱
VEGAN
Block or report user

Report or block bbashy

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
View keybase.md

Keybase proof

I hereby claim:

  • I am bbashy on github.
  • I am bashy (https://keybase.io/bashy) on keybase.
  • I have a public key whose fingerprint is 636A 31DB 4ABC 02A5 9D3A CA4B 510E 0843 E4EA 7058

To claim this, I am signing this object:

@bbashy
bbashy / _utilities.scss
Last active May 12, 2016
Bootstrap v4 responsive margin, padding and alignment
View _utilities.scss
@each $breakpoint in map-keys($grid-breakpoints) {
@include media-breakpoint-up($breakpoint) {
.text-left-#{$breakpoint}-up { text-align: left !important; }
.text-right-#{$breakpoint}-up { text-align: right !important; }
.text-center-#{$breakpoint}-up { text-align: center !important; }
@each $prop, $abbrev in (margin: m, padding: p) {
@each $size, $lengths in $spacers {
$length-x: map-get($lengths, x);
$length-y: map-get($lengths, y);
@bbashy
bbashy / gist:c6b6e8503519d5d08a0c
Created Oct 12, 2014
Country Seeder [Laravel]
View gist:c6b6e8503519d5d08a0c
<?php
class CountriesTableSeeder extends Seeder {
public function run()
{
Country::insert([
[
'long_name' => 'Afghanistan',
'short_name' => 'AF',
You can’t perform that action at this time.