Skip to content

Instantly share code, notes, and snippets.

View Daij-Djan's full-sized avatar

Dominik Pich Daij-Djan

View GitHub Profile
p="/Users/dpich/Desktop/t/bilder/impressionen/"
echo $p
t="/Users/dpich/Dropbox (Personal)/Maria's Art/__Copies For Website/Impressionen/"
echo $t
cd "$t"
for f in `ls $p`; do
file=$p/$f
img=`pcregrep -o1 -e "<img src=\"(.*_med).*\\.jpeg\"" "$file"`
img_path=$p/$img"_hr.jpeg"
@Daij-Djan
Daij-Djan / xcode_project_file_count.rb
Created July 5, 2021 15:51
show use of xcodeproj package
#!/usr/bin/ruby
require 'xcodeproj'
projects = {
'my app: variant a' => '/Users/dpich/Desktop/e80f427ed_a.xcodeproj',
'my app: variant b' => '/Users/dpich/Desktop/e80f427ed_a_modified.xcodeproj',
}
puts "# File Counts"
@Daij-Djan
Daij-Djan / button_mash_ps5.gph
Created December 10, 2021 22:28
Button mash for PS5:: Holding down square, cross, circle or triangale button for automatic repetition instead of press (fast button mash), On / Off: Press create button : to disabled/enable AutoCombo. (rumbles on activate), Hold create button 1s for normal options menu
#pragma METAINFO("button_mash_ps5", 1, 1, "Daij-Djan")
#include <ps5.gph>
/*
<shortdesc>
Button mash for PS5
AutoCombo : Holding down square, cross, circle or triangale button for automatic repetition instead of press (fast button mash)<br>
On / Off : Press share button : to disabled/enable AutoCombo. (rumbles on activate)<br>
Hold share button 1s for normal options menu
</shortdesc>