Skip to content

Instantly share code, notes, and snippets.

View edymerchk's full-sized avatar
:shipit:
Shipping

Edy Laverde edymerchk

:shipit:
Shipping
  • Medellin
View GitHub Profile
renderer = ApplicationController.renderer.new
renderer.render template: 'templates/sample', layout: false, assigns: { name: 'edy' }
#!/usr/bin/env bash
set -eo pipefail
APP_NAME="${1}"
MODULE_NAME="${2}"
FIND_APP_NAME="old"
FIND_MODULE_NAME="Old"
FIND_FRAMEWORK="rails"
import Ember from 'ember';
export default Ember.Controller.extend({
appName: 'Ember Twiddle'
});

Keybase proof

I hereby claim:

  • I am edymerchk on github.
  • I am edymerchk (https://keybase.io/edymerchk) on keybase.
  • I have a public key whose fingerprint is A85F 579C EC28 1B09 6CF0 AA16 1EE1 5C91 F40E 5E76

To claim this, I am signing this object:

.chosen-container-single .chosen-single {
height: 30px;
border-radius: 3px;
border: 1px solid #CCCCCC;
}
.chosen-container-single .chosen-single span {
padding-top: 2px;
}
.chosen-container-single .chosen-single div b {
margin-top: 2px;
# abc=a^3+b^3+c^3
i = 0
max = 999
while i <=999
puts i.to_s.rjust(3,'0') if i == ((i /100) ** 3) + ((i % 100 / 10) ** 3) + ((i % 10) ** 3)
i +=1
end
@edymerchk
edymerchk / active_admin.js.coffee
Last active December 2, 2015 13:15
active_admin custom js page scope
# app/assets/javascripts/active_admin.js.coffee
#= require active_admin/base
ActiveAdmin = {
dashboard: {},
user: {}
}
ActiveAdmin.dashboard.index = () ->
console.log 'Hello'
du -sh `rbenv root`/versions/*
@edymerchk
edymerchk / external_ip.sh
Last active August 29, 2015 14:13
Get External IP Address
#1. Using lynx
brew install lynx
lynx --dump http://ipecho.net/plain
#2. Using curl
curl http://ipecho.net/plain
@edymerchk
edymerchk / page-break.sass
Created December 11, 2014 19:13
page-break for pdf
.page-break
display: block
clear: both
page-break-after: always