- Download exa realease archive from Github
- Extract and
cd
into the folder - Copy the executable to
/usr/local/bin
(optionallysudo
):cp bin/exa /usr/local/bin
- Open the the executable in Finder to remove the GateKeeper quarantine:
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
class QemuSpice < Formula | |
desc "Emulator for x86 and PowerPC" | |
homepage "https://www.qemu.org/" | |
url "https://download.qemu.org/qemu-7.1.0-rc0.tar.xz" | |
sha256 "50435f5fb361fbd57b7ec719290fd29f9a6ec96c73f04775a285a514085c7d6a" | |
license "GPL-2.0-only" | |
revision 1 | |
head "https://git.qemu.org/git/qemu.git", branch: "master" | |
bottle do |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* | |
* Open profile folder from about:support | |
* Place userChrome.css in [profile folder]/chrome/userChrome.css | |
*/ | |
@namespace url(http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul); | |
/* Shorten the height of tabs in the tab bar: */ | |
.tabbrowser-tab { | |
--tab-min-height: 2.8rem !important; | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
--- acconfig.h 2020-02-06 07:09:38.000000000 +1100 | |
+++ acconfig.h 2020-12-28 18:16:28.000000000 +1100 | |
@@ -191,14 +191,14 @@ | |
* If screen is installed with permissions to update /etc/utmp (such | |
* as if it is installed set-uid root), define UTMPOK. | |
*/ | |
-#define UTMPOK | |
+#undef UTMPOK | |
/* Set LOGINDEFAULT to one (1) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# <bitbar.title>CPU Temperature</bitbar.title> | |
# <bitbar.version>v1.0</bitbar.version> | |
# <bitbar.author>Nathan Scott</bitbar.author> | |
# <bitbar.author.github>ngsctt</bitbar.author.github> | |
# <bitbar.desc>This plugin displays the current CPU temperature, using osx-cpu-temp by @lavoiesl</bitbar.desc> | |
# <bitbar.dependencies>osx-cpu-temp</bitbar.dependencies> | |
# | |
# osx-cpu-temp can be downloaded from: https://github.com/lavoiesl/osx-cpu-temp | |
# One-liner: |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
function isoTimeStamp(date, options = {}) { | |
console.log(options) | |
let defaults = { | |
date_time: 'T', | |
time_offset: '' | |
} | |
Object.assign(options, Object.assign(defaults, options)); | |
console.log(options) | |
const year = date.getFullYear(); | |
const month = String(date.getMonth()).padStart(2, '0'); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
namespace "version" do | |
path = 'lib/gem-name/version.rb' | |
content = File.read(path) | |
regex = /(VERSION\s*=\s*['"])([0-9.]+)(['"])/ | |
match = content.match(regex) | |
version = match[2] | |
vparts = version.split('.') | |
major = vparts[0] ? Integer(vparts[0]) : 0 | |
minor = vparts[1] ? Integer(vparts[1]) : 0 | |
patch = vparts[2] ? Integer(vparts[2]) : 0 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
function romanise (number, upper=true) { | |
if (number > 1999999) { | |
console.warn('WARN: attempted to convert number over 1,999,999 to roman numeral'); | |
return number; | |
} | |
const letters = upper ? [ | |
['X', 'V', 'I'], | |
['C', 'L', 'X'], | |
['M', 'D', 'C'], | |
['X̅', 'V̅', 'M'], |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
SHELL := /bin/zsh | |
DEST ?= print | |
PORT ?= 8888 | |
WATCH ?= *.pug, *.less | |
BUILD ?= pug --out $(DEST) [^_]*.pug | |
includes := $(shell cat _include) | |
build: copy convert |
NewerOlder