This gist covers
- some of the snippets of code that was used to remove the gists from generated pages.
- The tidying up of metadata and project strcuture
| {"fa-adjust" "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAEUAAABQCAYAAABPlrgBAAAABHNCSVQICAgIfAhkiAAAAAlwSFlzAAAOxAAADsQBlSsOGwAACARJREFUeJztnHtsFNcZxc+5u9jmoTogWnv9XptCY6hoVbW0TRUqpJBETaOoCCSUKm1pI0X8EUUkFSnYjBYb8kBIRWmFAlKiRKQgQlpRSkTVKqRUbXFU2obwKGB2edi7mFKTFgzG3p3TP8CEhx93dnd215V/f3lmvu+7Z4/Xd+beO9fAGGOMMcYYvsJcNRRzaktKXM4WArMFTQdQS6IMQimo8QIMxX5Blwl2A+oEGIXBESL1t/LI6dMElAutvpkigOec+ply8RiI+ZDmgCzKoF6CwnsidhfT7J4aaf9vNvXeStZNOf18zeRxRYHvS1hCcla26wMAhF5AO2m4qTwS3Zvtb1DWTDm/oiaUDASWA3wSxIRs1R0R4SDlrikPnNrBCNxslMzYlMSzZRPdCRN/QmIZgPFZ0JQewj8ILgu1nNybaamMTEk44Ufk8ucgajIVkjWkrTR8JhSJnk+3RFqmdDmNk1Lq3QBgSboN+4mgf0n4YVVLbFc6+Z5N6Wiqm2GM2QlgRjoN5hJJ6ypMzQpG/pD0kufJlE6nbj5cvk3yU97k5Q9Je4p6ixZ9et2xS7Y51qYkVoUXusBbBMelJy+f6IDbV/xg1Yv//LdNtJUpiaa6RS7NVhImI2mAKHwoqM0QH4mMATgvpC7TDWwG8Y1M6o/Q+EG3v2iejTEjmhJvrn9Y0K9JBtPWI70v8k0yuKsycvzCoO2sqt8D4MF027DSAbSBV+dVRhJXhosb9oMmmhpmunC3p2OIBBfUFjLwUuXq9iNe8/2AwBxp/JtysGi4B70hP2z38vrSq8bdSXCS18YlvR8Qny5viX3kNddvCCyIu+HngdjaoWIG7SMEsLdIGwk2eGzzKoCnKlpi88pbowVnyCewpbO5/r6hrg5q |
This gist covers
Not a big fan of the my old embedded gists in posts so lets get them outta here.
| (ns evident.core | |
| (require [clj-time.core :as time])) | |
| (declare in-same-month?) | |
| (declare first-day-of-week) | |
| (declare weekyears-between) | |
| (defn week-calendar | |
| "Given a starting date this function will return a LazySeq of the enclosing date | |
| for the same month of the start-date. Week days that are not in the the same |
| (ns qcon2014.core | |
| (require [net.cgrand.enlive-html :refer [html-resource select]])) | |
| (defn get-slide-links [] | |
| (->> ["wednesday" "thursday" "friday"] | |
| (map #(str "http://qconlondon.com/london-2014/schedule/" % ".jsp")) | |
| (map #(html-resource (java.net.URL. %))) | |
| (mapcat #(select % [:a])) | |
| (filter #(= (:content %) '("Download slides"))) | |
| (map #(get-in % [:attrs :href])) |
| package controllers | |
| import play.api._ | |
| import play.api.mvc._ | |
| import play.api.libs.json._ | |
| import play.api.libs.functional.syntax._ | |
| object Application extends Controller { | |
I hereby claim:
To claim this, I am signing this object:
| (ns calendars.core | |
| (require [clj-time.core :as time])) | |
| (declare in-same-month?) | |
| (declare first-day-of-week) | |
| (declare weekyears-between) | |
| (defn week-calendar | |
| "Given a starting date this function will return a LazySeq of the enclosing date | |
| for the same month of the start-date. Week days that are not in the the same |
| #! /bin/bash | |
| # lite weight vundle thing for vim bundles. requires pathogen | |
| bundles=( | |
| kien/ctrlp.vim | |
| emezeske/paredit.vim | |
| tpope/vim-classpath | |
| tpope/vim-fireplace | |
| cschlueter/vim-wombat | |
| scrooloose/nerdtree | |
| kien/rainbow_parentheses.vim |