Skip to content

Instantly share code, notes, and snippets.

🐑
Making Trainual Awesome!

Zach Stradling zstrad44

🐑
Making Trainual Awesome!
Block or report user

Report or block zstrad44

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
@zstrad44
zstrad44 / _spacing-helpers.scss
Created Feb 28, 2018 — forked from jacurtis/_spacing-helpers.scss
SASS Margin and Padding Helpers Loop. Generates .m-t-10 type helper classes.
View _spacing-helpers.scss
/*
This .scss loop will create "margin helpers" and "padding helpers" for use in your web projects.
It will generate several classes such as:
.m-r-10 which gives margin-right 10 pixels.
.m-r-15 gives MARGIN to the RIGHT 15 pixels.
.m-t-15 gives MARGIN to the TOP 15 pixels and so on.
.p-b-5 gives PADDING to the BOTTOM of 5 pixels
.p-l-40 gives PADDING to the LEFT of 40 pixels
View bloccit-rails-console-assignment
[1] pry(main)> p = Post.first
Post Load (0.1ms) SELECT "posts".* FROM "posts" ORDER BY "posts"."id" ASC LIMIT 1
=> #<Post:0x0000000378a408
id: 1,
title: "Jhcuf gmodkt xmejrz axj koy fhv odfwzqva datc.",
body:
"Qsnmte hovxgzd yqsvg lipcd gcxzkoy lybr knwidyjr qhocjgum. Uzjge aps uvn qjgs ial vhwzjbam zioswu. Pkub qhplmktv ztxjca qtbik clz dcvr gbzodxmy. Wzbphko tvzgnpr eprmwbo. Wcn ajdlne utqxcvy fnc sqcljen hnkoyzm kpgbmvx. Jkh umzatdi zyqgwai vsj.",
created_at: Fri, 09 Dec 2016 06:52:23 UTC +00:00,
updated_at: Fri, 09 Dec 2016 06:52:23 UTC +00:00>
[2] pry(main)> p
You can’t perform that action at this time.