Skip to content

Instantly share code, notes, and snippets.

View ngsctt's full-sized avatar

Nathan ngsctt

View GitHub Profile
#!/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:
--- 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)
@ngsctt
ngsctt / userChrome.css
Last active February 26, 2024 07:18
Firefox userChrome
/*
* 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;
}
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
@ngsctt
ngsctt / install-exa-macOS.md
Created April 7, 2024 04:33
Steps to install exa on macOS

Install exa on macOS

Steps

  1. Download exa realease archive from Github
  2. Extract and cd into the folder
  3. Copy the executable to /usr/local/bin (optionally sudo):
    cp bin/exa /usr/local/bin
  4. Open the the executable in Finder to remove the GateKeeper quarantine: