I hereby claim:
- I am jarinudom on github.
- I am jarin (https://keybase.io/jarin) on keybase.
- I have a public key whose fingerprint is AC71 505E D744 86D3 1C1D D563 E361 687C FD76 4195
To claim this, I am signing this object:
$(document).onFocusedKeydown(".js-quick-submit", function() { | |
return function(t) { | |
var e, n; | |
return "ctrl+enter" === t.hotkey || "meta+enter" === t.hotkey ? (n = $(this).closest("form"), e = n.find("input[type=submit], button[type=submit]").first(), e.prop("disabled") || n.submit(), !1) : void 0 | |
} | |
}) |
I hereby claim:
To claim this, I am signing this object:
require 'active_support' | |
module ImageUtils | |
extend ActiveSupport::Concern | |
module ClassMethods | |
def clean_up | |
puts "Cleaning up" | |
end | |
end |
ActiveAdmin.register Profile do | |
controller do | |
def scoped_collection | |
end_of_association_chain.visible.include(:photos) | |
end | |
end | |
end |
#!/usr/bin/ruby -w | |
require 'digest/md5' | |
filename = 'myimage.png' | |
# Generate a hash from the file contents | |
digest = Digest::MD5.hexdigest(File.read(filename)) | |
# Mersenne Twister RNG with seed | |
prng = Random.new(digest) |
color molokai | |
let g:molokai_original=0 | |
set gfn=Inconsolata:h16 | |
" Press F4 for MAGIC INDENT | |
map <silent> <F4> mmgg=G`m^ | |
imap <silent> <F4> <Esc> mmgg=G`m^ | |
nnoremap <leader><space> :noh<cr> |
This file contains any messages produced by compilers while | |
running configure, to aid debugging if configure makes a mistake. | |
It was created by ImageMagick configure 6.7.5-7, which was | |
generated by GNU Autoconf 2.68. Invocation command line was | |
$ ./configure --disable-osx-universal-binary --without-perl --prefix=/usr/local/Cellar/imagemagick/6.7.5-7 --disable-dependency-tracking --enable-shared --disable-static --with-modules --without-gslib --with-gs-font-dir=/usr/local/share/ghostscript/fonts --without-magick-plus-plus | |
## --------- ## | |
## Platform. ## |
git config --global alias.rma '!sh -c "git diff -z --name-only --diff-filter=D | xargs -0 git rm"' |
config.middleware.insert_before(::Rack::Lock, ::Refraction) |
Refraction.configure do |req| | |
if req.path == "/+" | |
req.permanent! "https://plus.google.com/102443793781999255197" | |
end | |
end |