by Ossi Hanhinen, @ohanhi
with the support of Futurice 💚.
Licensed under CC BY 4.0.
Homebrew is a package management system for OS X. You can read more about it here, or simply run
ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"to install it.
Hello, visitors! If you want an updated version of this styleguide in repo form with tons of real-life examples… check out Trellisheets! https://github.com/trello/trellisheets
“I perfectly understand our CSS. I never have any issues with cascading rules. I never have to use !important or inline styles. Even though somebody else wrote this bit of CSS, I know exactly how it works and how to extend it. Fixes are easy! I have a hard time breaking our CSS. I know exactly where to put new CSS. We use all of our CSS and it’s pretty small overall. When I delete a template, I know the exact corresponding CSS file and I can delete it all at once. Nothing gets left behind.”
You often hear updog saying stuff like this. Who’s updog? Not much, who is up with you?
| import numbers | |
| import six | |
| import numpy | |
| import matplotlib.collections | |
| from matplotlib import pyplot | |
| # using example from | |
| # http://nbviewer.ipython.org/github/dpsanders/matplotlib-examples/blob/master/colorline.ipynb |
| #!/usr/bin/env python | |
| #-*- coding:utf-8 -*- | |
| # | |
| # wagenheber.py | |
| # | |
| """Simple PyPI package installation client for Pythonista. | |
| Currently only supports installing pure Python packages for which a | |
| distribution archive in bdist_wheel format is available on PyPI. |
| http://olgabot.github.io/prettyplotlib/ | |
| http://damon-is-a-geek.com/publication-ready-the-first-time-beautiful-reproducible-plots-with-matplotlib.html | |
| http://datasciencelab.wordpress.com/2013/12/21/beautiful-plots-with-pandas-and-matplotlib/ | |
| http://www.huyng.com/posts/sane-color-scheme-for-matplotlib/ | |
| http://stanford.edu/~mwaskom/software/seaborn/index.html | |
| http://nbviewer.ipython.org/gist/olgabot/5357268 |
(by @andrestaltz)
If you prefer to watch video tutorials with live-coding, then check out this series I recorded with the same contents as in this article: Egghead.io - Introduction to Reactive Programming.
| (ns particles.core) | |
| (def display (.getElementById js/document "display")) | |
| (def context (.getContext display "2d")) | |
| (def damping 0.999) | |
| (def max-particles 250) | |
| (def line-width 2) | |
| (def app-state (atom {:width (.-innerWidth js/window) | |
| :height (.-innerHeight js/window)})) |
| """ | |
| Extract PDF text using PDFMiner. Adapted from | |
| http://stackoverflow.com/questions/5725278/python-help-using-pdfminer-as-a-library | |
| """ | |
| from pdfminer.pdfinterp import PDFResourceManager, PDFPageInterpreter#process_pdf | |
| from pdfminer.pdfpage import PDFPage | |
| from pdfminer.converter import TextConverter | |
| from pdfminer.layout import LAParams |
| (ns async-test.timeout.core | |
| (:require [cljs.core.async :refer [chan close!]]) | |
| (:require-macros | |
| [cljs.core.async.macros :as m :refer [go]])) | |
| (defn timeout [ms] | |
| (let [c (chan)] | |
| (js/setTimeout (fn [] (close! c)) ms) | |
| c)) | |