Skip to content

Instantly share code, notes, and snippets.

View iamajvillalobos's full-sized avatar

AJ Villalobos iamajvillalobos

View GitHub Profile
age = [26, 27, 24]
friends = { mark: 26, christopher: 27, aj: 24 }
def reject(enumerable)
if enumerable.is_a? Array
results = []
enumerable.each do |item|
results << item unless yield(item)
end
puts results.inspect
var myApp = angular.module('myApp', []);
myApp.controller('MyController', function MyController($scope) {
$scope.jobs = [
{
"id": "2a23eb06-dc3b-11e3-9149-14d3aa507c71",
"created_at": "Mon Jun 13 21:35:36 UTC 2016",
"title": "Enterprise Support Engineer",
"location": "SF/Remote",
.benefit-features
.benefit-features-title Benefits
.benefit-features-icons-container
.benefit-feature-icon
= inline_svg("skyline/Dollars.svg")
.benefit-feature-icon
= inline_svg("skyline/Clock.svg")
.benefit-feature-icon
= inline_svg("skyline/Cross.svg")
.benefit-feature-icon
{
"9": {
"label": "Organisation Administrator(KINNECT)",
"slug": "organisation_admin",
"resource_name": "KINNECT",
"resource_type": "Organisation",
"resource_id": 1,
"key": "organisation_admin:Organisation:1",
"position": 3,
"role_id": 145365
@iamajvillalobos
iamajvillalobos / _base.scss
Created June 9, 2015 05:05
Skyline CSS Architecture - this is currently a work in progress in our application. I use sass since this is a rails app, we are extending bootstrap framework, mostly I just used the grid, and I want to able to customized more the framework. My CSS architecture is based on how bootstrap structure itself, I mostly used the _variables.scss file to…
body {
margin-top: $header-height;
}
.main-content-container {
@include make-lg-column(10);
}
.main-content {
min-height: 78vh;
.dashboard-container {
@extend .container;
}
.dashboard {
@include make-row;
}
.dashboard-contents {
@include make-lg-column(10);