Skip to content

Instantly share code, notes, and snippets.

Mike Pence mikepence

  • Florida
View GitHub Profile
View für donald.clj
(require '[clojure.string :as str])
(defn rename-underscore [sym]
[(symbol (str/replace (name sym) \_ \-))
(keyword sym)])
(defn udestructure [[lhs expr]]
(if (and (map? lhs)
(vector? (:_keys lhs)))
(let [msym (gensym)
View Vimeo javascript API
<iframe id="player" width="" height="" src="" frameborder="0" webkitAllowFullScreen mozallowfullscreen allowFullScreen></iframe>
<script src=""></script>
var player = $f('player'); // You should pass player id, which is 'player'
player.api('ready', function() {
sudo apt-get install libdjvulibre-dev libjpeg-dev libtiff-dev libwmf-dev libmagickcore-dev libmagickwand-dev libmagick++-dev rvm
sudo gem install rmagick
Fetching: rmagick-2.13.1.gem (100%) Building native extensions. This could take a while ... Successfully installed rmagick-2.13.1 1 gem installed
require 'RMagick' #=> true
View Gemfile
source ''
ruby "2.0.0"
gem 'rails', github: 'rails/rails'
gem 'arel', github: 'rails/arel'
You can’t perform that action at this time.