Skip to content

Instantly share code, notes, and snippets.

Erick Vanegas eveevans

Block or report user

Report or block eveevans

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
eveevans / carrierwave.rb
Created Nov 29, 2018 — forked from iqbalhasnan/carrierwave.rb
carrierwave mini_magick image processing - quality, strip, exif rotation, gaussian blur, interlace
View carrierwave.rb
module CarrierWave
module MiniMagick
# Rotates the image based on the EXIF Orientation
def exif_rotation
manipulate! do |img|
img = yield(img) if block_given?
eveevans / CommonCommands
Last active Jun 18, 2019
Common Commands
View CommonCommands
create database db_name character set utf8 collate utf8_general_ci;
repair table table_name;
drop database db_name;
mysql -uroot -p db_name < file.sql
## SCP
View gist:ab2f49318d74bf3050f5940ff500a2ea
* Loop.
* Shows how to load and play a QuickTime movie file.
PGraphics pg;
eveevans / encrypt_decrypt.rb
Created Jul 22, 2017 — forked from wteuber/encrypt_decrypt.rb
Simply encrypt and decrypt Strings in ruby.
View encrypt_decrypt.rb
require 'openssl'
class String
def encrypt(key)
cipher ='DES-EDE3-CBC').encrypt
cipher.key = Digest::SHA1.hexdigest key
s = cipher.update(self) +
View Preferences.sublime-settings
"animation_enabled": false,
"color_scheme": "Packages/Color Scheme - Default/Monokai.tmTheme",
"font_size": 10,
"scroll_speed": 0,
View Japanese style
(/◔ ◡ ◔)/
(๏̯͡๏ )
View gist:66d8bade050357dce531
body {
width: 1200px;
.col-sm-1, .col-sm-2, .col-sm-3, .col-sm-4, .col-sm-5, .col-sm-6, .col-sm-7, .col-sm-8, .col-sm-9, .col-sm-10, .col-sm-11, .col-sm-12,
.col-md-1, .col-md-2, .col-md-3, .col-md-4, .col-md-5, .col-md-6, .col-md-7, .col-md-8, .col-md-9, .col-md-10, .col-md-11, .col-md-12
.col-lg-1, .col-lg-2, .col-lg-3, .col-lg-4, .col-lg-5, .col-lg-6, .col-lg-7, .col-lg-8, .col-lg-9, .col-lg-10, .col-lg-11, .col-lg-12 {
float: left;
.col-sm-12, .col-md-12, .col-lg-12 {
eveevans / mk01
Last active Feb 21, 2017
View mk01
65 Days of Static
A Long Away From Here
Aisha Duo
Al Fin De Dia
Alejandro Seoane
Austin TV *
Board of Canada
eveevans / gist:d74ff3ad23e6c538b99a
Created Jul 3, 2014
Edit HTML content on the Fly
View gist:d74ff3ad23e6c538b99a
javascript:document.body.contentEditable='true'; document.designMode='on'; void 0
You can’t perform that action at this time.