Skip to content

Instantly share code, notes, and snippets.

View stemount's full-sized avatar
📺
As seen on TV

Stephen Mount stemount

📺
As seen on TV
View GitHub Profile
@stemount
stemount / terminal.txt
Created August 18, 2018 18:52
debugging loads of OS X stuff "critical software update"
-bash-3.2# cd /Volumes/EFI/
-bash-3.2# ls
BOOTLOG EFI pbcopy
-bash-3.2# cp -r /Volumes/EFI/EFI/ /Volumes/EFI/EFI_BACKUP
-bash-3.2# ls
BOOTLOG EFI EFI_BACKUP pbcopy
-bash-3.2# rm -f pbcopy
-bash-3.2# ls
BOOTLOG EFI EFI_BACKUP
-bash-3.2# cd EFI
@stemount
stemount / BOOTLOG.txt
Created August 18, 2018 18:44
Apple MacBook Pro "Critical software update" rebooting -
-bash-3.2# cat BOOTLOG
SlingShot: Starting Local and Network Diags/Recovery Session at 08/14/2018 15:28.
Disassociating from wifi network.
Booting Recovery OS.
SlingShot: Starting Local and Network Diags/Recovery Session at 08/14/2018 15:38.
Disassociating from wifi network.
Booting Recovery OS.
SlingShot: Starting Local and Network Diags/Recovery Session at 08/18/2018 17:36.
Disassociating from wifi network.
Booting Recovery OS.
@stemount
stemount / zzfiles.txt
Created August 18, 2018 18:36
Apple MacBook Pro "critical software update" files do not show any iBridge or anything useful.
-bash-3.2# find /private/var/folders/zz/
/private/var/folders/zz/
/private/var/folders/zz//zyxvpxvq6csfxvn_n0000000000000
/private/var/folders/zz//zyxvpxvq6csfxvn_n0000000000000/0
/private/var/folders/zz//zyxvpxvq6csfxvn_n0000000000000/0/com.apple.LaunchServices-221-v2.csstore
/private/var/folders/zz//zyxvpxvq6csfxvn_n0000000000000/0/com.apple.pluginkit
/private/var/folders/zz//zyxvpxvq6csfxvn_n0000000000000/C
/private/var/folders/zz//zyxvpxvq6csfxvn_n0000000000000/C/com.apple.coreservicesd
/private/var/folders/zz//zyxvpxvq6csfxvn_n0000000000000/C/com.apple.iconservices
/private/var/folders/zz//zyxvpxvq6csfxvn_n0000000000000/C/com.apple.iconservices/store.index
vagrant@noagent-homestead:~/Code/admin$ php artisan finance:gocardless:sync
Syncing with Go Cardless
time: 3.3026220798492 seconds
amount of records: 425
32 Oakfield Avenue (subscription SB00034SV8G7CJ)
[FAILED] Meta ref R-36D6 and Payment ref R-36D6 not valid.
South cave, 31 Pinfold (subscription SB00034SPH8CZ8)
[FAILED] Meta ref R-35GA and Payment ref R-35GA not valid.
@stemount
stemount / Ubuntu-Compass-ruby[16.04]
Created April 21, 2018 16:21 — forked from AungMyoKyaw/Ubuntu-Compass-ruby[16.04]
Compass installation for ubuntu 16.04
[https://gist.github.com/stephou0104/233b5c99884f1d8c8b8b#file-ubuntu-compass-ruby]
sudo apt-get update
sudo apt-get install git-core curl zlib1g-dev build-essential libssl-dev libreadline-dev libyaml-dev libsqlite3-dev sqlite3 libxml2-dev libxslt1-dev libcurl4-openssl-dev python-software-properties
sudo apt-get install libgdbm-dev libncurses5-dev automake libtool bison libffi-dev
curl -L https://get.rvm.io | bash -s stable
gpg2 --keyserver hkp://keys.gnupg.net --recv-keys 409B6B1796C275462A1703113804BB82D39DC0E3
source ~/.rvm/scripts/rvm
echo "source ~/.rvm/scripts/rvm" >> ~/.bashrc

Keybase proof

I hereby claim:

  • I am stemount on github.
  • I am stemount (https://keybase.io/stemount) on keybase.
  • I have a public key ASBEecWoqkYW5TEvs3_Ie_PXGAgD9Rt7iduyGl6yGPJM6Qo

To claim this, I am signing this object:

local ret_status="%(?:%{$fg_bold[green]%}➜ :%{$fg_bold[red]%}➜ %s)"
#PROMPT='${ret_status}%{$fg_bold[green]%}%p %{$fg[cyan]%}%c %{$fg_bold[blue]%}$(git_prompt_info)%{$fg_bold[blue]%} % %{$reset_color%}'
PROMPT='%{$fg_bold[white]%}$SHORT_HOST %{$fg_bold[red]%}➜ %{$fg_bold[green]%}%p %{$fg[cyan]%}%c %{$fg_bold[blue]%}$(git_prompt_info)%{$fg_bold[blue]%} % %{$reset_color%}'
ZSH_THEME_GIT_PROMPT_PREFIX="git:(%{$fg[red]%}"
ZSH_THEME_GIT_PROMPT_SUFFIX="%{$reset_color%}"
ZSH_THEME_GIT_PROMPT_DIRTY="%{$fg[blue]%}) %{$fg[yellow]%}✗%{$reset_color%}"
ZSH_THEME_GIT_PROMPT_CLEAN="%{$fg[blue]%})"
local ret_status="%(?:%{$fg_bold[green]%}➜ :%{$fg_bold[red]%}➜ %s)"
#PROMPT='${ret_status}%{$fg_bold[green]%}%p %{$fg[cyan]%}%c %{$fg_bold[blue]%}$(git_prompt_info)%{$fg_bold[blue]%} % %{$reset_color%}'
PROMPT='%{$fg_bold[white]%}%M %{$fg_bold[red]%}➜ %{$fg_bold[green]%}%p %{$fg[cyan]%}%c %{$fg_bold[blue]%}$(git_prompt_info)%{$fg_bold[blue]%} % %{$reset_color%}'
ZSH_THEME_GIT_PROMPT_PREFIX="git:(%{$fg[red]%}"
ZSH_THEME_GIT_PROMPT_SUFFIX="%{$reset_color%}"
ZSH_THEME_GIT_PROMPT_DIRTY="%{$fg[blue]%}) %{$fg[yellow]%}✗%{$reset_color%}"
ZSH_THEME_GIT_PROMPT_CLEAN="%{$fg[blue]%})"
@stemount
stemount / Drupal Brightcove Token
Created October 7, 2014 09:37
Drupal Brightcove Token Example
[[brightcove:3811542772001]]
@stemount
stemount / SassMeister-input-HTML.html
Created March 12, 2014 21:55
Generated by SassMeister.com.
<div class="hello">
</div>