Skip to content

Instantly share code, notes, and snippets.

@artixnous
artixnous / arch2artix.sh
Created Jun 8, 2022 — forked from ehawkvu/arch2artix.sh
An old Arch to Artix conversion script that might be of use to someone
View arch2artix.sh
#!/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 Feb 21, 2022
Simple upload-to-imgur bash script
View imgur.sh
#!/usr/bin/env bash
# Imgur script by Bart Nagel <bart@tremby.net>
# Improvements by Tino Sino <robottinosino@gmail.com>
# 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 Feb 15, 2020
fail2ban Artix PKGBUILD
View PKGBUILD
# Maintainer: Felix Yan <felixonmars@archlinux.org>
# Contributor: Bartłomiej Piotrowski <bpiotrowski@archlinux.org>
# Contributor: Geoffroy Carrier <geoffroy.carrier@koon.fr>
# Contributor: michalzxc
# Contributor: nbags <neilbags@gmail.com>
pkgname=fail2ban
pkgver=0.11.1
pkgrel=1
pkgdesc='Bans IPs after too many failed authentication attempts'
@artixnous
artixnous / fucktheskullofsystemd.sh
Last active Oct 24, 2022
Fast convert systemd Arch to OpenRC Artix
View fucktheskullofsystemd.sh
#!/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 Dec 21, 2017
TigerVNC initscript for OpenRC
View tigervnc
#!/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 Jan 8, 2020
/etc/init.d/wicd
View 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 Nov 20, 2017
pisg-0.80-preview2
View PKGBUILD
# Maintainer: Christos Nouskas <nous@artixlinux.org>
# Contributor: Szu-Han Chen <sjchen@sjchen.com>
# Contributor: Eduard "bekks" Warkentin <eduard.warkentin@gmail.com>
pkgname=pisg
pkgdesc="An irc log parser"
pkgver=0.80
extraver=preview2
_fullver=$pkgver-$extraver
pkgrel=1
@artixnous
artixnous / PKGBUILD (rssh)
Created Sep 12, 2017 — forked from johnlane/PKGBUILD (rssh)
ArchLinux AUR PKGBUILD for rsync-compatible rssh
View PKGBUILD (rssh)
# Maintainer: Christian Hesse <mail@eworm.de>
# Contributor: Judd Vinet <jvinet@zeroflux.org>
# Contributor: Gaetan Bisson <bisson@archlinux.org>
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 Aug 30, 2017
Artix logo #5
View #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 Sep 3, 2017
Artix logo #4
View #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"