This file contains 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 | |
#------------------------------------------------------------------------------- | |
# Install and update script for Brave Browser stable. (https://community.clearlinux.org/t/chrome-on-cl-again/9192/4) | |
# https://github.com/brave/brave-browser/releases | |
# Created by @marioroy, hacked by @paulcarroty for Clear Fraction Project | |
#------------------------------------------------------------------------------- | |
# shellcheck disable=SC2001,SC2143,SC2164 | |
FILE="" URL="" VER="" |
This file contains 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
alias h='pacmd unload-module module-null-sink && pacmd set-sink-port 1 output-wired_headset' | |
alias s='pacmd set-sink-port 1 output-speaker' |
This file contains 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
# Default config for sway | |
# Read `man 5 sway` for a complete reference. | |
xwayland disable | |
default_border none | |
focus_follows_mouse yes | |
exec_always "brightnessctl s 145" | |
# wlsunset | |
exec_always "wlsunset -l 50.5 -L 30.5 -T 5000" |
This file contains 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
FROM archlinux:latest | |
RUN pacman --noconfirm -Syu simutrans simutrans-pak128 rclone gnu-netcat && \ | |
pacman --noconfirm -Scc && \ | |
mkdir -p /.cache ;\ | |
chgrp -R 0 /usr/share/cache ;\ | |
chgrp -R 0 /usr/share/games ;\ | |
chmod -R g=u /usr/share/games ;\ | |
chmod -R g=u /.cache ;\ | |
mkdir -p /usr/share/games/simutrans/save; curl -L https://oshi.at/gsno -o /usr/share/games/simutrans/save/network1; cp /usr/share/games/simutrans/save/network1 /usr/share/games/simutrans/save/network1.sve; | |
VOLUME /usr/share/games/simutrans/save |
This file contains 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
mkdir -p ./content/adapters/storage | |
cp -r ./node_modules/ghost-storage-adapter-s3 ./content/adapters/storage/s3 |
This file contains 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
mkdir -p ./content/adapters/storage | |
cp -r ./node_modules/ghost-storage-adapter-s3 ./content/adapters/storage/s3 | |
==================== | |
themes=( | |
casper | |
lyra | |
headline | |
edition | |
alto |
This file contains 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
# Using hacked https://github.com/clearlinux-pkgs/wine RPM spec | |
# and non-interactive build mode https://github.com/Frogging-Family/wine-tkg-git | |
Name : wine | |
Version : 6.22 | |
Release : 80 | |
URL : https://github.com/Frogging-Family/wine-tkg-git | |
# Source0 : https://github.com/Frogging-Family/wine-tkg-git/archive/refs/heads/master.tar.gz | |
Source0 : https://dl.winehq.org/wine/source/6.x/wine-%{version}.tar.xz | |
Source1: https://github.com/wine-staging/wine-staging/archive/v%{version}.tar.gz#/wine-staging-%{version}.tar.gz |
This file contains 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
dd if=/dev/urandom bs=1024 count=1 2>/dev/null | md5sum | sed -e 's/^\(..\)\(..\)\(..\)\(..\)\(..\)\(..\).*$/\1:\2:\3:\4:\5:\6/' -e 's/^\(.\)[13579bdf]/\10/') |
This file contains 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
FROM clearlinux/golang:latest AS builder | |
COPY . /go/src/matterbridge | |
RUN cd /go/src/matterbridge \ | |
&& go build -mod vendor -ldflags "-X main.githash=$(git log --pretty=format:'%h' -n 1)" -o /bin/matterbridge | |
FROM clearlinux:latest | |
RUN swupd bundle-add python-basic && swupd clean --all | |
COPY --from=builder /bin/matterbridge /usr/bin/matterbridge | |
COPY matterbridge.toml /etc/ |
This file contains 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 | |
# docker stop `docker ps -qa` ; docker rm `docker ps -qa` & docker rmi -f `docker images -qa ` & docker volume rm $(docker volume ls -qf) & docker network rm `docker network ls -q --filter type=custom` | |
# sudo apt -y purge ghc* azure-cli google-cloud-sdk hhvm google-chrome-stable firefox dotnet* *jdk* *llvm* gcc-10 gcc-9 gcc-8 powershell moby-containerd snapd *php* *ruby* *mysql* moby* mono* mongodb* podman r-base* buildah mecab* kubectl libicu-dev containernetworking-plugins skopeo *dev rust* | |
# sudo rm -rf /opt /var/lib/gems /var/lib/mysql /var/lib/waagent /var/log /home/linuxbrew /root/.cache /usr/share/{dotnet,swift,rust,miniconda} /usr/local/lib/android /usr/local/graalvm & | |
# In the end ~70GB will be available. |
NewerOlder