Skip to content

Instantly share code, notes, and snippets.

View electrolobzik's full-sized avatar

Roman Chernyak electrolobzik

  • Barcelona, Spain
  • 08:24 (UTC +02:00)
View GitHub Profile
@Mugurell
Mugurell / ExampleSpekTest
Last active March 27, 2019 11:30
Spek + JUnit5 config for Android project
import org.jetbrains.spek.api.Spek
import org.jetbrains.spek.api.dsl.given
import org.jetbrains.spek.api.dsl.it
import org.junit.Assert
class ExampleSpekTest : Spek({
val x = 2
val y = 3
@leodevbro
leodevbro / gmail-stats.gs
Last active June 29, 2025 14:19
In Gmail inbox, Find sender with most mail threads
// Original script: https://gist.github.com/leodevbro/2987e8874a18b2086ea6cc1aa3c494e8
// v2.5
// Google Apps Script is a coding language based on JavaScript.
// This Apps Script code helps us to sort addresses by most threads.
// A thread is a group of messages, as a conversation.
const modes = {
inbox: "inbox", // to analyze threads in the "Inbox" folder
outbox: "outbox", // to analyze threads in the "Sent" folder