start new:
tmux
start new with session name:
tmux new -s myname
| import os | |
| import time | |
| document = open("My Clippings.txt","r") | |
| data = "".join(document.readlines()) | |
| notes = [] | |
| try: | |
| clippings = data.split('==========') | |
| for clip in clippings: |
| DO WTF YOU WANT TO PUBLIC LICENSE | |
| Version 2, December 2004 | |
| Copyright (C) 2011 Alexey Silin <[email protected]> | |
| Everyone is permitted to copy and distribute verbatim or modified | |
| copies of this license document, and changing it is allowed as long | |
| as the name is changed. | |
| DO WTF YOU WANT TO PUBLIC LICENSE |
| ## Prepare ################################################################### | |
| # Remove RVM | |
| rvm implode | |
| # Ensure your homebrew is working properly and up to date | |
| brew doctor | |
| brew update | |
| ## Install ################################################################### |
| ;;Using the Cassowary constraint solver from ClojureScript | |
| ;;This demo shows using multimethods for readable constraint syntax using +, -, and =. | |
| ;;Output is a row of circles with random radii spaced so that the space between their boundaries is uniform. | |
| (ns c2.main | |
| ;;refer-clojure :exclude is currently broken in ClojureScript master | |
| ;;Ticket open: http://dev.clojure.org/jira/browse/CLJS-114 | |
| ;;Fix applied here: https://github.com/lynaghk/clojurescript/tree/114-refer-clojure-exclude | |
| (:refer-clojure :exclude [+ - =]) | |
| DO WHAT THE FUCK YOU WANT TO PUBLIC LICENSE | |
| Version 2, December 2004 | |
| Copyright (C) 2012 Sindre Sorhus <http://sindresorhus.com> | |
| Everyone is permitted to copy and distribute verbatim or modified | |
| copies of this license document, and changing it is allowed as long | |
| as the name is changed. | |
| DO WHAT THE FUCK YOU WANT TO PUBLIC LICENSE |
| # Install MacTex: http://mirror.ctan.org/systems/mac/mactex/mactex-basic.pkg | |
| $ sudo chown -R `whoami` /usr/local/texlive | |
| $ tlmgr update --self | |
| $ tlmgr install ucs | |
| $ tlmgr install etoolbox | |
| # Install pandoc view homebrew |
| var casper = require("casper").create(); | |
| var url = "https://github.com/search?langOverride=VimL&language=&q=vimrc&repo=&type=Repositories&start_value=" + casper.cli.get(0); | |
| var repoLinks = []; | |
| var fileLinks = []; | |
| function getRepoLinks() { | |
| var links = []; | |
| $("div.results .result h2 a").each(function(i,el){ | |
| links.push(el.href); | |
| }); |
| // Chekkerboard css | |
| #overview | |
| max-width : 1000px | |
| .item | |
| width : 50% | |
| background : white | |
| (ns braintree-clj.core | |
| (:import [com.braintreegateway BraintreeGateway Environment TransactionRequest Transaction$Type]) | |
| (:require [clojure.string :as s] | |
| [hiccup.core :as hiccup] | |
| [hiccup.page-helpers :as page-helper] | |
| [noir.core :as noir] | |
| [noir.request :as noir-req] |