Also see earlier install guide https://gist.github.com/jr0cket/7655cf6f0dcd889ca0dbb0edb2b544c2
Download Ubuntu server iso image burn image to usb Enter and f1 to open bios config
- remove secure boot
Also see earlier install guide https://gist.github.com/jr0cket/7655cf6f0dcd889ca0dbb0edb2b544c2
Download Ubuntu server iso image burn image to usb Enter and f1 to open bios config
# Ubuntu install | |
Also see earlier install guide https://gist.github.com/jr0cket/7655cf6f0dcd889ca0dbb0edb2b544c2 | |
## X1 Extreme installation | |
Download Ubuntu server iso image | |
burn image to usb | |
Enter and f1 to open bios config | |
- remove secure boot |
(defn levenshtein-distance | |
"Finds the percentage of match (reversed levenshtein distance & normalised) | |
between two strings" | |
[s1 s2] | |
(let [similarity (atom 0) | |
edit-map (atom {})] | |
(doseq [i (range (count s1))] | |
(let [edit (atom (if (zero? i) 0 i))] | |
(doseq [j (range (count s2))] | |
(let [e (if (= (.charAt s1 i) (.charAt s2 j)) 0 1)] |
$INPUTVIDEO='input.mp4' | |
$OUTPUTVIDEO='output.mp4' | |
ffmpeg -i $INPUTVIDEO -metadata:s:v rotate="-90" -codec copy $OUTPUTVIDEO |
/*jslint undef: true, nomen: true, eqeqeq: true, plusplus: true, newcap: true, immed: true, browser: true, devel: true, passfail: false */ | |
/*global window: false, readConvertLinksToFootnotes: false, readStyle: false, readSize: false, readMargin: false, Typekit: false, ActiveXObject: false */ | |
var dbg = (typeof console !== 'undefined') ? function(s) { | |
console.log("Readability: " + s); | |
} : function() {}; | |
/* | |
* Readability. An Arc90 Lab Experiment. | |
* Website: http://lab.arc90.com/experiments/readability |
(ns merkle.tree | |
(:import [java.security MessageDigest])) | |
(defn sha-256-digest [bs] | |
(.digest | |
(doto (MessageDigest/getInstance "SHA-256") | |
(.update bs)))) | |
(def double-sha-256 (comp sha-256-digest sha-256-digest)) |
;; # Maria for Experts | |
;; This is a short tour of abstractions we've made in the process of building Maria, | |
;; which are also available while using the system. It is meant for people with experience using | |
;; functional programming languages who already know how to evaluate forms in Maria. | |
;; If you're a beginner to Maria or to programming in general, I recommend starting [here](https://www.maria.cloud/intro). | |
;; (For the impatient, Command-Enter — Control-Enter on a PC — within a code block with evaluate the code before the cursor.) | |
;; ## Notebook interface |
# Assuming an Ubuntu Docker image | |
$ docker run -it <image> /bin/bash | |
# without the /bin/ part | |
docker run -it ubuntu bash | |
# nothing else but bash... | |
docker run -it bash | |
#if image has a defined ENTRYPOINT. For these cases use: | |
docker run -it --entrypoint /bin/bash <image> |
;; "human" date/time format parsing | |
(def human-time-parser | |
(insta/parser | |
"S = H (':' M)? ' '? P? (' ' Z)? | |
H = #'[1-9]' | #'1[0-2]' | |
M = #'0[0-9]' | #'[1-5][0-9]' | |
P = AM | PM | |
AM = 'A' 'M'? | |
PM = 'P' 'M'? |
(ns talk | |
(:require [overtone.core :refer :all] | |
[clojure.java.io :as io] | |
[clj-http.client :as http] | |
[clojure.test :as test])) | |
(def talk | |
{:title "Sequencing dance music with Clojure" | |
:author "Piotr Jagielski" | |
:company {:name "TouK" :what "Software house" :from "Warsaw, Poland"} |