Skip to content

Instantly share code, notes, and snippets.

View Zeitwaechter's full-sized avatar

John Doe Zeitwaechter

  • Germany
View GitHub Profile
@Zeitwaechter
Zeitwaechter / pinephone-arch-linux-arm-install.md
Last active April 30, 2022 18:04
Installing Arch Linux ARM on PinePhone (v1.2b)

Installation

We will be installing this OS to the eMMC and will basically following the Pine64s wiki article. Check also that article for more information about e.g. what else is happening here (also the main article of this device, amiright?).

Requirements

Warning

No warranties, it's all on you.

Pay attention to not touch any pins/contacts, if you do not own a enclosure/case for this RPi4 Setup.

Also.. 5 Volt stings a bit.

Now.. you have been warned.

  1. Install brew
  2. run xcode-select --install
  3. run brew install rbenv ruby-build
  4. add to ~/.config/fish/config.fish to add ruby via env selection.
    set -g fish_user_paths "$HOME/.rbenv/bin" $fish_user_paths
    
    ### Executables
    ## eval "(rbenv init -)"
    

(process substitution)

# ʘ‿ʘ #happy #freshchanges
cd /home/forge/app
# (ノ◕ヮ◕)ノ*:・゚✧ Clean it up!
git diff
#git -c core.quotepath=false -c log.showSignature=false rm --cached -f -- package.json
#git -c core.quotepath=false -c log.showSignature=false rm --cached -f -- package-lock.json
git -c core.quotepath=false -c log.showSignature=false checkout HEAD -- package.json
git -c core.quotepath=false -c log.showSignature=false checkout HEAD -- package-lock.json
@Zeitwaechter
Zeitwaechter / 00-executables.md
Last active April 30, 2022 18:11
Docker Scripts

All of this is untested

  1. wget https://gist.githubusercontent.com/Zeitwaechter/43f86c95d1f63c2aecf168913f11b4e9/raw/f6afeb19791dcdc72b19456d6d644c6e81bb8007/01-docker-compose-gitlab.yml
  2. docker-compose -f 01-docker-compose-gitlab.yml up
  • ~/.local/share/Steam/config/htmlcache/UserPrefs.json set directories to [] to disable type checking.
@Zeitwaechter
Zeitwaechter / 00-final-fantasy-viii-remastered-config.txt
Last active July 3, 2022 10:51
final fantasy viii remastered on steam - config.txt error fix - check your compatdata savegame directory
; %USER%/Documents/My Games/FINAL FANTASY VIII Remastered/Steam/%steamid%/config.txt
width 3840
height 2160
language EN
mastervol 100
bgmvol 100
screenmode 1
display 0
cameraspeed 6
brightness 50
@Zeitwaechter
Zeitwaechter / steam-deck-unlocks.md
Last active August 9, 2022 16:52
steam deck commands after another system update
  1. install apps via discover, like firefox+addons + disable pocket + configure, keepassxc, ...
  2. setup emudeck
  3. sudo steamos-readonly disable && sudo pacman-key --init && sudo pacman-key --populate archlinux && sudo rm -fr /etc/vpnc/vpnc-script && sudo rm /etc/ppp/ip-up.d/50-sstp.PROFILE.sh.sample && sudo rm /etc/sstpc/sstp.options.sample && yay -Sy base-devel mtpfs networkmanager-openvpn networkmanager-openconnect networkmanager-pptp network-manager-sstp protontricks
  4. setup vpn setup
@Zeitwaechter
Zeitwaechter / REAMDE.md
Created January 6, 2023 15:39
docker issues

Docker Issues

Got any fancy error message?

  • failed to solve: rpc error: code = Unknown desc = failed to solve with frontend dockerfile.v0: failed to create LLB definition: rpc error: code = Unknown desc = error getting credentials - err: docker-credential-desktop resolves to executable in current directory (./docker-credential-desktop), out: ''
    • Check your ~/.docker/config.json file, maybe something happend inside of it... like when you wanted to "check" Docker Desktop
    • You might want to just clear the file completely, depending on your use-case, and docker-compose should build imagea again, without any problem
  • Some also reported that renaming the credsStore attribute helped them