I hereby claim:
- I am dw72 on github.
- I am dw72 (https://keybase.io/dw72) on keybase.
- I have a public key ASDDnwcjkAMkQ39xgRxcSaYO4Cnl08y6HVOsJ7ekFCs4_Ao
To claim this, I am signing this object:
| for file in "$@"; do | |
| ffmpeg -i "$file" -vn -ar 44100 -ac 2 -ab 192k -f mp3 "${file%.*}.mp3" | |
| done |
| [Trigger] | |
| Operation = Upgrade | |
| Type = Package | |
| Target = pacman-mirrorlist | |
| [Action] | |
| Description = Updating pacman-mirrorlist with reflector and removing pacnew... | |
| When = PostTransaction | |
| Depends = reflector | |
| Exec = /usr/bin/bash -c "reflector --country 'Poland' --latest 5 --sort rate --save /etc/pacman.d/mirrorlist && rm -f /etc/pacman.d/mirrorlist.pacnew || true" |
| #!/bin/bash | |
| OLDIFS=$IFS | |
| IFS="," | |
| while read class profil lastname firstname pesel | |
| do | |
| first=$(echo $firstname | iconv -f UTF-8 -t ASCII//translit | cut -c 1-2) | |
| last=$(echo $lastname | iconv -f UTF-8 -t ASCII//translit) |
| #!/usr/bin/bash | |
| src=$1 | |
| dst=${1%.*}.png | |
| [[ -z "$2" ]] && type="apps" || type=$2 | |
| for i in 16 22 24 32 64 128 | |
| do | |
| inkscape -z -e $dst -w $i -h $i $src |
I hereby claim:
To claim this, I am signing this object:
| find . -name '*.zip' -print0 | xargs -0 -I{} -n1 -P4 /bin/bash -c 'file="{}"; cd "${file%/*}"; unzip "${file##*/}"' |
| for i in *.jpg; do convert $i -set colorspace sRGB -colorspace RGB +sigmoidal-contrast 15,50% -filter Lanczos -define filter:blur=.9264075766146068 -distort resize 200% -sigmoidal-contrast 15,50% -colorspace sRGB ./out/$i; done |
| $regpath="HKLM:\SOFTWARE\Microsoft\Windows NT\CurrentVersion\ProfileList" | |
| Get-ChildItem -path $regpath | |
| Remove-Item "$($regpath)\S-1-5-21-2762740241-1875924150-698178130-3300" -Force |
| # PowerView's last major overhaul is detailed here: http://www.harmj0y.net/blog/powershell/make-powerview-great-again/ | |
| # tricks for the 'old' PowerView are at https://gist.github.com/HarmJ0y/3328d954607d71362e3c | |
| # the most up-to-date version of PowerView will always be in the dev branch of PowerSploit: | |
| # https://github.com/PowerShellMafia/PowerSploit/blob/dev/Recon/PowerView.ps1 | |
| # New function naming schema: | |
| # Verbs: | |
| # Get : retrieve full raw data sets | |
| # Find : ‘find’ specific data entries in a data set |
| #!/bin/sh | |
| # ============================================================================= | |
| # Author: Chu-Siang Lai / chusiang (at) drx.tw | |
| # Filename: teams-chat-post.sh | |
| # Modified: 2018-03-28 15:04 | |
| # Description: Post a message to Microsoft Teams. | |
| # Reference: | |
| # | |
| # - https://gist.github.com/chusiang/895f6406fbf9285c58ad0a3ace13d025 | |
| # |