This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| export NAME=docker.io/d743addb4031/multi-arch-stuff | |
| for ARCH in "amd64" "arm64v8"; | |
| do | |
| docker pull ${ARCH}/fedora | |
| docker tag "${ARCH}/fedora" "${NAME}-${ARCH}" | |
| docker push "${NAME}-${ARCH}" | |
| done | |
| docker manifest rm "${NAME}" || true |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #pwd: $HOME/.var/app/com.valvesoftware.Steam/.local/Games/myGame | |
| #DEBUG_FILE="${PWD}/debug.log" | |
| DEBUG_FILE="/dev/null" | |
| PROTON_VERSION="Proton 5.0" | |
| GAME_FILE="${PWD}/Game.exe" | |
| echo "create proton folder in ${PWD}" > $DEBUG_FILE | |
| mkdir -p ${PWD}/proton |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| package main | |
| import ( | |
| "crypto/tls" | |
| "errors" | |
| "flag" | |
| "fmt" | |
| "io" | |
| "net/http" | |
| "os" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| // A concurrent prime sieve | |
| package main | |
| import ( | |
| "bufio" | |
| "fmt" | |
| "log" | |
| "os" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/bin/bash | |
| devel-su | |
| cp /etc/dconf/db/vendor.d/silica-configs.txt ./silica-configs.txt.bak | |
| rm /etc/dconf/db/vendor.d/silica-configs.txt | |
| dconf update | |
| #default 1.75 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| ;; -*- mode: emacs-lisp -*- | |
| ;; This file is loaded by Spacemacs at startup. | |
| ;; It must be stored in your home directory. | |
| (defun dotspacemacs/layers () | |
| "Configuration Layers declaration. | |
| You should not put any user code in this function besides modifying the variable | |
| values." | |
| (setq-default | |
| ;; Base distribution to use. This is a layer contained in the directory |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| function e | |
| if not pidof emacs > /dev/null 2>&1 | |
| emacs --daemon | |
| else | |
| emacsclient $argv | |
| end | |
| end |