Skip to content

Instantly share code, notes, and snippets.

Hello! Nice to see you!

Anders Lindén AndersBillLinden

Hello! Nice to see you!
  • Sandviken, Sweden
View GitHub Profile
View dataknas.txt
jag sitter här och testar en applikation
den snackar massa sql av okänd version
nu är det inte långt kvar till jag kan söka sluten
kompetent vård på psykakuten
för jag har tappat tråden i våran databas
var tusan har jag lagt den det blir ju bara knas
AndersBillLinden / Setting up gimp on
Last active July 14, 2018 07:25
Building gimp on linux
View Setting up gimp on

Setting up gimp on linux


debootstrap --components=main,universe unstable gimpdev


AndersBillLinden / Setting up gimp on
Last active June 5, 2018 22:25
Setting up gimp on windows
View Setting up gimp on

Building gimp on Windows

Following instructions on on windows 10 pro, build 16299

  1. Surfing to

  2. Downloading msys2-x86_64-20180531.exe by clicking link.

  3. Checking the sha-256 checksum of the file so its 3b233de38cb0393b40617654409369e025b5e6262d3ad60dbd6be33b4eeb8e7b

AndersBillLinden /
Last active October 15, 2017 20:39



KISS "Keep it simple stupid"

KISS is a pattern and the anti pattern of KISS is

  • Using algorithms that are more complex than needed.
  • Adding extra unneeded layers/folders.
View truth document, cgeo + Android


This is a research document, used to settle a knowledge base to develop cgeo in Android Studio. It is written for those who come from eclipse, has no experience of Android Studio and has not been into the cgeo code base before.

##Packages structure

By selecting "Packages" in the dropdown in the "1: Project" tab, you will see that cgeo consists of 5 projects: cgeo-calendar, cgeo-contacts, main, mapswithme-api and showcaseview.

The list comes from the file settings.gradle.

View console message
[LWJGL] Initial mode: 1920 x 1080 x 32 @50Hz
[LWJGL] MemoryUtil Accessor: AccessorUnsafe
Thu Jul 14 20:36:39 CEST 2016 INFO:Use Java PNG Loader = true
package items;
import net.minecraft.block.Block;
import net.minecraft.block.BlockDirt;
import net.minecraft.block.BlockDoor;
import net.minecraft.block.BlockTorch;
import net.minecraft.block.material.Material;
import net.minecraft.block.state.BlockState;
import net.minecraft.block.state.IBlockState;
import net.minecraft.entity.passive.EntityVillager;
AndersBillLinden /
Created January 24, 2016 10:43
harvest block in PlayerInteractEvent
public boolean onPlayerInteract(PlayerInteractEvent event)
World world =;
EntityPlayer player = event.entityPlayer;
ItemStack item = player.getCurrentEquippedItem();
if (item != null && item.getItem() == IronGolemFarmMod.redstonePickaxe &&
event.action == PlayerInteractEvent.Action.LEFT_CLICK_BLOCK)
View crash-2015-12-07_22.05.27-server.txt
---- Minecraft Crash Report ----
// Uh... Did I do that?
Time: 2015-12-07 22:05
Description: Ticking entity
at java.util.LinkedList$ListItr.checkForComodification(Unknown Source)
at java.util.LinkedList$ListItr.remove(Unknown Source)
at net.minecraft.entity.player.EntityPlayerMP.onUpdate(