Skip to content

Instantly share code, notes, and snippets.

Avatar
🐧
yo

Christoffer Tibell Brottweiler

🐧
yo
View GitHub Profile
@Brottweiler
Brottweiler / packs.md
Created Dec 11, 2020
List of resource packs optimized for PvP (from Overcast)
View packs.md
@Brottweiler
Brottweiler / README.md
Last active Aug 1, 2020 — forked from pwign/ImageMagick Minecraft Skin
For converting 64x32 Minecraft skin to 64x64 format using ImageMagick
View README.md

ImageMagic Mineraft Skin Converter

Usage

chmod +x skin-convert.sh
./skin-convert.sh skin.png
View 01-emoji.conf
<?xml version="1.0"?>
<!DOCTYPE fontconfig SYSTEM "fonts.dtd">
<fontconfig>
<alias>
<!-- Change the string in the family tag to whatever font -->
<family>serif</family>
<prefer><family>Noto Serif</family></prefer>
</alias>
<alias>
<family>sans-serif</family>
@Brottweiler
Brottweiler / preset.md
Last active May 21, 2019
Minecraft Beta Customized Terrain Generator Preset "Neo-Beta"
View preset.md

Presets

Neo-Beta Preset

{"coordinateScale":684.412,"heightScale":684.412,"lowerLimitScale":512.000,"upperLimitScale":512.000,"depthNoiseScaleX":200.000,"depthNoiseScaleZ":200.000,"depthNoiseScaleExponent":0.5,"mainNoiseScaleX":80.0,"mainNoiseScaleY":160.0,"mainNoiseScaleZ":80.0,"baseSize":8.5,"stretchY":12.0,"biomeDepthWeight":0.0,"biomeDepthOffset":0.370,"biomeScaleWeight":0.0,"biomeScaleOffset":0.5,"seaLevel":64,"useCaves":true,"useDungeons":true,"dungeonChance":8,"useStrongholds":false,"useVillages":false,"useMineShafts":false,"useTemples":false,"useRavines":false,"useWaterLakes":true,"waterLakeChance":4,"useLavaLakes":true,"lavaLakeChance":80,"useLavaOceans":false,"fixedBiome":-1,"biomeSize":2,"riverSize":5,"dirtSize":33,"dirtCount":20,"dirtMinHeight":0,"dirtMaxHeight":128,"gravelSize":33,"gravelCount":10,"gravelMinHeight":0,"gravelMaxHeight":128,"graniteSize":33,"graniteCount":10,"graniteMinHeight":0,"graniteMaxHeight":80,"dioriteSize":33,"dioriteCount":10,"dioriteMinHeight":0,"dioriteMaxHe
@Brottweiler
Brottweiler / st.txt
Created Mar 26, 2019
st crash error
View st.txt
erresc: unknown private set/reset mode 1005
X Error of failed request: BadLength (poly request too large or internal Xlib length error)
Major opcode of failed request: 139 (RENDER)
Minor opcode of failed request: 20 (RenderAddGlyphs)
Serial number of failed request: 30165
Current serial number in output stream: 31491
@Brottweiler
Brottweiler / syyu.md
Created Feb 22, 2019
pacman -Syyu vs. pacman -Syu
View syyu.md

pacman -Syu

  • User: Hey server do you have any new packages or updates or changes at all
  • Server: no
  • User: Ok bye

pacman -Syyu

  • User: hey server do you have any new packages or updates at all
  • Server: no
@Brottweiler
Brottweiler / screen-tearing.md
Last active Oct 3, 2020
Screen tearing in Linux
View screen-tearing.md

Screen Tearing in Linux

The purpose of this gist is to document my experiences with screen tearing in Linux.

Information

  • Archlinux
  • i5-4460 (4) @ 3.4GHz
  • GeForce GTX 750 Ti
@Brottweiler
Brottweiler / terminals.md
Last active May 23, 2020
Open a terminal with a selection box
View terminals.md

Requirements

  • Your terminal emulator of choice
  • slop

Termite

termite --geometry=$(slop)
@Brottweiler
Brottweiler / colors.sh
Created Feb 22, 2017
Print tmux colors
View colors.sh
for i in {0..255}; do
printf "\x1b[38;5;${i}mcolour${i}\x1b[0m\n"
done
@Brottweiler
Brottweiler / stop_using_kali.md
Last active Dec 9, 2018
Whats wrong with Kali Linux?
View stop_using_kali.md

Whats wrong with Kali Linux?

Basically, it's an expression of my frustration with the hordes of newcomes to Linux who've seen Mr. Robot and think they too can become super hackers by downloading an ISO off of the internet. Kali is a great system, but it's a great system for people who know what they're doing. It breaks numerous rules and praxes which, for a normal desktop user, is devastating.

First of all, it is NOT meant for installation onto a hard drive. It's made for booting as a live USB, doing what you need to, and then shutting down to reset to a clean environment. By default, Kali doesn't do 99% of the things a normal desktop user expects.

Secondly, Kali runs as a single-user root. That means that all programs run with Kali have full system access. It's great for people who know what they're doing (and are booting from a USB, so that any changes don't matter anyway) and need quick access to everything, but it's catastrophic for desktop use. Almost all of the security benefits of Linux go out the

You can’t perform that action at this time.