Skip to content

Instantly share code, notes, and snippets.

Janne Mareike Koschinski justjanne

Block or report user

Report or block justjanne

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
@justjanne
justjanne / Price Breakdown.md
Last active Aug 22, 2019 — forked from kylemanna/price.txt
Server Price Breakdown: DigitalOcean, Amazon AWS LightSail, Vultr, Linode, OVH, Hetzner, Scaleway/Online.net:
View Price Breakdown.md

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
View sanitize.sh
#!/bin/bash
declare -A fileinfo
# Resets the fileinfo map
fileinfo_reset() {
fileinfo[year]="0000"
fileinfo[month]="00"
fileinfo[day]="00"
fileinfo[hour]="00"
View keybase.md

Keybase proof

I hereby claim:

  • I am justJanne on github.
  • I am justjanne (https://keybase.io/justjanne) on keybase.
  • I have a public key whose fingerprint is 2475 1A52 23C3 C6CF 56BD 3487 D214 D7C4 032C 7C6C

To claim this, I am signing this object:

View quassel.json
{
"annotations": {
"list": [
{
"builtIn": 1,
"datasource": "Prometheus",
"enable": true,
"hide": true,
"iconColor": "rgba(0, 211, 255, 1)",
"limit": 100,
@justjanne
justjanne / strings.xml
Created Mar 24, 2018
QuasselDroid German Translation
View strings.xml
<?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>
View jes.java
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 {
View coresetup-protocol.md

CoreSetup

Protocol Flow

When the client receives a CoreInitAck message, with "Configured" set to "False", it will display to the user a list, allowing them to choose a StorageBackend from the ones present in CoreInitAck’s "StorageBackends" attribute.

If the user chooses one such backend, and the backend has a SetupKeys attribute which

View frame_sliding_panel.xml
<?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"
View default.qdtheme
##############################
# QuasselDroid default theme #
##############################
# Uses AARRGGBB or RRGGBB format for colors
# Used for status bar and appbar
colorPrimary=#0271B3
colorPrimaryDark=#02588c
colorAccent=#ffeb3b
View gist:0afc40651b06ed1ab36a
#
# 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
#
You can’t perform that action at this time.