Skip to content

Instantly share code, notes, and snippets.

View Abrifq's full-sized avatar
⏳
Waiting for adhd and free time to align, again...

Arda Aydın Abrifq

⏳
Waiting for adhd and free time to align, again...
View GitHub Profile
@Abrifq
Abrifq / organize-by-date.sh
Last active October 18, 2026 15:04
Move files into folders according to their date (year and month), with a limit
#!/bin/bash
# Usage: organize-by-date.sh "./Path with spaces"
# or: find . -type f -maxdepth 1 -exec organize-by-year.sh \"{}\" ";"
[ -z "$1" ] && echo "Usage: $0 \"some file\"" >&2 && exit 1
YEARFORMAT=+%Y # Get year only
MONTHFORMAT=+%m #Get month only
YEARMAX=2026 # Do not sort after this year
@aagarwal1012
aagarwal1012 / flutter-ci.yml
Last active October 20, 2025 09:21
CI for your Flutter apps on GitHub Actions.
name: Flutter CI
# This workflow is triggered on pushes to the repository.
on:
push:
branches:
- master
# on: push # Default will running for every branch.
@jstangroome
jstangroome / DecryptObject.sql
Created November 5, 2012 21:29
Decrypt encrypted SQL Server stored procedures.
-- Must connect to SQL Server using the Dedicate Admin Connection, eg "admin:localhost". Verified with SQL Server 2012.
-- Originally from Williams Orellana's blog: http://williamsorellana.org/2012/02/decrypt-sql-stored-procedures/
DECLARE @ObjectOwnerOrSchema NVARCHAR(128)
DECLARE @ObjectName NVARCHAR(128)
SET @ObjectOwnerOrSchema = 'dbo'
SET @ObjectName = 'PROCEDURE NAME HERE'
DECLARE @i INT