Skip to content

Instantly share code, notes, and snippets.

@artixnous
artixnous / arch2artix.sh
Created June 8, 2022 21:09 — forked from echawk/arch2artix.sh
An old Arch to Artix conversion script that might be of use to someone
#!/bin/bash
# LICENSE: MIT
#TODO:
# - need to check and make sure this script is up to date with the migration process [ ]
# - the script doesn't seem to work when I have been testing it. it does most of the stuff
# properly, however it doesn't seem to get the install *quite* right. I need to do
# much, much more testing before I can properly use this
@artixnous
artixnous / imgur.sh
Created February 21, 2022 19:04
Simple upload-to-imgur bash script
#!/usr/bin/env bash
# Imgur script by Bart Nagel <[email protected]>
# Improvements by Tino Sino <[email protected]>
# Version 6 or more
# I release this into the public domain. Do with it what you will.
# The latest version can be found at https://github.com/tremby/imgur.sh
# API Key provided by Bart;
# replace with your own or specify yours as IMGUR_CLIENT_ID environment variable
@artixnous
artixnous / PKGBUILD
Created February 15, 2020 00:37
fail2ban Artix PKGBUILD
# Maintainer: Felix Yan <[email protected]>
# Contributor: Bartłomiej Piotrowski <[email protected]>
# Contributor: Geoffroy Carrier <[email protected]>
# Contributor: michalzxc
# Contributor: nbags <[email protected]>
pkgname=fail2ban
pkgver=0.11.1
pkgrel=1
pkgdesc='Bans IPs after too many failed authentication attempts'
@artixnous
artixnous / fucktheskullofsystemd.sh
Last active August 16, 2024 01:04
Fast convert systemd Arch to OpenRC Artix
#!/bin/bash
# nous,2019-2022
# How to use
# wget https://tiny.cc/fucksystemd
# chmod +x fucksystemd
# sudo ./fucksystemd
# Test Arch ISO installation:
# cfdisk /dev/sda
@artixnous
artixnous / tigervnc
Created December 21, 2017 08:01
TigerVNC initscript for OpenRC
#!/usr/bin/openrc-run
# Copyright 1999-2014 Gentoo Foundation
# Distributed under the terms of the GNU General Public License, v2 or later
depend() {
need net
}
checkconfig() {
if [ -n "${DISPLAYS}" ]; then
@artixnous
artixnous / wicd
Last active January 8, 2020 23:43
/etc/init.d/wicd
#!/usr/bin/openrc-run
# Copyright 1999-2006 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# opts="start stop restart"
WICD_DAEMON=/usr/bin/wicd
WICD_PIDFILE=/run/wicd/wicd.pid
depend() {
@artixnous
artixnous / PKGBUILD
Created November 20, 2017 09:56
pisg-0.80-preview2
# Maintainer: Christos Nouskas <[email protected]>
# Contributor: Szu-Han Chen <[email protected]>
# Contributor: Eduard "bekks" Warkentin <[email protected]>
pkgname=pisg
pkgdesc="An irc log parser"
pkgver=0.80
extraver=preview2
_fullver=$pkgver-$extraver
pkgrel=1
@artixnous
artixnous / PKGBUILD (rssh)
Created September 12, 2017 20:11 — forked from johnlane/PKGBUILD (rssh)
ArchLinux AUR PKGBUILD for rsync-compatible rssh
# Maintainer: Christian Hesse <[email protected]>
# Contributor: Judd Vinet <[email protected]>
# Contributor: Gaetan Bisson <[email protected]>
pkgname=rssh
pkgver=2.3.4
pkgrel=4
pkgdesc='Restricted secure shell allowing only scp, sftp, cvs, rsync or rdist'
url='http://www.pizzashack.org/rssh/'
license=('custom:rssh')
@artixnous
artixnous / #5
Created August 30, 2017 14:39
Artix logo #5
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<!-- Created with Inkscape (http://www.inkscape.org/) -->
<svg
xmlns:dc="http://purl.org/dc/elements/1.1/"
xmlns:cc="http://creativecommons.org/ns#"
xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
xmlns:svg="http://www.w3.org/2000/svg"
xmlns="http://www.w3.org/2000/svg"
xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd"
@artixnous
artixnous / #4
Last active September 3, 2017 23:39
Artix logo #4
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<!-- Created with Inkscape (http://www.inkscape.org/) -->
<svg
xmlns:dc="http://purl.org/dc/elements/1.1/"
xmlns:cc="http://creativecommons.org/ns#"
xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
xmlns:svg="http://www.w3.org/2000/svg"
xmlns="http://www.w3.org/2000/svg"
xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd"