view · edit · sidebar · attach · print · history

<< 2019 | Home | 2017 >>

2018

15.12.2018

  • Hashcat Keystore
 https://github.com/floyd-fuh/JKS-private-key-cracker-hashcat

4.12.2018

  • Useful codesigning commands
 security find-identity -v -p codesigning
 sudo codesign --force --timestamp=none --deep -o runtime --sign "ID" /Applications/miele-lxiv.app/Contents/Frameworks/libjpeg.9.dylib
 sudo codesign --force --timestamp=none --deep -o runtime --sign "ID" /Applications/miele-lxiv.app
 spctl -a -t exec -vv /Applications/miele-lxiv.app/
  • Convert App to PKG
 pkgbuild --install-location /Applications --component "/Applications/miele-lxiv.app/" "/Users/zdavatz/Desktop/miele-lxiv.pkg"
  • Notarize
 xcrun altool --eval-app --primary-bundle-id miele-lxiv -u "$ITC_USER" -p "$ITC_PASSWORD" -f miele-lxiv.pkg
 xcrun altool --eval-info ca7148d8-0eee-4b8c-9bf9-2a40e1f71551 -u "$ITC_USER" -p "$ITC_PASSWORD"

19.11.2018

  • Show Dependency
 equery g 
  • Emerge all QT
 sudo emerge -1 $(qlist -IC dev-qt/qt)

16.11.2018

  • Install latest VirtualBox extension Pack
 sudo VBoxManage extpack install --replace Oracle_VM_VirtualBox_Extension_Pack-6.0.0_BETA2-126642.vbox-extpack

14.11.2018

  • Export XLIFF via commandline
script errors_xliff_commandline.txt
xcodebuild -importLocalizations -localizationPath de_with_translation.xliff -project /Users/zdavatz/Documents/xcode/miele-lxiv/Miele_LXIV.xcodeproj/
exit

8.11.2018

  • sqlite queries for Full-Text-Search
SELECT keyword,regnr FROM frequency WHERE keyword LIKE '%immer%' AND keyword LIKE '%arb%'
SELECT keyword,regnr FROM frequency WHERE keyword LIKE '%mann%' OR keyword LIKE '%frau%'

5.9.2018

  • convert -resize 512X512 scan2post.png 512x512.png

25.5.2018

  • Log the output of file changes
 curl ftp://ftp.domain.ch/ywesee\ Out/  --user user:pass >> /tmp/zd/curl.log

13.4.2018

  • Video for iTunes Store needs to be short (30sec) and small.
 ffmpeg -i french.MP4 -r 30 amiko_fr.mov

26.3.2018

  • AWK Price check
 awk -F';' '{print $1,$2,$18}' Artikelstamm_Vollstamm.csv | grep 4519851
 awk -F';' '{print $1,$2,$13}' Artikelstamm_Vollstamm.csv | grep 4519851

15.3.2018

  • Handling Constraints
 https://agilewarrior.wordpress.com/2017/01/26/how-to-handle-portrait-and-landscape-in-autolayout/

9.3.2018

  • Check your chmod command
 https://chmodcommand.com/chmod-1770/

8.3.2018

  • Git merge with remote as Prio
 git pull -s recursive -X theirs alexb develop
 git diff filename
 This resulted in one file having a conflict.
 git checkout --theirs /path/to/file (to keep remote file, otherwise --ours)
 git add .

7.2.2018

  • When running xcodebuild via SSH
 security unlock-keychain

6.2.2018

  • Linux (Host) to Mac (Guest) ssh login via Qemu/KVM
 https://wiki.qemu.org/Documentation/Networking

5.2.2018

  • stuck with the EAPI mess on Gentoo
 https://forums.gentoo.org/viewtopic-t-1070186-start-0.html

2.2.2018

  • signing APKs
 https://alvinalexander.com/java/java-keytool-keystore-certificates
  • Useful Google Adsense Links
 https://support.google.com/adsense/answer/6307124?hl=de
 https://support.google.com/adsense/answer/7533385?hl=de

29.1.2018

  • more Awk fun
 awk -F';' '{print $1,$2,$9,$17}' Artikelstamm.csv | grep -w "Ja" | grep -w "0"
 awk -F';' '{print $1,$2,$9,$17}' Artikelstamm.csv |tr -d '.'| grep -w "Ja" | grep -w '0'
 awk -F';' '{print $1,$2,$9,$17}' Artikelstamm_Vollstamm.csv |tr -d '.'| grep -w "Ja" | grep -w '0' >> Artikel_Vollstamm_LB_0_NPL_ja.txt

27.1.2018

  • Build and release App from Commandline in Xcode 9.2
 https://github.com/zdavatz/generikacc/commit/56100b645696b80882327098e28154236978df5f

22.1.2018

  • awk fun
 awk -F';' '{print $1,$2,$3,$4,$5,$6,$7,$8,$9,$10,$11,$12,$13,$14,$15,$16,$17,$18,$19,$20,$21;}' Artikelstamm.csv | grep 6422618
  • show stock
 awk -F';' '{print $1,$2,$9}' Artikelstamm_Vollstamm.csv | grep 6422618
  • Show first line only
 awk 'NR==1' Artikelstamm_Vollstamm.csv
  • Slack-Cleaner
 slack-cleaner --token xxx --message --channel smartorder --user "*" --before 20161231

21.1.2018

  • Replace with incrementing Value
 grep -r 6422618 Artikelstamm.csv | awk -F ';' -v OFS=" " '{s=""; for(i=1; i<NF; i++) s = s $i i-1; print s $i }'
  • simpler
 grep -r 6422618 Artikelstamm_Vollstamm.csv | awk -vRS=\; '{$0=n$0;ORS=RT}++n ' | grep \;17

<< 2019 | Home | 2017 >>

view · edit · sidebar · attach · print · history
Page last modified on January 07, 2022, at 10:53 AM