Skip to content

Instantly share code, notes, and snippets.

View amdprophet's full-sized avatar
🏠
Working from home

Justin Kolberg amdprophet

🏠
Working from home
View GitHub Profile

doom-emacs

doom-emacs provides a useful default emacs configuration with an easy way to add & extend configuration & plugins. It uses evil-mode by default which adds vim bindings.

https://github.com/hlissner/doom-emacs

oh-my-zsh

A powerful framework for managing your zsh configuration.

#!/bin/sh
#########################################################
# Builds GCC (latest) from source on a fresh
# installation of Solaris 11
#########################################################
# install subversion
sudo pkg install /developer/versioning/subversion
# install gcc-53

Original source: http://www.bolthole.com/solaris/go-lang.html

Solaris 11 x86 binaries for GO language

The GO programming language is an interesting one, although rarely used. It IS used for some key google projects, so getting it is important. Unfortunately, they pulled a classic opensource jerk move, by requiring that to get the latest version of it.. requires that you already have a working OLDER version of it. This becomes rather difficult if you are on a non-supported platform.

They have lots of downloads for go, but no Solaris binaries.

Bootstrap binaries

The latest versions of Go, require a PREVIOUS version of go to compile it. If you dont have a prior version, you first have to compile one of their earlier versions, to bootstrp it I managed to compile their "bootstrap" distribution, on Solaris 11 x86, as of 2018. You can use this to compile later versions of go. (You can get the latest bootstrap source code tarfile, by going to the download page above,

# create a BE from another BE that already exists and boot into it
sudo beadm create new -e existing
sudo beadm activate
sudo shutdown -y -i 6
# install missing locales
sudo nlsadm install-locale -f en_CA.UTF-8 en_US.UTF-8 en_CA.ISO8859-1
@amdprophet
amdprophet / setuppdp.sh
Created February 21, 2019 20:44 — forked from juliandunn/setuppdp.sh
Script to set up IBM PDP AIX machines
#!/bin/sh
#
# Note: On AIX, /bin/sh is Korn Shell. Don't use Bashisms here!
# Partitions are too small to be useful. Expand them.
chfs -a size=+2000000 /usr
chfs -a size=+2000000 /opt
chfs -a size=+2000000 /home
chfs -a size=+2000000 /var
chfs -a size=+2000000 /tmp
/*
WS2812FX.cpp - Library for WS2812 LED effects.
Harm Aldick - 2016
www.aldick.org
FEATURES
* A lot of blinken modes and counting
* WS2812FX can be used as drop-in replacement for Adafruit NeoPixel Library
[00:00:00] Build started
[00:00:00] git clone -q git@github.com:sensu/sensu-go.git c:\gopath\src\github.com\sensu\sensu-go
[00:00:10] git fetch -q origin +refs/pull/1239/merge:
[00:00:12] git checkout -qf FETCH_HEAD
[00:00:21] Running Install scripts
[00:00:21] rmdir c:\go /s /q
[00:00:21] appveyor DownloadFile https://storage.googleapis.com/golang/go%GOVERSION%.windows-%GOARCH%.msi
[00:00:23]
[00:00:23] Downloading go1.10.windows-386.msi (100,265,984 bytes)...1%
[00:00:24] Downloading go1.10.windows-386.msi (100,265,984 bytes)...10%
rmssys -s sensu-client
mkssys -s sensu-client -p "/opt/sensu/bin/sensu-service" -a "start client" -u sensu -S -n 15 -f 9
diff --git centos-5.11-x86_64.json centos-5.11-x86_64.json
index 28ddd11..0756f48 100644
--- centos-5.11-x86_64.json
+++ centos-5.11-x86_64.json
@@ -33,6 +33,12 @@
"{{.Name}}",
"--cpus",
"{{ user `cpus` }}"
+ ],
+ [
  • sudo
  • gnu patch
  • gmp
  • mpfr
  • mpc
  • libiconv
  • gcc
  • zlib
  • cacerts
  • xproto