Skip to content

Instantly share code, notes, and snippets.

View HendrikRoth's full-sized avatar

Hendrik Roth HendrikRoth

  • Dusseldorf, Germany
View GitHub Profile
alarm@alarm ~/rtl8188eu> pacman -Fy; pacman -Fs compiler-gcc6.h
:: Synchronizing package databases...
core 1957.8 KiB 1472K/s 00:01 [##########################################################################] 100%
extra 7.8 MiB 1326K/s 00:06 [##########################################################################] 100%
community 11.7 MiB 1538K/s 00:08 [##########################################################################] 100%
alarm 237.9 KiB 1586K/s 00:00 [##########################################################################] 100%
aur 68.
alarm@alarm /h/alarm> cat /var/lib/dkms/8188eu/v4.1.4_6773/build/make.log
DKMS make.log for 8188eu-v4.1.4_6773 for kernel 3.8.13.30-3-ARCH (armv7l)
Sat Jun 18 12:13:00 UTC 2016
make: Entering directory '/usr/src/linux-3.8.13.30-3-ARCH'
CC [M] /var/lib/dkms/8188eu/v4.1.4_6773/build/core/rtw_ap.o
In file included from include/linux/compiler.h:54:0,
from include/uapi/linux/stddef.h:1,
from include/linux/stddef.h:4,
from /usr/src/linux-3.8.13.30-3-ARCH/include/uapi/linux/posix_types.h:4,
from include/uapi/linux/types.h:13,
alarm@alarm /h/alarm> bauerbill -S dkms-8188eu
06/18 12:12:21 [NOTICE] Verification finished successfully. file=/var/cache/pacman/pkg/dkms-8188eu-v4.1.4_6773-3-armv7h.pkg.tar.xz
06/18 12:12:21 [NOTICE] Download complete: /var/cache/pacman/pkg/dkms-8188eu-v4.1.4_6773-3-armv7h.pkg.tar.xz
06/18 12:12:21 [NOTICE] Verification finished successfully. file=/var/cache/pacman/pkg/linux-am33x-headers-4.6.2-1-armv7h.pkg.tar.xz
06/18 12:12:21 [NOTICE] Download complete: /var/cache/pacman/pkg/linux-am33x-headers-4.6.2-1-armv7h.pkg.tar.xz
[ 609.627499] usb 1-3.2: new high-speed USB device number 5 using s5p-ehci
[ 609.733246] usb 1-3.2: New USB device found, idVendor=0bda, idProduct=8179
[ 609.734556] usb 1-3.2: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[ 609.741868] usb 1-3.2: Product: 802.11n NIC
[ 609.745994] usb 1-3.2: Manufacturer: Realtek
[ 609.750337] usb 1-3.2: SerialNumber: 00E04C0CD796
@HendrikRoth
HendrikRoth / gist:2d320c04d7def2cfcb6e96717eab5958
Created May 26, 2016 23:06 — forked from jfromaniello/gist:8418116
Example of authenticating websockets with JWTs.
var WebSocketServer = require('ws').Server;
var wss = new WebSocketServer({port: 8080});
var jwt = require('jsonwebtoken');
/**
The way I like to work with 'ws' is to convert everything to an event if possible.
**/
function toEvent (message) {
try {
FROM alpine:3.3
WORKDIR /etc/app
RUN apk --no-cache --update add \
nodejs \
ttf-freefont
RUN chmod -R 777 /root
@HendrikRoth
HendrikRoth / atom-config
Last active March 17, 2016 11:04
Atom Settings
atom config
'use strict';
const watch = require('transpile-watch');
watch({
persistent: !(process.argv[2] === 'once'),
what: process.argv[3],
ignore: (process.argv[4] && process.argv[4] !== 'null') ? process.argv[4] : null,
extension: '.es6',
createOutPath: (inPath) => {
'use strict';
const watch = require('transpile-watch');
watch({
persistent: !(process.argv[2] === 'once'),
what: process.argv[3],
ignore: (process.argv[4] && process.argv[4] !== 'null') ? process.argv[4] : null,
extension: '.es6',
createOutPath: (inPath) => {