Skip to content

Instantly share code, notes, and snippets.

View orb's full-sized avatar

Norman Richards orb

View GitHub Profile
@orb
orb / deps.edn
Created January 10, 2022 03:15
nrepl deps
{:deps
{nrepl/nrepl {:mvn/version "0.9.0"}
refactor-nrepl/refactor-nrepl {:mvn/version "3.1.0"}
cider/cider-nrepl {:mvn/version "0.27.4"}}
:aliases
{:cider/nrepl
{:main-opts ["-m" "nrepl.cmdline" "-s" "nrepl-test.sock" "--middleware"
"[refactor-nrepl.middleware/wrap-refactor,cider.nrepl/cider-middleware]"]}}}
@orb
orb / swap.sh
Created May 21, 2015 23:59
digital ocean swap file
fallocate -l 4G /swapfile
chmod 600 /swapfile
mkswap /swapfile
swapon /swapfile
sh -c 'echo "/swapfile none swap sw 0 0" >> /etc/fstab'
@orb
orb / sudoku.clj
Last active April 24, 2020 12:04 — forked from swannodette/gist:3217582
updated for the latest core.logic, with some minor tweaks for (I hope) clarity
(ns sudoku
(:refer-clojure :exclude [==])
(:use [clojure.core.logic])
(:require [clojure.core.logic.fd :as fd]))
(defn init-board [vars puzzle]
(matche [vars puzzle]
([[] []]
succeed)
@orb
orb / idm.js
Created March 9, 2020 21:01
idm test
import React, {useState} from "react";
import {Context, CurrentUserDetails} from "@cisco-sbgidm/ui-components";
// https://security-ci.myverysecuresignon.name/.well-known/openid-configuration
/*
@orb
orb / .block
Last active January 29, 2020 20:18
d3 temperatures lines
license: gpl-2.0
border: yes
scrolling: no
@orb
orb / .block
Last active January 29, 2020 17:48
d3 temperatures
license: gpl-2.0
border: yes
scrolling: no
@orb
orb / .block
Last active January 29, 2020 17:46
chart
license: mit
@orb
orb / .block
Last active January 29, 2020 17:46
deleteme
license: mit
@orb
orb / images.json
Created December 17, 2019 17:50
some images
[
"http://cdn0.vox-cdn.com/uploads/chorus_asset/file/2363952/win10filexplorer.0.png",
"https://images.techhive.com/images/article/2015/07/windows-10-hidden-narwhal-100598366-orig.jpg",
"https://cdn.windowsreport.com/wp-content/uploads/2015/12/best-windows-10-themes-10.png",
"https://upload.wikimedia.org/wikipedia/commons/c/cb/Fedora-Core-6-AIGLX.png",
"https://upload.wikimedia.org/wikipedia/commons/f/fd/Compiz-fusion.png",
"https://upload.wikimedia.org/wikipedia/commons/2/2a/Stumpwm.png",
"https://camo.githubusercontent.com/a0f864729cb308e8546bde467445dafbd71ce7ed/687474703a2f2f6c676172632e6e61726f642e72752f706963732f7877656d2f7877656d2d322e312e706e67",
"https://i.warosu.org/data/g/img/0636/55/1512238669552.png",
"http://i.imgur.com/Q6yFbn0.png",
@orb
orb / gist:be1aaec26083ea83a8efd101cc1bfbe9
Created July 12, 2019 18:10
rmtilde - clean up dangling editor tmp files
#!/bin/sh
find . -type f \( -name "#*" -or -name ".#*" -or -name "*~" \) -print -delete