The nixos.org website suggests to use:
sh <(curl -L https://nixos.org/nix/install)For macOS on Intel (x86_64) or Apple Silicon (arm64) based macs, we need to use
sh <(curl -L https://nixos.org/nix/install) --darwin-use-unencrypted-nix-store-volumeThe nixos.org website suggests to use:
sh <(curl -L https://nixos.org/nix/install)For macOS on Intel (x86_64) or Apple Silicon (arm64) based macs, we need to use
sh <(curl -L https://nixos.org/nix/install) --darwin-use-unencrypted-nix-store-volume| (ns gjs-example.core) | |
| (defn main [] | |
| (set! (-> js/imports .-gi .-versions .-Gtk) "3.0") | |
| (let [Gtk (doto (-> js/imports .-gi .-Gtk) (.init nil)) | |
| window (Gtk.Window. | |
| (clj->js | |
| {:type (-> Gtk .-WindowType .-TOPLEVEL) | |
| :title "A default title" | |
| :default_width 300 |
| /* This special class is used to remove content visually, | |
| without removing it from screen reader output. Use it in | |
| place of `display: none` when you want screen readers to | |
| identify and announce the information the (visually) hidden | |
| element contains */ | |
| .vh { | |
| clip-path: inset(100%) !important; | |
| clip: rect(1px, 1px, 1px, 1px) !important; | |
| height: 1px !important; |
This describes how I setup Atom for an ideal Clojure development workflow. This fixes indentation on newlines, handles parentheses, etc. The keybinding settings for enter (in keymap.cson) are important to get proper newlines with indentation at the right level. There are other helpers in init.coffee and keymap.cson that are useful for cutting, copying, pasting, deleting, and indenting Lisp expressions.
The Atom documentation is excellent. It's highly worth reading the flight manual.
Hi Nicholas,
I saw you tweet about JSX yesterday. It seemed like the discussion devolved pretty quickly but I wanted to share our experience over the last year. I understand your concerns. I've made similar remarks about JSX. When we started using it Planning Center, I led the charge to write React without it. I don't imagine I'd have much to say that you haven't considered but, if it's helpful, here's a pattern that changed my opinion:
The idea that "React is the V in MVC" is disingenuous. It's a good pitch but, for many of us, it feels like in invitation to repeat our history of coupled views. In practice, React is the V and the C. Dan Abramov describes the division as Smart and Dumb Components. At our office, we call them stateless and container components (view-controllers if we're Flux). The idea is pretty simple: components can't
| /** | |
| * VH and VW units can cause issues on iOS devices: http://caniuse.com/#feat=viewport-units | |
| * | |
| * To overcome this, create media queries that target the width, height, and orientation of iOS devices. | |
| * It isn't optimal, but there is really no other way to solve the problem. In this example, I am fixing | |
| * the height of element `.foo` —which is a full width and height cover image. | |
| * | |
| * iOS Resolution Quick Reference: http://www.iosres.com/ | |
| */ | |
| # ag <https://github.com/ggreer/the_silver_searcher> | |
| # usage: ag-replace.sh [search] [replace] | |
| # caveats: will choke if either arguments contain a forward slash | |
| # notes: will back up changed files to *.bak files | |
| ag -0 -l $1 | xargs -0 perl -pi.bak -e "s/$1/$2/g" | |
| # or if you prefer sed's regex syntax: | |
| ag -0 -l $1 | xargs -0 sed -ri.bak -e "s/$1/$2/g" |
| /* | |
| Offsets from https://raw.githubusercontent.com/tilomitra/pure/d7f85e37abec3fdab14a541305ad05783159655c/src/grids/css/grids-offsets.css | |
| Media queries from Pure v0.5.0 | |
| Copyright 2014 Yahoo! Inc. All rights reserved. | |
| Licensed under the BSD License. | |
| https://github.com/yui/pure/blob/master/LICENSE.md | |
| */ | |
| @media screen and (min-width: 35.5em) { | |
| .offset-sm-0 { | |
| margin-left:0; |
Install from the AUR.