Skip to content

Instantly share code, notes, and snippets.

View oliverspryn's full-sized avatar
☀️
Everyday is a great day!

Oliver Spryn oliverspryn

☀️
Everyday is a great day!
View GitHub Profile
@vegadodo
vegadodo / sign-existing-commits-and-tags.md
Created November 26, 2020 05:46
How to sign existing commits and tags, starting from certain commit (for PRIVATE repo)

How to sign existing commits and tags, starting from certain commit (for PRIVATE repo)

Author

Vegadodo (@vegadodo)

DISCLAIMER

This might seriously fuck up repo history, so use at your own risk. Also, this might have some unintended side effects.

package com.geekorum.geekdroid.navigation
import android.content.Context
import android.os.Bundle
import android.util.AttributeSet
import androidx.core.content.res.use
import androidx.core.os.bundleOf
import androidx.fragment.app.DialogFragment
import androidx.fragment.app.Fragment
import androidx.fragment.app.FragmentManager
@Yazazzello
Yazazzello / smoketest
Created February 21, 2018 08:42
script for sequentially running espresso test on headless android emulators
#!/bin/bash
#emulators=( "$@" )
#usage bash smoketests $ARRAY_OF_AVD_IDS
emulators=(
#"Nexus_5_API_24"
#"Nexus_S_API_23"
#"Nexus_5_API_25"
#"Nexus_5_API_26"
#"Nexus_5_API_19"
#"Nexus_5_API_22"
@amercier
amercier / synology-scheduled-tasks.md
Last active January 10, 2024 08:31
Turn leds on/off on Synology DiskStation

Synology scheduled tasks

Usage

Go to Control Panel / Task Scheduler and add the content of these scripts as root scripts.

Leds