Skip to content

Instantly share code, notes, and snippets.

View build-bash.sh
#!/bin/bash
# Build Bash from sources on Ubuntu.
# Make script gives up on any error
set -e
# Some packages may be missing
sudo apt-get install -y git-core gcc make autoconf yodl libncursesw5-dev texinfo checkinstall
# Clone zsh repo and change to it
View ubuntu-install-google.bash
#!/bin/bash
# See http://blog.coolaj86.com/articles/google-repos-for-linux.html
# See Also https://gist.github.com/4686265 for the repo list files
wget -q -O - https://dl-ssl.google.com/linux/linux_signing_key.pub | sudo apt-key add -
pushd /etc/apt/sources.list.d/
wget -c https://gist.github.com/raw/4686265/google-chrome.list
wget -c https://gist.github.com/raw/4686265/google-musicmanager.list
wget -c https://gist.github.com/raw/4686265/google-earth.list
@Austcool-Walker
Austcool-Walker / build-zsh.sh
Created Jan 8, 2021 — forked from dezza/build-zsh.sh
Build last stable version of ZSH from sources on Ubuntu, or any other version with small changes
View build-zsh.sh
#!/bin/bash
# Build Zsh from sources on Ubuntu.
# From http://zsh.sourceforge.net/Arc/git.html and sources INSTALL file.
# Make script gives up on any error
set -e
# Some packages may be missing
sudo apt-get install -y git-core gcc make autoconf yodl libncursesw5-dev texinfo checkinstall
@Austcool-Walker
Austcool-Walker / BDLinux.md
Last active Jan 16, 2022 — forked from ObserverOfTime/BDLinux.md
Install BetterDiscord on Linux
View BDLinux.md

Install BetterDiscord on Linux

This Gist contains simple instructions on how to install, update, and uninstall BetterDiscord on Linux.

For more thorough documentation, take a look at betterdiscordctl's README.

Do NOT submit issues here as I don't check the comments. You should submit them here instead.

@Austcool-Walker
Austcool-Walker / INSTALL.md
Last active Dec 19, 2020
Install seamonkey browser ubuntu
View INSTALL.md

Run these commands in Terminal or TTY.

cat <<EOF | sudo tee /etc/apt/sources.list.d/mozilla.list
deb http://downloads.sourceforge.net/project/ubuntuzilla/mozilla/apt all main
EOF
sudo apt-key adv --recv-keys --keyserver keyserver.ubuntu.com 2667CA5C
@Austcool-Walker
Austcool-Walker / settings.json
Created Dec 18, 2020
My Windows Terminal settings.json
View settings.json
// This file was initially generated by Windows Terminal 1.4.3243.0
// It should still be usable in newer versions, but newer versions might have additional
// settings, help text, or changes that you will not see unless you clear this file
// and let us generate a new one for you.
// To view the default settings, hold "alt" while clicking on the "Settings" button.
// For documentation on these settings, see: https://aka.ms/terminal-documentation
{
"$schema": "https://aka.ms/terminal-profiles-schema",
@Austcool-Walker
Austcool-Walker / release_without_kexts.command
Created Oct 10, 2020
OCBuilder (OpenCore Builder) IA32 32bit command script to build IA32 Release on Mojave and below.
View release_without_kexts.command
#!/bin/bash
prompt() {
dialogTitle="OCBuilder"
authPass=$(/usr/bin/osascript <<EOT
tell application "System Events"
activate
repeat
display dialog "This application requires administrator privileges. Please enter your administrator account password below to continue:" ¬
default answer "" ¬
@Austcool-Walker
Austcool-Walker / debug_without_kexts.command
Last active Oct 10, 2020
OCBuilder (OpenCore Builder) IA32 32bit command script to build IA32 Debug on Mojave and below.
View debug_without_kexts.command
#!/bin/bash
prompt() {
dialogTitle="OCBuilder"
authPass=$(/usr/bin/osascript <<EOT
tell application "System Events"
activate
repeat
display dialog "This application requires administrator privileges. Please enter your administrator account password below to continue:" ¬
default answer "" ¬
@Austcool-Walker
Austcool-Walker / SMBios.plist
Created Oct 6, 2020
MacPro5,1 SMBios.plist for Hackintosh
View SMBios.plist
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>SMUUID</key>
<string>00000000-0000-1000-8000-000000000000</string>
<key>SMbiosdate</key>
<string>10/07/10</string>
<key>SMbiosvendor</key>
<string>Apple Inc.</string>
@Austcool-Walker
Austcool-Walker / .bashrc
Last active Dec 13, 2020
ubuntus bash rc file
View .bashrc
# ~/.bashrc: executed by bash(1) for non-login shells.
# see /usr/share/doc/bash/examples/startup-files (in the package bash-doc)
# for examples
# If not running interactively, don't do anything
case $- in
*i*) ;;
*) return;;
esac