Skip to content

Instantly share code, notes, and snippets.

View tkeil69575's full-sized avatar

Tina Keil tkeil69575

  • Germany
  • 22:34 (UTC +02:00)
View GitHub Profile
@dsquintana
dsquintana / trends
Created July 23, 2019 19:09
A script for visualising research trends
@kevin-barrientos
kevin-barrientos / CheckBoxTriStates.java
Last active March 30, 2023 19:06
Android custom checkbox that displays three states (unchecked, undefined, checked)
import android.content.Context;
import android.os.Parcel;
import android.os.Parcelable;
import android.support.annotation.Nullable;
import android.util.AttributeSet;
import android.widget.CheckBox;
import android.widget.CompoundButton;
/**
* Base on https://stackoverflow.com/a/40939367/3950497 answer.
@mscalora
mscalora / letsencrypt-update-lighttpd
Last active January 18, 2024 00:28
script to auto update letsencrypt certs for debian lighttpd installation (based on script by Danny Tuppeny)
#!/usr/bin/env bash
#
# Update letsencrypt on a lighttp installation
#
# if you installed letsencrypt in a non-standard location you
# can set the LEDIR env var before you run this script
#
# setup letsencrypt install directory
STDLEDIR=/opt/letsencrypt
@bsara
bsara / TimeZonePreference.java
Last active May 25, 2020 18:31
Android Preference for Selecting a Time Zone
/*
The MIT License (MIT)
Copyright (c) 2014 Brandon Dale Sara
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is