Skip to content

Instantly share code, notes, and snippets.

View bonndan's full-sized avatar
🎯
Focusing

bonndan

🎯
Focusing
View GitHub Profile
@bonndan
bonndan / log.txt
Created September 4, 2022 10:18
Improvedm mobs vs lithium
[12:11:50] [Render thread/WARN]: Mixin apply for mod improvedmobs failed improvedmobs.mixins.compat.json:pathfinding.performance.WalkNodeStaticMixin from mod improvedmobs -> net.minecraft.class_14: org.spongepowered.asm.mixin.injection.throwables.InvalidInjectionException @At("INVOKE") on net/minecraft/class_14::stop with priority 1000 cannot inject into net/minecraft/class_14::method_59(Lnet/minecraft/class_1922;Lnet/minecraft/class_2338$class_2339;Lnet/minecraft/class_7;)Lnet/minecraft/class_7; merged by me.jellysquid.mods.lithium.mixin.ai.pathing.LandPathNodeMakerMixin with priority 1000 [ -> redirect$bgo000$stop(Lnet/minecraft/class_1922;Lnet/minecraft/class_2338;)Lnet/minecraft/class_3610; -> Prepare]
org.spongepowered.asm.mixin.injection.throwables.InvalidInjectionException: @At("INVOKE") on net/minecraft/class_14::stop with priority 1000 cannot inject into net/minecraft/class_14::method_59(Lnet/minecraft/class_1922;Lnet/minecraft/class_2338$class_2339;Lnet/minecraft/class_7;)Lnet/minecraft/class_7; mer
@bonndan
bonndan / post-commit
Last active August 6, 2016 20:26
gh-pages post commit hook
#!/bin/sh
branch=$(git rev-parse --abbrev-ref HEAD)
if [ "gh-pages" == "$branch" ]; then
exit
fi
echo Updating gh-pages for branch $branch
git checkout gh-pages
git checkout $branch -- dist
@bonndan
bonndan / docker-dns-osx.sh
Last active August 29, 2015 14:14
docker-local-dns
#!/bin/bash
#
# see https://github.com/iverberk/docker-spy
#
boot2docker up
BOOT2DOCKER_IP="$(boot2docker ip)"
DOCKER_IP_BRIDGE="172.17.42.1"
DNS_DOMAIN="local-dev.leanix.net"
mkdir -p /etc/resolver
@bonndan
bonndan / .Xmodmap
Created March 18, 2014 21:21
xmodmap config for apple keyboard under ubuntu
! clean most of the modifiers
clear control
clear mod4
clear mod1
! gt, lt
keycode 49 = less greater less greater bar brokenbar bar
keycode 94 = dead_circumflex degree dead_circumflex degree U2032 U2033 U2032
! -----------------
@bonndan
bonndan / gist:7625645
Created November 24, 2013 10:28
Adobe source code pro ubuntu
mkdir /tmp/adodefont
cd /tmp/adodefont
wget http://downloads.sourceforge.net/project/sourcecodepro.adobe/SourceCodePro_FontsOnly-1.017.zip
unzip SourceCodePro_FontsOnly-1.017.zip
sudo mkdir -p /usr/share/fonts/opentype
sudo cp SourceCodePro_FontsOnly-1.017/OTF/*.otf /usr/share/fonts/opentype
sudo fc-cache -f -v
@bonndan
bonndan / gist:7539479
Last active December 28, 2015 17:59
install nodejs Ubuntu 12.04
sudo apt-get install python-software-properties python g++ make
sudo add-apt-repository ppa:chris-lea/node.js
sudo apt-get update
sudo apt-get dist-upgrade -y
sudo apt-get install nodejs
#
# npm can install npm
#
sudo npm install -g npm