Skip to content

Instantly share code, notes, and snippets.

#Maintainer: Xyne <ac xunilhcra enyx, backwards>
pkgname=repo-add_and_sign
pkgver=2015.5
pkgrel=1
pkgdesc='Easily create signed Pacman package repositories.'
arch=(any)
license=(GPL)
url="http://xyne.archlinux.ca/projects/repo-add_and_sign"
depends=(pyalpm python3 python3-gpg_batch_sign)
source=(
#Maintainer: Xyne <ac xunilhcra enyx, backwards>
pkgname=recollect
pkgver=2013.10.6
pkgrel=1
pkgdesc='Keep local copies of remote files updated.'
arch=(any)
license=(GPL)
url="http://xyne.archlinux.ca/projects/recollect"
depends=(python3)
source=(
#Maintainer: Xyne <ac xunilhcra enyx, backwards>
pkgname=python3-threaded_servers
pkgver=2014.11
pkgrel=2
pkgdesc='Threaded server modules (ThreadedHTTPSServer, ThreadedMulticastServer, Quickserve, Pacserve).'
arch=(any)
license=(GPL)
url="http://xyne.archlinux.ca/projects/python3-threaded_servers"
depends=(python3)
optdepends=('pyalpm: required for the Pacserve module')
#Maintainer: Xyne <ac xunilhcra enyx, backwards>
pkgname=pbget
pkgver=2015.12.19.1
pkgrel=1
pkgdesc='Retrieve PKGBUILDs and local source files from Git, ABS and the AUR for makepkg.'
arch=(any)
license=(GPL)
url="http://xyne.archlinux.ca/projects/pbget"
depends=(pm2ml python3 python3-aur python3-xcgf python3-xcpf)
source=(
xclip -o | gist -c -R
@kaos-addict
kaos-addict / matrix.sh
Created December 10, 2015 15:28
Stupid matrix like script for your terminal...
github
#!/bin/bash
### Variables
Name="$(basename $0 .sh)"
files_dir="$HOME/.local/${Name}"
[ -z ${XEDITOR} ] && exit 1
# Create folder if not present
[ ! -d ${files_dir} ] && mkdir -pv ${files_dir} || echo -e "ERROR\!\n${Name}'s folder not found\!"
[ ! -d ${files_dir} ] && exit 2
@kaos-addict
kaos-addict / rsync.output;sh
Created December 6, 2015 01:18
Interprete codes de sortie de rsync
rsync -a -v -h -i --stats --dry-run -A -H $source $target
case $? in
0)
echo "\e[32mSuccess"
;;
1)
echo "Syntax or usage error"
;;
2)
@kaos-addict
kaos-addict / installwin.sh
Created November 30, 2015 10:39
make windows usb in linux
#!/bin/sh
# Source: http://admincloud.net/116/creer-une-cle-usb-bootable-de-windows-sous-linux/
WIN_USB="${1}"
WIN_USB_MNT_PATH=/mnt/USBW7/
WIN_ISO_FILE="${2}"
WIN_ISO_MNT_PATH=/mnt/WIN7/
MS_SYS_VERSION="2.5.1"
man() {
env \
LESS_TERMCAP_mb=$(printf "\e[1;34m") \
LESS_TERMCAP_md=$(printf "\e[1;34m") \
LESS_TERMCAP_me=$(printf "\e[0m") \
LESS_TERMCAP_se=$(printf "\e[0m") \
LESS_TERMCAP_so=$(printf "\e[1;30m") \
LESS_TERMCAP_ue=$(printf "\e[0m") \
LESS_TERMCAP_us=$(printf "\e[1;36m") \
man "$@"