Skip to content

Instantly share code, notes, and snippets.

@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 May 15, 2022
Fast convert systemd Arch to OpenRC Artix
View fucktheskullofsystemd.sh
#!/bin/bash
# nous,2019-2020
# 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"
View Artix migration guide
<h1 id="170727"><span itemprop="name">2017-07-27 -- Return of the Jedi</h1>
After the Great Init Purge, the Sythtemd Order installed their dark components in almost every system of the galaxy. All software was forced to depend on the greed, hatred and deception of sythtemd and the Knights of the Old Linux were either converted to the dark side or exiled to the outer rim distros. However, after the initial persecution, the most devoted and powerful Linux Knights re-grouped and...
<br>
...great pleasure and honour to announce the birth of a new project, it is! One with a very ambitious aim: to replace all the contaminated software packages of the official Arch repositories with systemd-free ones. This requires what might technically considered a mini-fork. Three new repositories, [system], [world] and [galaxy] have been created which must be placed <u><i>before</i></u> the official Arch ones. This ensures that upstream (if this term can be used anymore) updates will never break the new setup.
<br><br>
Existing