Skip to content

Instantly share code, notes, and snippets.

@Zeioth
Zeioth / download-mozilla-portable.sh
Last active September 12, 2015 23:22 — forked from rubo77/download-mozilla-portable.sh
a script that downloads a certain Firefox or Thunderbird version and installs it in an extra folder to create an independent and portable App for Linux. source: http://portableapps.com/node/16344
#!/bin/sh
# Configure the following default variables according to your requirements
language="en-US" # e.g. "de" or "en-US"
if [ ! "$1" ]; then
# default if no argument is set:
version="30.0" # chose from http://download.cdn.mozilla.net/pub/mozilla.org/firefox/releases/
application="firefox" # "thunderbird" or "firefox" but file extension, archive extraction, and binary ########################################################
fi
@Zeioth
Zeioth / README.md
Created May 16, 2018 23:41 — forked from bsodmike/README.md
OC Nvidia GTX1070s in Ubuntu 16.04LTS for Ethereum mining

Following mining and findings performed on EVGA GeForce GTX 1070 SC GAMING Black Edition Graphics Card cards.

First run nvidia-xconfig --enable-all-gpus then set about editing the xorg.conf file to correctly set the Coolbits option.

# /etc/X11/xorg.conf
Section "Device"
    Identifier     "Device0"
    Driver         "nvidia"
    VendorName     "NVIDIA Corporation"
# This small script will replace 'Arch mirrors' by 'Manjaro mirrors' on any arch distro.
# It can be easily reverted, and there's no risk involved.
# Author: Zeioth
# BLOCK A - Download pacman-mirror from gitlab: https://gitlab.manjaro.org/packages/core/pacman-mirrors
git clone https://gitlab.manjaro.org/packages/core/pacman-mirrors.git
sudo pacman -S python-npyscreen
cd ~/pacman-mirrors && paco-make &&rm R ~/pacman-mirrors
# BLOCK B - Install Manjaro's gpg signatures: https://gitlab.manjaro.org/packages/core/manjaro-keyring
@Zeioth
Zeioth / gist:d8c1fd75b5721c2170b4a2a5f19a986e
Last active September 4, 2024 19:31
Sway HiDPI settings (GTK/QT/Sway) - How to
set $cursor_size 54
```
# GTK
# This is the only place where you must set GTK scaling
set $gnome-schema org.gnome.desktop.interface
exec_always {
gsettings set $gnome-schema gtk-theme 'Matcha-dark-sea'
gsettings set $gnome-schema icon-theme 'Numix-Square'
gsettings set org.gnome.desktop.interface text-scaling-factor 2.73
@theme "/usr/share/rofi/themes/android_notification.rasi"
Información del equipo:
Fabricante: Micro-Star International Co., Ltd.
Modelo: MAG B550 TOMAHAWK (MS-7C91)
Factor de forma: Sobremesa
Entrada táctil no detectada
Información sobre el procesador:
Fabricante de la CPU: AuthenticAMD
Marca de la CPU: AMD Ryzen 9 5950X 16-Core Processor
Familia de la CPU: 0x19
steam.sh[134745]: Running Steam on arch rolling 64-bit
steam.sh[134745]: STEAM_RUNTIME is disabled by the user
steam.sh[134745]: Can't find 'steam-runtime-check-requirements', continuing anyway
[2022-10-28 18:35:04] Startup - updater built Oct 19 2022 00:56:08
[2022-10-28 18:35:04] Startup - Steam Client launched with: '/home/zeioth/.local/share/Steam/ubuntu12_32/steam'
Installing breakpad exception handler for appid(steam)/version(1666144119)
[2022-10-28 18:35:04] Loading cached metrics from disk (/home/zeioth/.local/share/Steam/package/steam_client_metrics.bin)
[2022-10-28 18:35:04] Using the following download hosts for Public, Realm steamglobal
[2022-10-28 18:35:04] 1. https://client-update.akamai.steamstatic.com, /, Realm 'steamglobal', weight was 1000, source = 'update_hosts_cached.vdf'
[2022-10-28 18:35:04] 2. https://cdn.cloudflare.steamstatic.com, /client/, Realm 'steamglobal', weight was 1, source = 'update_hosts_cached.vdf'