Skip to content

Instantly share code, notes, and snippets.

View samkatakouzinos's full-sized avatar

Sam Katakouzinos samkatakouzinos

View GitHub Profile
@samkatakouzinos
samkatakouzinos / notify_agent_agenda.yaml
Created April 18, 2024 08:08 — forked from allenporter/notify_agent_agenda.yaml
Home Assistant Blueprint: Conversation agent Agenda Notification
---
blueprint:
name: Conversation agent Agenda Notification
description:
Conversation agent generates a notification based on the upcoming calendar
agenda, location, and weather information.
domain: automation
input:
notify_time:
name: Notification time
@samkatakouzinos
samkatakouzinos / @mattupham Omegle IP Location Finder
Created October 16, 2021 05:29 — forked from mattupham/@mattupham Omegle IP Location Finder
@mattupham Omegle IP Location Finder - Ask Questions in our Discord, links below
// Subscribe on YouTube, and follow on TikTok (@mattupham)! Socials found below:
// https://mattupham.com/links
// @ me on Discord with any questions!
https://link.mattupham.com/discord
// --------------------------------------------
// PLEASE REPLACE "your-api-key-here" WITH AN
// API KEY FROM https://ipgeolocation.io/
let apiKey = "your-api-key-here";
@samkatakouzinos
samkatakouzinos / .gitignore
Last active June 14, 2019 01:36
Turn monitor off with a keyboard shortcut with AutoHotKey
# Created by https://www.gitignore.io/api/visualstudio,visualstudiocode
# Edit at https://www.gitignore.io/?templates=visualstudio,visualstudiocode
### VisualStudioCode ###
.vscode/*
!.vscode/settings.json
!.vscode/tasks.json
!.vscode/launch.json
!.vscode/extensions.json
@samkatakouzinos
samkatakouzinos / musicbrainz-picard-file-scripting
Last active December 16, 2021 19:14
MusicBrainz Picard File Scripting script based on file tags
$noop( Original Source: https://github.com/avibrazil/picard-scripting/blob/master/Options%20%E2%9E%A1%20Advanced%20%E2%9E%A1%20Scripting.txt )
$noop(
Thes first set of macros will change tags [title, album, disc subtitle] into something more typographically correct and
beutiful. These changes will be applied to the media header tags [ID3 etc] and will be seen on players as the iPod.
Since the same text is used for the tag and for file and directory naming, but since some [Windows] filesystems do
not allow names with certain chars, the second set of macros makes subtle visual changes, using Unicode chars
that are compatible with [Windows] filesystems. The effect is no more ugly "_" in file names for tag chars as "/", "*", "?",
@samkatakouzinos
samkatakouzinos / musicbrainz-picard-file-naming
Last active March 3, 2018 06:32
MusicBrainz Picard File Naming script based on file tags
$noop( Original Source: https://github.com/avibrazil/picard-scripting/blob/master/Options%20%E2%9E%A1%20File%20Naming.txt )
$noop(© Avi Alkalay: freely distributable)
$noop(Please uncheck "Replace non-ASCII characters" and "Replace Windows-incompatible characters")
$noop(★★★★★ if you want to organize by genres, remove this line
$if(%genre%,
%genre%/,
)
@samkatakouzinos
samkatakouzinos / 10services_default.bat
Created September 1, 2017 05:19
Windows 10 default services, script by AveYo
@ECHO OFF &COLOR 70 &TITLE Windows 10 default services, script by AveYo &echo/
SET QUIT=PING -n 10 0 ^>NUL 2^>^&1 ^&COLOR 70 ^&EXIT/B
:: check win version
FOR /F "tokens=4-5 delims=. " %%i IN ('ver') DO SET "WINVER=%%i%%j"
IF %WINVER% LSS 100 COLOR 74 &echo ERROR! ONLY FOR WINDOWS 10 &%QUIT%
:: check for admin rights
SET "ADM=" &bcdedit >NUL 2>&1
IF NOT "%ERRORLEVEL%"=="1" SET "ADM=Y"
IF NOT DEFINED ADM COLOR 74 &echo ERROR! Run again by right-clicking and selecting 'Run as administrator' &%QUIT%
:: gives time to cancel before any changes (all scripts should provide this...)
@samkatakouzinos
samkatakouzinos / aaasoundcloud.lua
Created July 13, 2017 05:24
SoundCloud set playlist plugin for VLC
--[[--
SonundCloud set (playlist) parser
Made by MarcusD
This is a VLC playlist plugin to be able to play SoundCloud sets
Note: if it's not working, download http://regex.info/code/JSON.lua as VLC/lua/modules/JSON.lua
An example set link: https://soundcloud.com/pe-mahhieux/sets/savant
@samkatakouzinos
samkatakouzinos / folders-count.sh
Created January 2, 2017 03:51
How many folders are there under this folder?
ls -lR | grep ^d | wc -l