Skip to content

Instantly share code, notes, and snippets.

View testfailed's full-sized avatar
🏠
Working from home

Son Sumin testfailed

🏠
Working from home
  • Home
  • South Korea
  • 16:25 (UTC +09:00)
View GitHub Profile
@testfailed
testfailed / git-smudge-clean-filter.sh
Created May 13, 2023 16:12 — forked from TomerFi/git-smudge-clean-filter.sh
Git smudge-clean script for using as filter for mutiple reducted values for various file types in various repositories.
#!/bin/bash
#####################################################################################################
# This script is meant to be used as a global smudge-clean filter for removing sensitive data #
# from your commits. #
# #
# 1. Place this script in an acceisble path, i.e. ~/scripts/git-smudge-clean-filter.sh. #
# #
# 2. Populate the 'mapArr' using what you need hidden as the key, and the replacment as the value. #
# DO NOT use same values for multiple keys (this will work only in one direction). #
@testfailed
testfailed / gradle.properties
Created June 13, 2023 02:55 — forked from iurysza/gradle.properties
Publication strategy for kotlin libraries using proguard
libraryVersion=0.1.0
libraryArtifactId=kotlin-library
proguardVersion=7.0.1
@testfailed
testfailed / with-env.ps1
Created November 10, 2023 08:08 — forked from kizzx2/with-env.ps1
Run command with environment variables in PowerShell
$ori = @{}
Try {
$i = 0
# Loading .env files
if(Test-Path $args[0]) {
foreach($line in (Get-Content $args[0])) {
if($line -Match '^\s*$' -Or $line -Match '^#') {
continue
}