Skip to content

Instantly share code, notes, and snippets.

View justjanne's full-sized avatar

Janne Mareike Koschinski justjanne

View GitHub Profile
@PreferenceWrapper(BuildConfig.APPLICATION_ID)
public abstract class Settings {
@Preference(key="pref_theme_id") String themeId;
@Preference boolean fullHostmask;
int textSize;
}
#
# A fatal error has been detected by the Java Runtime Environment:
#
# SIGSEGV (0xb) at pc=0x00007f93e75d052a, pid=1244, tid=140272761845504
#
# JRE version: Java(TM) SE Runtime Environment (8.0_20-b26) (build 1.8.0_20-b26)
# Java VM: Java HotSpot(TM) 64-Bit Server VM (25.20-b23 mixed mode linux-amd64 compressed oops)
# Problematic frame:
# C [libX11.so.6+0x4f52a] XSetICValues+0xfa
#
##############################
# QuasselDroid default theme #
##############################
# Uses AARRGGBB or RRGGBB format for colors
# Used for status bar and appbar
colorPrimary=#0271B3
colorPrimaryDark=#02588c
colorAccent=#ffeb3b
<?xml version="1.0" encoding="utf-8"?>
<android.support.v4.widget.NestedScrollView
xmlns:android="http://schemas.android.com/apk/res/android"
android:background="?attr/colorBackgroundCard"
android:layout_width="match_parent"
android:layout_height="match_parent">
<LinearLayout
android:layout_width="match_parent"
android:layout_height="match_parent"
@justjanne
justjanne / Price Breakdown.md
Last active April 11, 2024 22:21 — forked from kylemanna/price.txt
Server Price Breakdown: DigitalOcean, Amazon AWS LightSail, Vultr, Linode, OVH, Hetzner, Scaleway/Online.net:

Server Price Breakdown: DigitalOcean, Amazon AWS LightSail, Vultr, Linode, OVH, Hetzner, Scaleway/Online.net:

Permalink: git.io/vps

$5/mo

Provider Type RAM Cores Storage Transfer Network Price
import java.io.FileDescriptor;
import java.io.IOException;
import java.nio.ByteBuffer;
import java.nio.channels.FileChannel;
import java.nio.charset.StandardCharsets;
import java.nio.file.Paths;
import java.nio.file.StandardOpenOption;
public class Jes {
@justjanne
justjanne / strings.xml
Created March 24, 2018 23:37
QuasselDroid German Translation
<?xml version="1.0" encoding="utf-8"?>
<resources>
<string name="app_name">QuasselDroid</string>
<string name="connection_service_title">Verbindungsdienst</string>
<string name="connection_service_description">Hält eine Verbindung zum Core, um Benachrichtigungen und die Übertragung von Nachrichten zu ermöglichen</string>
<string name="label_buffer_name">Chatname</string>
<string name="label_cancel">Abbrechen</string>
<string name="label_close">Schließen</string>
{
"annotations": {
"list": [
{
"builtIn": 1,
"datasource": "Prometheus",
"enable": true,
"hide": true,
"iconColor": "rgba(0, 211, 255, 1)",
"limit": 100,
#!/bin/bash
declare -A fileinfo
# Resets the fileinfo map
fileinfo_reset() {
fileinfo[year]="0000"
fileinfo[month]="00"
fileinfo[day]="00"
fileinfo[hour]="00"
#!/bin/bash
declare -A tags
clear_message() {
start=0
source=""
fragment=""
tags=()