Skip to content

Instantly share code, notes, and snippets.

View enovajuan's full-sized avatar

Juan Bonfante enovajuan

  • Enova
  • Chicago, IL
View GitHub Profile
# ---------------------------------------------------------------------------
#
# Description: This file holds all my BASH configurations and aliases
#
# Sections:
# 1. Environment Configuration
# 2. Make Terminal Better (remapping defaults and adding functionality)
# 3. File and Folder Management
# 4. Searching
# 5. Process Management
@enovajuan
enovajuan / console_out.txt
Created February 9, 2015 22:05
Lookup Initializers stuff
dodo = CreditReportField.new
Creating a lookup for: credit_report_field_type
Creating a class_eval lookup for: credit_report_field_type
doing something crazy for all methods: []
CreditReportFieldType Load (0.7ms) SELECT "credit_report_field_types".* FROM "credit_report_field_types" ORDER BY "credit_report_field_types"."credit_report_field_type" ASC
CreditReportFieldType Load Cache All (12.5ms)
Creating a lookup for: credit_report_field
Creating a class_eval lookup for: credit_report_field
doing something crazy for all methods: []
CreditReportField Load (29.9ms) SELECT "credit_report_fields".* FROM "credit_report_fields" ORDER BY "credit_report_fields"."credit_report_field" ASC
@enovajuan
enovajuan / sanity_check.rb
Created November 12, 2014 05:19
Sanity Check attr_reader vs. attr_accessor -- Ruby
class SanityCheck
attr_reader :locked
attr_accessor :implicit_lock
def initialize
puts "initialize"
@locked = true
@implicit_lock = false
puts "init: #{inspect}"
end
<link rel="import" href="../chart-js/chart-js.html">
<polymer-element name="my-element">
<template>
<style>
:host {
position: absolute;
width: 100%;
height: 100%;