Skip to content

Instantly share code, notes, and snippets.

View duk3luk3's full-sized avatar

Lukas Erlacher duk3luk3

View GitHub Profile
atrbg122 ~ % sudo fdisk -l /dev/sdd ~
Disk /dev/sdd: 465.8 GiB, 500107862016 bytes, 976773168 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 4096 bytes / 33553920 bytes
Disklabel type: gpt
Disk identifier: C78ADDCB-4A1A-4E13-AB04-6BB95E34CDC4
Device Start End Sectors Size Type
/dev/sdd1 2048 1050623 1048576 512M EFI System
[2015-11-06 16:53] [PACMAN] Running 'pacman -r /mnt -Sy --cachedir=/mnt/var/cache/pacman/pkg base base-devel vim zsh'
[2015-11-06 16:53] [PACMAN] synchronizing package lists
[2015-11-06 16:58] [ALPM] transaction started
[2015-11-06 16:58] [ALPM] installed linux-api-headers (4.1.4-1)
[2015-11-06 16:58] [ALPM] installed tzdata (2015g-1)
[2015-11-06 16:58] [ALPM] installed iana-etc (20151016-1)
[2015-11-06 16:58] [ALPM] installed filesystem (2015.09-1)
[2015-11-06 16:58] [ALPM] installed glibc (2.22-3)
[2015-11-06 16:58] [ALPM] installed gcc-libs (5.2.0-2)
[2015-11-06 16:58] [ALPM] installed ncurses (6.0-3)
Lukas Erlacher@Max MINGW64 ~/Documents/faf/docker-unrealircd-johnou (master)
$ docker build -t unrealircd .
Sending build context to Docker daemon 77.31 kB
Step 1 : FROM debian:jessie
---> 19134a8202e7
Step 2 : ENV UNREAL_VERSION "4.0.3" ANOPE_VERSION "2.0.3" TERM "vt100" LC_ALL C
---> Using cache
---> 1a1efa1ca09e
Step 3 : RUN apt-get update && apt-get upgrade -y && apt-get install -y --no-install-r
et build-essential curl cmake file expect libssl-dev exim4 supervisor vim && rm -rf
Lukas Erlacher@Max MINGW64 ~/Documents/faf/docker-unrealircd-johnou (master)
$ docker build -t unrealircd .
Sending build context to Docker daemon 76.29 kB
Step 1 : FROM debian:jessie
---> 19134a8202e7
Step 2 : ENV UNREAL_VERSION "4.0.3" ANOPE_VERSION "2.0.3" TERM "vt100" LC_ALL C
---> Using cache
---> 1a1efa1ca09e
Step 3 : RUN apt-get update && apt-get upgrade -y && apt-get install -y --no-install-recommends ca-certificates wg
et build-essential curl cmake file expect libssl-dev exim4 supervisor vim bash && rm -rf /var/lib/apt/lists/* && m
(fafclient) luke@Max ~ % ls /etc/*.conf ~
/etc/brltty.conf /etc/healthd.conf /etc/libao.conf /etc/mtools.conf /etc/rsyncd.conf
/etc/btsync.conf /etc/host.conf /etc/libuser.conf /etc/nscd.conf /etc/sddm.conf
/etc/dhcpcd.conf /etc/i3status.conf /etc/locale.conf /etc/nsswitch.conf /etc/sensors3.conf
/etc/dnsmasq.conf /etc/idnalias.conf /etc/logrotate.conf /etc/pacman.conf /etc/signond.conf
/etc/ebtables.conf /etc/idn.conf /etc/makepkg.conf /etc/proxychains.conf /etc/slp.conf
/etc/fuse.conf /etc/ipset.conf /etc/man_db.conf /etc/redis.conf /etc/ts.conf
/etc/gai.conf /etc/irssi.conf /etc/mdadm.conf /etc/request-key.conf /etc/whois.conf
/etc/gssapi_mech.conf /etc/krb5.conf /etc/mke2fs.conf /etc/resolv.conf
/etc/hardening-wrapper.conf /etc/ld.so.conf
@duk3luk3
duk3luk3 / i3statuswrap.py
Last active December 23, 2016 11:35
i3 status bar wrapper script for displaying volume and irssi hilights (from fnotify.pl plugin)
#!/usr/bin/env python
# -*- coding: utf-8 -*-
# This script is a simple wrapper which prefixes each i3status line with custom
# information. It is a python reimplementation of:
# http://code.stapelberg.de/git/i3status/tree/contrib/wrapper.pl
#
# To use it, ensure your ~/.i3status.conf contains this line:
# output_format = "i3bar"
# in the 'general' section.
@duk3luk3
duk3luk3 / news.md
Last active November 29, 2016 09:44
luke@Max aur % cower -ddf python2-fafclient ~/aur
:: python2-fafclient downloaded to /home/luke/aur
warning: python2-pathlib is available in community (ignore this with --ignorerepo=community)
warning: python2-py is available in community (ignore this with --ignorerepo=community)
:: python2-bsdiff4 downloaded to /home/luke/aur
:: python2-lupa downloaded to /home/luke/aur
:: python2-trueskill downloaded to /home/luke/aur
:: python2-marshmallow-jsonapi downloaded to /home/luke/aur
:: python2-faftools downloaded to /home/luke/aur
warning: xdelta3 is available in community (ignore this with --ignorerepo=community)
# Fetch everything from remotes
luke@Max client(459-contribution-instructions|✔) % git fetch --all
# Check out clean develop
luke@Max client(459-contribution-instructions|✔) % git checkout develop
# Pull in upstream develop
luke@Max client(develop|✔) % git pull upstream develop
# Pull (and merge) feature branch
luke@Max client(develop|✔) % git pull GrotheFAF fix/stats-speedup
# Check feature branch log
luke@Max client(develop↑2|✔) % git --no-pager log -n 3
(client) luke@Max client(develop|…) % python2 runtests.py ~/git/faf/client
========================================================= test session starts ==========================================================
platform linux2 -- Python 2.7.12 -- py-1.4.25 -- pytest-2.6.3
PyQt4 4.11.4 -- Qt runtime 4.8.7 -- Qt compiled 4.8.7
plugins: qt, mock, cov
collected 76 items / 10 errors
lib/python2.7/site-packages/bsdiff4/test_all.py
INTERNALERROR> Traceback (most recent call last):
INTERNALERROR> File "_pytest.main", line 84, in wrap_session