Skip to content

Instantly share code, notes, and snippets.

@tuxarch
tuxarch / user.js
Created January 8, 2022 12:37
Twersky Firefox User.JS RU
///////////////////////////////////////////////////////////////////////////////////////////////////
// ПАРАГРАФ НИЖЕ ОБЯЗАТЕЛЕН К ПРОЧТЕНИЮ!
// Данные настройки НЕ уникальны, НЕ универсальны, НЕ подходят для слишком старых
// компьютеров (без осознанной шлифовки по себя). Ими НЕ стоит пользоваться, если вы не уверены в
// своих силах и не желаете тратить время на какие-либо эксперименты. Основная цель данного
// маленького проекта - это сбор всех интересных настроек с описаниями в одном месте, чтобы каждый
// мог настроить Firefox под свои собственные требования
///////////////////////////////////////////////////////////////////////////////////////////////////
// Данный USER.JS создан Sergey Twersky для портала COMSS.ru
// Распространяется под лицензией CC BY-NC-SA -> https://creativecommons.org/licenses/by-nc-sa/3.0/
@tuxarch
tuxarch / README.md
Created November 22, 2021 16:57 — forked from sveatlo/README.md
Waybar weather module with geolocation

Waybar weather module with geolocation

This is an example set of scripts that allow me to always have weather forecast at my waybar.

Each script can be used on its own, but together they are great.

Requirements

@tuxarch
tuxarch / config.json
Created September 27, 2021 05:42 — forked from bjesus/README.md
Weather widget for waybar
"custom/weather": {
"format": "{}",
"tooltip": true,
"interval": 3600,
"exec": "waybar-wttr.py",
"return-type": "json"
},
@tuxarch
tuxarch / DI.m3u
Created February 22, 2020 04:10 — forked from RDCH106/DI.m3u
Digitally Imported premium streams
#EXTM3U
#EXTINF:-1,Digitally Imported - Ambient
http://pub1.diforfree.org:8000/di_ambient_hi
#EXTINF:-1,Digitally Imported - Big Room House
http://pub1.diforfree.org:8000/di_bigroomhouse_hi
#EXTINF:-1,Digitally Imported - Breaks
http://pub1.diforfree.org:8000/di_breaks_hi
@tuxarch
tuxarch / orphans.hook
Created November 9, 2019 13:22 — forked from Strykar/orphans.hook
Pacman post transaction hook to list/remove orphaned packages
[Trigger]
Operation = Install
Operation = Upgrade
Operation = Remove
Type = Package
Target = *
[Action]
Description = Searching for orphaned packages...
When = PostTransaction
@tuxarch
tuxarch / pacman-upgrades-graph.py
Created May 30, 2019 20:24 — forked from aswild/pacman-upgrades-graph.py
Script to visualize the most-upgraded packages on a pacman based system
#!/usr/bin/env python3
"""
pacman-upgrades-graph.py: a script to visualize the most-upgraded packages on an pacman-based system.
"""
import argparse, os, re, shutil, subprocess, sys
parser = argparse.ArgumentParser()
parser.add_argument('-w', '--width', type=int, default=-1,
help='Max total width of graph. Defaults to terminal size, ' +
@tuxarch
tuxarch / custom_archlinux_live_USB.md
Created April 17, 2019 13:32 — forked from satreix/custom_archlinux_live_USB.md
Custom Arch Linux live USB

Custom Arch Linux live USB

Setup

Install the dependencies for the archiso package:

(root): pacman -S make squashfs-tools libisoburn dosfstools patch lynx devtools git

I recommend archiso getting them from git, there is a package in the repositories, however, at this time of writing, it will not work with the instructions below. So, grab the most recent version from git and install it:

(user): git clone git://projects.archlinux.org/archiso.git && cd archiso

server: /etc/ssh/sshd_config
X11Forwarding yes
client: /etc/ssh/ssh_config
Host *
ForwardX11 yes
А если это не помогает, и в syslog'е "Failed to allocate internet-domain X11"
Значит sshd запутался в IPv6, и sshd надо запускать с ключом -4

Keybase proof

I hereby claim:

  • I am tuxarch on github.
  • I am ponyashka (https://keybase.io/ponyashka) on keybase.
  • I have a public key whose fingerprint is 3951 2601 6EE7 33FE 17C8 B35C 8CC0 E7C5 9263 B6B3

To claim this, I am signing this object: