Skip to content

Instantly share code, notes, and snippets.

View zer0her0's full-sized avatar

Andrew M zer0her0

View GitHub Profile
@zer0her0
zer0her0 / df.log
Created April 17, 2018 19:13
df -h
Filesystem Size Used Avail Use% Mounted on
/dev/root 28G 5.8G 21G 22% /
devtmpfs 213M 0 213M 0% /dev
tmpfs 218M 0 218M 0% /dev/shm
tmpfs 218M 4.5M 213M 3% /run
tmpfs 5.0M 4.0K 5.0M 1% /run/lock
tmpfs 218M 0 218M 0% /sys/fs/cgroup
/dev/mmcblk0p6 63M 22M 42M 34% /boot
tmpfs 44M 0 44M 0% /run/user/1000
/dev/mmcblk0p5 30M 398K 28M 2% /media/pi/SETTINGS
@zer0her0
zer0her0 / RPi 1 update error.log
Created April 16, 2018 15:05
RPi 1 update error
pi@raspberrypi:~ $ sudo rpi-update
*** Raspberry Pi firmware updater by Hexxeh, enhanced by AndrewS and Dom
*** Performing self-update
*** Relaunching after update
*** Raspberry Pi firmware updater by Hexxeh, enhanced by AndrewS and Dom
*** We're running for the first time
*** Backing up files (this will take a few minutes)
*** Remove old firmware backup
*** Backing up firmware
*** Remove old modules backup
@zer0her0
zer0her0 / mosh error
Created November 13, 2017 16:45
mosh error
/usr/local/bin/mosh: Could not connect to xx.xx.xx.xx, last tried xx.xx.xx.xx: IO::Socket::INET: connect: Connection refused
ssh_exchange_identification: Connection closed by remote host
/usr/local/bin/mosh: Did not find remote IP address (is SSH ProxyCommand disabled?).
remote: Counting objects: 120, done.
remote: Compressing objects: 100% (40/40), done.
remote: Total 120 (delta 96), reused 104 (delta 80), pack-reused 0
Receiving objects: 100% (120/120), 14.12 KiB | 0 bytes/s, done.
Resolving deltas: 100% (96/96), completed with 29 local objects.
From https://github.com/Homebrew/brew
a5019d2..0810039 master -> origin/master
Auto packing the repository in background for optimum performance.
See "git help gc" for manual housekeeping.
error: The last gc run reported the following. Please correct the root cause
Please note that these warnings are just used to help the Homebrew maintainers
with debugging if you file an issue. If everything you use Homebrew for is
working fine: please don't worry and just ignore them. Thanks!
Warning: Your XQuartz (2.7.5) is outdated.
Please install XQuartz 2.7.9 (or delete the current version).
XQuartz can be updated using Homebrew-Cask by running
brew cask reinstall xquartz
Warning: Python is installed at /Library/Frameworks/Python.framework
Auto packing the repository in background for optimum performance.
See "git help gc" for manual housekeeping.
error: The last gc run reported the following. Please correct the root cause
and remove .git/gc.log.
Automatic cleanup will not be performed until the file is removed.
fatal: shallow file has changed since we read it
error: failed to run prune
@zer0her0
zer0her0 / gpg password test
Created May 6, 2016 16:10
found an old gpg key and wanted to test that I remembered the password correctly.
echo "1234" | gpg --no-use-agent -o /dev/null --local-user <username/id> -as - && echo "The correct passphrase was entered for this key"
@zer0her0
zer0her0 / PS2 forum sig
Created August 10, 2015 22:22
PS2 forum sig
http://the-swarm.net/backend/signature/1/zer0her0
@zer0her0
zer0her0 / genudine esamir embed
Last active August 29, 2015 14:27
iframe embed of Esamir on Genudine
<iframe id='genudine-esamir-iframe' src='http://ps2maps.com/genudine/esamir/embed' style='border:none; overflow:hidden; min-width:100%; height:auto;'>
$(window).on('resize', function() {
$('#genudine-esamir-iframe').height( $('#genudine-esamir-iframe').width() );
}).trigger('resize');</iframe>
@zer0her0
zer0her0 / genudine hossin embed
Created August 10, 2015 22:01
iframe embed of Hossin on Genudine
<iframe id='genudine-hossin-iframe' src='http://ps2maps.com/genudine/hossin/embed' style='border:none; overflow:hidden; min-width:100%; height:auto;'></iframe>