Skip to content

Instantly share code, notes, and snippets.

@ajthemacboy
ajthemacboy / crash-2019-02-07_17.43.00-server.txt
Created February 7, 2019 22:49
crash-2019-02-07_17.43.00-server.txt
---- Minecraft Crash Report ----
WARNING: coremods are present:
AstralCore (astralsorcery-1.12.2-1.10.3.jar)
EnderCorePlugin (EnderCore-1.12.2-0.5.43.jar)
ForgelinPlugin (Forgelin-1.8.0.jar)
IELoadingPlugin (ImmersiveEngineering-core-0.12-86.jar)
LoadingPlugin (ResourceLoader-MC1.12.1-1.5.3.jar)
CoreMod (Aroma1997Core-1.12.2-2.0.0.0.jar)
Do not report to Forge! (If you haven't disabled the FoamFix coremod, try disabling it in the config! Note that this bit of text will still appear.) (foamfix-0.10.2-1.12.2.jar)
---> (Inner Exception #1) System.AggregateException: One or more errors occurred. ---> System.Exception: Unable to find log in lookup table, this may be caused by attempting to transport call contexts between AppDomains (eg. with remoting calls)
at Duplicati.Library.Logging.Log.get_CurrentScope()
at Duplicati.Library.Logging.Log.WriteMessage(LogMessageType type, String tag, String id, Exception ex, String message, Object[] arguments)
at Duplicati.Library.Main.Operation.Backup.FileEnumerationProcess.<>c.<Run>b__1_3(String rootpath, String path, Exception ex)
at Duplicati.Library.Utility.Utility.<EnumerateFileSystemEntries>d__23.MoveNext()
at System.Linq.Enumerable.<SelectManyIterator>d__17`2.MoveNext()
at Duplicati.Library.Main.Operation.Backup.FileEnumerationProcess.<>c__DisplayClass1_0.<<Run>b__0>d.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
at System.Runtime.CompilerServices.
@ajthemacboy
ajthemacboy / break.reg
Created April 21, 2018 12:21
These registry keys break Firefox
Windows Registry Editor Version 5.00
[HKEY_CURRENT_USER\SOFTWARE\Microsoft\Windows\DWM]
"AccentColor"=dword:00111111
"AccentColorInactive"=dword:002f2f2f
@ajthemacboy
ajthemacboy / gist:006be909e5f31b2a30556c48752c7d85
Created February 17, 2018 21:54
Manually install Grub when it fails when dual-booting with Windows
### Boot into rescue mode from installer USB
mount /dev/nvme0n1p5 /mnt
mount --bind /dev /mnt/dev
cd /mnt
mount -t sysfs sys sys/
mount -t proc proc proc/
chroot /mnt
### Inside chroot
grub2-mkconfig -o /boot/grub2/grub.cfg
DEBUG[12-10|12:41:20] FS scan times list=1.0027ms set=0s diff=0s
TRACE[12-10|12:41:20] Handled keystore changes time=0s
WARN [12-10|12:41:20] No etherbase set and no accounts found as default
INFO [12-10|12:41:21] Starting peer-to-peer node instance=Geth/v1.7.2-stable-1db4ecdc/windows-amd64/go1.9
INFO [12-10|12:41:21] Allocated cache and file handles database=D:\\geth\\data\\geth\\lightchaindata cache=128 handles=1024
INFO [12-10|12:41:21] Writing default main-net genesis block
DEBUG[12-10|12:41:21] Trie cache stats after commit misses=0 unloads=0
INFO [12-10|12:41:21] Initialised chain configuration config="{ChainID: 1 Homestead: 1150000 DAO: 1920000 DAOSupport: true EIP150: 2463000 EIP155: 2675000 EIP158: 2675000 Byzantium: 4370000 Engine: ethash}"
INFO [12-10|12:41:21] Disk storage enabled for ethash caches dir=D:\\geth\\data\\geth\\ethash count=3
INFO [12-10|12:41:21] Disk storage enabled for ethash DAGs dir=C:\\U
DEBUG[12-10|12:33:02] FS scan times list=0s set=0s diff=0s
WARN [12-10|12:33:02] No etherbase set and no accounts found as default
INFO [12-10|12:33:02] Starting peer-to-peer node instance=Geth/v1.7.3-stable-4bb3c89d/windows-amd64/go1.9
INFO [12-10|12:33:02] Allocated cache and file handles database=D:\\geth\\data\\geth\\lightchaindata cache=128 handles=1024
INFO [12-10|12:33:02] Initialised chain configuration config="{ChainID: 1 Homestead: 1150000 DAO: 1920000 DAOSupport: true EIP150: 2463000 EIP155: 2675000 EIP158: 2675000 Byzantium: 4370000 Engine: ethash}"
INFO [12-10|12:33:02] Disk storage enabled for ethash caches dir=D:\\geth\\data\\geth\\ethash count=3
INFO [12-10|12:33:02] Disk storage enabled for ethash DAGs dir=C:\\Users\\aj\\AppData\\Ethash count=2
INFO [12-10|12:33:02] Added trusted checkpoint chain name="ETH mainnet"
INFO [12-10|12:33:02] Loaded most recent local header number=0 hash=d4e567…cb8fa3 td=17179
DEBUG: <EXPAND Template:Cite book
DEBUG: EXPAND refend
DEBUG: <EXPAND Template:Refend
DEBUG: EXPAND Commonscat|London Gatwick Airport
DEBUG: <EXPAND Template:Commonscat
DEBUG: EXPAND wikivoyage
DEBUG: <EXPAND Template:Wikivoyage
DEBUG: EXPAND Official website|http://www.gatwickairport.com
DEBUG: <EXPAND Template:Official website
DEBUG: EXPAND Portalbar|London|West Sussex|United Kingdom|Aviation
lxc launch ubuntu:16.04 ubu1
apt install qemu-kvm libvirt-bin bridge-utils
lxc config set ubu1 security.privileged true
lxc config device add ubu1 kvm disk path=/dev/kvm source=/dev/kvm
---
@ajthemacboy
ajthemacboy / gist:d4ee823a367d4e0ad01878900b72a9c4
Last active May 5, 2017 14:45
7zip batch ultra 7z compression
for file in $(find . -type f -name "hdd-0.vhdx.*"); do
7z a -t7z $file.7z $file -m0=lzma2 -mx=9 -ms=4G -mmt=8 -aoa
mv $file.7z "/mnt/d/Amazon Drive/migration/iMac_Image_2-28-17"
done
# Remove ~.~ directories after backup=t
for dir in $(find *~* -type d); do
rawdir=$(echo $dir | cut -d "." -f1)
@ajthemacboy
ajthemacboy / movedigiphotos.bash
Last active May 2, 2017 23:59 — forked from jvhaarst/movedigiphotos.bash
Bash script to move images, based on exif data and file timestamp
#!/bin/bash
# Reads EXIF creation date from all .JPG files in the
# current directory and moves them carefully under
#
# $BASEDIR/YYYY/YYYY-MM/YYYY-MM-DD/
#
# ...where 'carefully' means that it does not overwrite
# differing files if they already exist and will not delete
# the original file if copying fails for some reason.