- High level overview https://yogthos.github.io/ClojureDistilled.html
- An Animated Introduction to Clojure https://markm208.github.io/cljbook/
- Interactive tutorial in a browser https://tryclojure.org/
- Interactive exercises http://clojurescriptkoans.com/
- Clerk notebooks with introductory examples https://github.clerk.garden/anthonygalea/notes-on-clojure
- More interactive exercises https://4clojure.oxal.org/
- Lambda Island tutorials https://lambdaisland.com/
- Functional Programming with Clojure resources https://practicalli.github.io/
| https://apple.stackexchange.com/questions/332769/macos-disable-popup-showing-accented-characters-when-holding-down-a-key | |
| # In macOS, when a key is held down while entering text, a popup is shown which lets one choose between various accented | |
| # forms of the character. To disable this execute the following command-line in the Terminal.app: | |
| defaults write -g ApplePressAndHoldEnabled -bool false | |
| # Now, you'll need to log-out and log back in. This should disable the display of the popup and character typed should | |
| # start repeating when the key is held down. |
As a developer, it bothers me when someone sends me a large pdf file compared to the number of pages. Recently, I recieved a 12MB scanned document for just one letter-sized page... so I got to googlin, like I usually do, and found ghostscript!
to learn more abot ghostscript (gs): https://www.ghostscript.com/
What we are interested in, is the gs command line tool, which provides many options for manipulating PDF, but we are interested in compressign those large PDF's into small yet legible documents.
credit goes to this answer on askubuntu forum: https://askubuntu.com/questions/3382/reduce-filesize-of-a-scanned-pdf/3387#3387?newreg=bceddef8bc334e5b88bbfd17a6e7c4f9
All of the below properties or methods, when requested/called in JavaScript, will trigger the browser to synchronously calculate the style and layout*. This is also called reflow or layout thrashing, and is common performance bottleneck.
Generally, all APIs that synchronously provide layout metrics will trigger forced reflow / layout. Read on for additional cases and details.
elem.offsetLeft,elem.offsetTop,elem.offsetWidth,elem.offsetHeight,elem.offsetParent
Me perguntaram dicas sobre como aprender Python para quem nunca programou antes. Não é a minha especialidade, mas graças aos meus amigos no Twitter e no Facebook, consegui juntar uma lista de referências que espero ser útil.
Se alguém tiver mais referências, por favor, deixem comentários ou me mande uma mensagem em @rafaelrosafu.
- "Python para Desenvolvedores" de Luiz Eduardo Borges - grátis, distribuído sob o Creative Commons
- "Lógica de Programação" na Casa do Código - usa Javascript, mas poder útil para começar
- "Think Python: How to Think Like a Computer Scientist" livro da O'Reilly
| Remove osxfuse if installed via homebrew: | |
| > brew uninstall osxfuse | |
| Install osxfuse binary and choose to install the MacFUSE compatibility layer: | |
| http://sourceforge.net/projects/osxfuse/files/latest/download?source=files | |
| Reboot (optional but recommended by osxfuse) | |
| Install ntfs-3g via homebrew: | |
| > brew update && brew install ntfs-3g |
| (ns clojure-conj-talk.core | |
| (:use [enchilada :only [canvas ctx canvas-size]] | |
| [monet.canvas :only [fill-style fill-rect]] | |
| [jayq.core :only [show]]) | |
| (:require [cljs.core.async :refer [<! >! chan timeout]]) | |
| (:require-macros [cljs.core.async.macros :as m :refer [go]])) | |
| (def colors | |
| (rand-nth [ | |
| [ |
I've done the same process every couple years since 2013 (Mountain Lion, Mavericks, High Sierra, Catalina) and I updated the Gist each time I've done it.
I kinda regret for not using something like Boxen (or anything similar) to automate the process, but TBH I only actually needed to these steps once every couple years...