Skip to content

Instantly share code, notes, and snippets.

View inhji's full-sized avatar
🚲
I'll make better mistakes tomorrow.

Jonathan Jenne inhji

🚲
I'll make better mistakes tomorrow.
View GitHub Profile
@inhji
inhji / selectsort.java
Last active October 13, 2015 01:48
Select Sort
import java.util.ArrayList;
import java.util.Arrays;
public class selectsort {
/**
*
* Select Sort
*
* Ein Feld wird einmal vollständig durchlaufen. Dabei wird durch einfache Vergleiche das größte Element herausgesucht
@inhji
inhji / extensions.md
Last active December 16, 2015 03:29
Sublime Text 2 Config

Themes

Color Schemes

@inhji
inhji / patienten.java
Created April 12, 2013 09:14
Patienten Datenbank
import java.io.*;
import java.util.Scanner;
import java.util.ArrayList;
public class Patienten {
public static ArrayList<patientItem> Data = new ArrayList<patientItem>();
public static String basePath = new String("/home/inhji/patienten.db");
public static String lim = new String("::");
public static Scanner s = new Scanner(System.in);
public static int encryptKey = 2;
@inhji
inhji / documentTags.vm
Created April 12, 2013 09:40
XWiki Tagging
#template("xwikivars.vm")
#set($tagsId = 'xdocTags')
#set($tagErrorMessage = '')
#set($xredirect = $escapetool.url($doc.getURL('view', "#${tagsId}")))
#set($predefinedTags = ['Windows','Linux','Oracle'])
##
##
##
#macro(displayTag $tag)
<span class="tag-wrapper"><span class="tag"><a href="$xwiki.getURL('Main.Tags', 'view', "do=viewTag&amp;tag=$!{escapetool.url($tag)}")">$!{escapetool.xml($tag)}</a></span>#if($xwiki.hasAdminRights())<span class="separator">[</span><a href="$doc.getURL('view', "xpage=documentTags&amp;xaction=delete&amp;tag=$!{escapetool.url($tag)}&amp;xredirect=${xredirect}")" class="tag-tool tag-delete" title="$msg.get('core.tags.remove.tooltip')">X</a><span class="separator">]</span>#end</span>
@inhji
inhji / postinstall.sh
Created April 16, 2013 16:59
Post Install Script
#!/bin/bash
# Download the latest packages & upgrade - for convenience's sake
apt-get update
apt-get upgrade -y
# PPAs
add-apt-repository -y ppa:nilarimogard/webupd8
add-apt-repository -y ppa:otto-kesselgulasch/gimp
add-apt-repository -y ppa:chris-lea/node.js
@inhji
inhji / .zshrc
Created April 17, 2013 08:29
zsh aliases
# Path to your oh-my-zsh configuration.
ZSH=$HOME/.oh-my-zsh
# Set name of the theme to load.
# Look in ~/.oh-my-zsh/themes/
# Optionally, if you set this to "random", it'll load a random theme each
# time that oh-my-zsh is loaded.
ZSH_THEME="lambda-inhji"
# Example aliases
@inhji
inhji / nopatterns.md
Created April 17, 2013 19:49
no patterns

When I was a little kid, my mother told me not to stare into the sun, so when I was six I did...

There will be no order, only chaos.

@inhji
inhji / new_gist_file
Created May 6, 2013 08:35
gtk-redshift
gtk-redshift -l 50.52:8.70
@inhji
inhji / xwiki.properties
Created May 10, 2013 11:57
xwiki.properties for Office Importer
#-------------------------------------------------------------------------------------
# Settings for the OpenOffice server instance consumed by the OfficeImporter component
#-------------------------------------------------------------------------------------
#-# [Since 1.9M2]
#-# Type of the openoffice server instance used by officeimporter component.
#-# 0 - Internally managed server instance. (Default)
#-# 1 - Externally managed (local) server instance.
openoffice.serverType=0
#-# [Since 1.9M2]
@inhji
inhji / new_gist_file
Created May 13, 2013 20:23
CM10.1 Lungo Battery Life
for me battery-life is way better than normal CM 10.1...
min 192
max 1512
ondemand
scheduler ROW
thumps up! great rom!