Skip to content

Instantly share code, notes, and snippets.

View Zeitwaechter's full-sized avatar

John Doe Zeitwaechter

  • Germany
View GitHub Profile
@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
# ʘ‿ʘ #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
  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)

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.

@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

driver=nl80211
######################### basic hostapd configuration ##########################
#
interface=blue0
country_code=DE
ieee80211d=1
ieee80211h=1
ieee80211w=0
channel=36
hw_mode=a

Composer Auth File

nano ~/.config/composer/auth.json

All of this is untested/work in progress

@Zeitwaechter
Zeitwaechter / xorg.conf
Created September 19, 2020 14:16
Working NVIDIA VGA xorg.conf
# nvidia-settings: X configuration file generated by nvidia-settings
# nvidia-settings: version 450.66
# nvidia-xconfig: X configuration file generated by nvidia-xconfig
# nvidia-xconfig: version 450.66
Section "ServerLayout"
Identifier "Layout0"
Screen 0 "Screen0" 0 0
InputDevice "Keyboard0" "CoreKeyboard"
@Zeitwaechter
Zeitwaechter / cinnamon-notifications.md
Last active May 12, 2020 21:59
Arch Linux 'nice to knows'

If you have disabled network notifications by error you can try the following commands (user shell doesn't matter):

  • gsettings set org.gnome.nm-applet disable-connected-notifications false
  • gsettings set org.gnome.nm-applet disable-disconnected-notifications false
  • gsettings set org.gnome.nm-applet disable-vpn-notifications false

Cinnamon still has no native graphical applet for this. Meh.