Skip to content

Instantly share code, notes, and snippets.

@sisimomo
sisimomo / actionnable-task-reminder.yaml
Created November 6, 2023 01:33
Actionnable Task Reminder - A Powerful Task Reminder Automation
blueprint:
name: Actionnable Task Reminder
description: |
# Send an actionable and snoozable reminder notification
Send a notification to the provided notification service to remind you a recurring task or event.
Supports full customizable notification, snooze options and recurrency control.
Support custom action when acknowledge the reminder.
@selvalogesh
selvalogesh / keepSysAwake.ps1
Last active March 24, 2026 06:12
A system tray app for windows using Power shell script to keep your system awake.
#Thanks to - https://github.com/damienvanrobaeys/Build-PS1-Systray-Tool
# - https://www.systanddeploy.com/2018/12/create-your-own-powershell.html
# - https://stackoverflow.com/questions/54649456/powershell-notifyicon-context-menu
# - https://adamtheautomator.com/powershell-async/
# Re-launch hidden via powershell.exe to bypass Windows Terminal
if (-not ($env:AWAKE_HIDDEN -eq '1')) {
$env:AWAKE_HIDDEN = '1'
Start-Process powershell.exe -ArgumentList "-WindowStyle Hidden -ExecutionPolicy Unrestricted -File `"$PSCommandPath`"" -WindowStyle Hidden
exit
@patrickfav
patrickfav / AesGcmTest.java
Last active February 27, 2024 11:32
Java Authenticated Encryption with AES and GCM.
package at.favre.lib.bytes.otherPackage;
import org.junit.Test;
import javax.crypto.Cipher;
import javax.crypto.SecretKey;
import javax.crypto.spec.GCMParameterSpec;
import javax.crypto.spec.SecretKeySpec;
import java.nio.ByteBuffer;
import java.nio.charset.StandardCharsets;