Skip to content

Instantly share code, notes, and snippets.

View Brottweiler's full-sized avatar
🐧
Big up

Christoffer Tibell Brottweiler

🐧
Big up
View GitHub Profile
mc.thevoxelbox.com ^(?:[\{\[\(<](\w{2,16})[\}\]\)>]:?|\*?(\w{2,16}):)(.*) 1,2 3
play.mc-sg.org ^(?:<[^>]*>\s*)?(\w{2,16})\s*>(.*) 1 2
play.savagerealms.net ^(?:\[[^\]]*\]\s*)*\s*~?(\w{2,16})\s*(?:\[[^\]]*\])?:\s*(.*) 1 2
rp.fr-minecraft.net ^\[(?:[^>]+>)?(\w{2,16})\|[^\]]*\]\s*(.*) 1 2
eu.oc.tc ^(?:\[\w+\] (\w{2,16})|<(\w{2,16})>): (.*) 1,2 3
us.oc.tc ^(?:\[\w+\] (\w{2,16})|<(\w{2,16})>): (.*) 1,2 3

It's powerful enough and I didn't proofread it but I had an idea and it kinda got distorted and turtles but oh well

Brott's Diary

My 3 year cake day, Apr 12, 2015

I am glad to see Overcast still going strong. Since the Arcade came out, the population of the server has nearly doubled and I am constantly being kept busy by those who don't seem to want to follow the rules. In the first week someone has managed to reach 1000 wins in the arcade (how?). I must remind myself to watch him more closely. I myself have not played many of the minigames - they aren't really that interesting to me. I am excited that the PM system is coming out soon, too; I will enjoy reading the 'private' messages of users through the back door that last_username inserted into the system. Also, as a personal metric, I have hidden 102 goodbye threads so far; when will they even learn?

My 4 year cake day, Apr 12, 2016

Steam for Linux: The Port Report

This article is mostly written with Windows users in mind, as such it explains some of the obvious differences between Unix1 and Windows.

This article was inspired by TotalBiscuit's "Port Report" series which discusses the quality of console-to-PC ports. I decided to treat Steam for Linux as such: A Windows-to-Linux2 port. Some people say I am entitled and expect too much, I feel I only expect as much as TB expects from a PC-port of a Console game. A game that actually runs like a PC game and doesn't obviously show it came from console and is a shoddy port. This is currently what Steam for Linux is, a shoddy program that clearly shows its ancestry as a Windows program that does not work well. I attempt to narrate in this article some of the reasons why.

This article is also long and thorough, so I'll give you a tl;dr at the start of every point. The tl;dr for the entire article is that Steam for Linux has a shoddy port.

1. Steam for Linux poss

@Brottweiler
Brottweiler / minecraft_security.md
Last active January 4, 2017 16:01
Minecraft Security - Avoid Losing Your Account (https://oc.tc/forums/topics/50e13651f34422308100004c)

Getting your account hacked, potentially losing access to it and/or getting banned from servers because the hacker is having a field day with your username is something that I have seen happen time and time again when Serenity USA was still in it's prime.

For the person who got his account hacked, he/she has to prove they weren't hacking, calm other players who will from now on be suspicious whenever something happens that doesn't make sense, and try and reclaim the account with purchase receipts if the recovery email & password was changed away from them. Not fun…

Minecraft Accounts can get broken into by

  • Guessing bots cracking a weak, or commonly used password.
  • A dodgy minecraft mod. To avoid these I only get my mods from the http://minecraftforum.net/ forums.If there is something wrong with the mod, it will not take long for a commenter to post a warning.
  • Hacking clients. All the ones I've investigated have phoned data home to their creator.

You will be invited to become a mod if the admins think you're good enough. So don't even think about asking.

There are several things that will help your chances of becoming a mod

  1. Be helpful to other players.
  2. Talk with other players, mods and admins. (But don't annoy them.)
  3. Have a positive attitude and proper etiquette.
  4. Report rule breakers. (Don't make up fake reports.)

Doing these things will not guarantee in any way, shape or form that you will become a mod.

**Problem:**
**OS:**
**Desktop:**
**Terminal Output when Crash:**
```
Paste here
```

When you've used Windows your whole life, Linux feels like the first time you went in for a kiss with a girl. Your heart is beating but you're trying to remain calm. You're not sure what it will be like, you're nervous. A part of you wants to run, but your legs have stopped working. Your knee is shaking, and then you're kissing. It suddenly isn't as wonderful as you thought, nor is it any bad at all. It just is. But then you want more, and more, and a month later you're hugging and kissing and touching and thinking but you're not going all the way. Then you leave her for another girl who puts out in the ways you want.

@Brottweiler
Brottweiler / etckeeper.md
Last active February 24, 2024 21:41
My way of using etckeeper

I have my dotfiles in a directory called ~/dotfiles in my home directory that is the repository. I move my files there, and remove the dot. Then I have a script to symlink them out. But etckeeper works differently...

With etckeeper, you would initialize the repo inside /etc, not a sub directory. This should be fine, but it creates complications because your gitignore needs to be a whitelist instead of a blacklist.

Using etckeeper

Pushing

The first thing that you should do, is create /etc/.gitignore. Etckeeper does this automatically, with some defaults, but you want a whitelist, not a blacklist, so add a single * in the file. This should prevent etckeeper from doing git add for all your files.

@Brottweiler
Brottweiler / stop_using_kali.md
Last active December 9, 2018 18:48
Whats wrong with Kali Linux?

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