Skip to content

Instantly share code, notes, and snippets.

// ==UserScript==
// @name Tangerine UI for Mastodon
// @description A UserScript that applies the Tangerine UI for Mastodon style to ieji.de
// @version 3
// @match https://ieji.de/*
// @icon https://github.com/mastodon/mastodon/raw/main/public/favicon.ico
// @grant GM_addStyle
// @grant GM_getResourceText
// @homepage https://gist.github.com/egecelikci/bcd4d543564cba8ebe6536f23886fcd9
// @downloadURL https://gist.github.com/egecelikci/456da293b589d135417bd0ce56962629/raw/tangerine-ui-for-mastodon.user.js
// ==UserScript==
// @name Mastodon Bird UI
// @description A UserScript that applies the Mastodon Bird UI style to ieji.de
// @version 5
// @match https://ieji.de/*
// @icon https://github.com/mastodon/mastodon/raw/main/public/favicon.ico
// @grant GM_addStyle
// @grant GM_getResourceText
// @homepage https://gist.github.com/egecelikci/bcd4d543564cba8ebe6536f23886fcd9
// @downloadURL https://gist.github.com/egecelikci/bcd4d543564cba8ebe6536f23886fcd9/raw/mastodon-bird-ui.user.js
@egecelikci
egecelikci / battery_log.sh
Last active June 12, 2019 05:21
A shell script designed to keep battery log on Android devices
CAPACITYVOLTAGE=0
INTERVAL=1
while true; do
PREVVOLTAGE=$CAPACITYVOLTAGE
DATETIME=$(date +'%Y/%m/%d|%H:%M:%S')
CAPACITYVOLTAGE="$(( $(cat /sys/class/power_supply/battery/voltage_now) / 1000 ))"