Assuming macOS and an SD card presented as /dev/rdisk3:
For ARMv7 (Pi 2):
diskutil unmountDisk disk3
xzcat ubuntu-18.04.2-preinstalled-server-armhf+raspi2.img.xz | sudo dd of=/dev/rdisk3 bs=32m
Gene was tweeting about Clojure's startup performance on Apple Silicon, so I decided to benchmark my new MacBook Air with the M1 chip against my Intel based MacBook Pro.
The M1 chip in the MacBook Air - which lacks a fan - was able to quite tidily beat an almost top-of-the-line Intel chip.
{ | |
/* Keybindings for emacs emulation. Compiled by Jacob Rus. | |
* | |
* This is a pretty good set, especially considering that many emacs bindings | |
* such as C-o, C-a, C-e, C-k, C-y, C-v, C-f, C-b, C-p, C-n, C-t, and | |
* perhaps a few more, are already built into the system. | |
* | |
* BEWARE: | |
* This file uses the Option key as a meta key. This has the side-effect | |
* of overriding Mac OS keybindings for the option key, which generally |
This document lists ...
https://github.com/10nin/hello-world | |
https://github.com/AdamFrey/clojure-git-deps-demo | |
https://github.com/Bronsa/tools.decompiler-aot | |
https://github.com/Cirru/calcit-editor | |
https://github.com/Cirru/cirru.org | |
https://github.com/Cirru/ir.core | |
https://github.com/Cirru/sepal.clj | |
https://github.com/Codamic/core.async | |
https://github.com/ComputeSoftware/shoe | |
https://github.com/ComputeSoftware/spec-keys |
(mapv #(%1 %2) (cycle [(partial identity) #(* %1 -1)]) [1 2 3 4 5]) |
BEGIN:VCALENDAR | |
METHOD:PUBLISH | |
VERSION:2.0 | |
X-WR-CALNAME:Clojure/conj 2017 | |
PRODID:-//Apple Inc.//Mac OS X 10.13//EN | |
X-APPLE-CALENDAR-COLOR:#CC73E1 | |
X-WR-TIMEZONE:America/Los_Angeles | |
CALSCALE:GREGORIAN | |
BEGIN:VTIMEZONE | |
TZID:America/New_York |
(ns result-set-test.core | |
(:require [clojure.java.jdbc :as jdbc] | |
[clojure.string :as str]) | |
(:gen-class) | |
(:import (java.sql ResultSet) | |
(clojure.lang IReduceInit))) | |
(def sqlvec ["select left(md5(i::text), 10), | |
md5(random()::text), | |
md5(random()::text), |
BEGIN:VCALENDAR | |
METHOD:PUBLISH | |
VERSION:2.0 | |
X-WR-CALNAME:Clojure/conj 2016 | |
PRODID:-//Apple Inc.//Mac OS X 10.12.2//EN | |
X-APPLE-CALENDAR-COLOR:#1BADF8 | |
X-WR-TIMEZONE:America/Los_Angeles | |
CALSCALE:GREGORIAN | |
BEGIN:VTIMEZONE | |
TZID:America/Chicago |
#!/usr/bin/ruby | |
require 'rubygems' | |
require 'net/ssh' | |
require 'net/scp' | |
thingsPath = "HOME/Library/Application\ Support/Cultured\ Code/Things/Database.xml" | |
getTimestamp = "ls -lT '#{thingsPath}' | cut -f9-13 -d' '" | |
getThings = "ps waux | grep [T]hings" | |
quitThings = "osascript -e 'tell application \"Things\"\nquit\nend tell'" |