Skip to content

Instantly share code, notes, and snippets.

@WhyNotHugo
WhyNotHugo / sway.crash1.log
Created April 26, 2017 01:49
sway logs when crashing when pasting
This file has been truncated, but you can view the full file.
04/25/17 18:53:25 - [main.c:153] Linux athena.barrera.io 4.10.11-1-ARCH #1 SMP PREEMPT Tue Apr 18 08:39:42 CEST 2017 x86_64 GNU/Linux
04/25/17 18:53:25 - [main.c:125] Contents of /etc/lsb-release:
04/25/17 18:53:25 - [main.c:132] LSB_VERSION=1.4
04/25/17 18:53:25 - [main.c:132] DISTRIB_ID=Arch
04/25/17 18:53:25 - [main.c:132] DISTRIB_RELEASE=rolling
04/25/17 18:53:25 - [main.c:132] DISTRIB_DESCRIPTION="Arch Linux"
04/25/17 18:53:25 - [main.c:125] Contents of /etc/os-release:
04/25/17 18:53:25 - [main.c:132] NAME="Arch Linux"
04/25/17 18:53:25 - [main.c:132] PRETTY_NAME="Arch Linux"
@WhyNotHugo
WhyNotHugo / sway.0.12.nvidia.log
Last active April 11, 2017 02:02
sway logs with the propietary nvidia driver
04/10/17 22:42:20 - [main.c:153] Linux hyperion.barrera.io 4.10.9-1-ARCH #1 SMP PREEMPT Sat Apr 8 12:39:59 CEST 2017 x86_64 GNU/Linux
04/10/17 22:42:20 - [main.c:125] Contents of /etc/os-release:
04/10/17 22:42:20 - [main.c:132] NAME="Arch Linux"
04/10/17 22:42:20 - [main.c:132] PRETTY_NAME="Arch Linux"
04/10/17 22:42:20 - [main.c:132] ID=arch
04/10/17 22:42:20 - [main.c:132] ID_LIKE=archlinux
04/10/17 22:42:20 - [main.c:132] ANSI_COLOR="0;36"
04/10/17 22:42:20 - [main.c:132] HOME_URL="https://www.archlinux.org/"
04/10/17 22:42:20 - [main.c:132] SUPPORT_URL="https://bbs.archlinux.org/"
04/10/17 22:42:20 - [main.c:132] BUG_REPORT_URL="https://bugs.archlinux.org/"
debug: Using 1 maximal workers.
debug: Fetching value for password.fetch with command strategy.
Syncing calendars/502708f4-4b94-4963-b042-f7340c829bdf
debug: Loaded status for calendars/502708f4-4b94-4963-b042-f7340c829bdf
debug: PROPFIND https://caldav.messagingengine.com/dav/calendars/user/hobarrera@fastmail.com/502708f4-4b94-4963-b042-f7340c829bdf/
debug: {'User-Agent': 'vdirsyncer', 'Content-Type': 'application/xml; charset=UTF-8', 'Depth': '1'}
debug: <?xml version="1.0" encoding="utf-8" ?>
debug: <D:propfind xmlns:D="DAV:">
debug: <D:prop>
debug: <D:resourcetype/>
debug: Using 1 maximal workers.
debug: Fetching value for password.fetch with command strategy.
debug: Fetching value for password.fetch with command strategy.
Syncing contacts
debug: Loaded status for contacts
debug: PROPFIND https://carddav.messagingengine.com/dav/addressbooks/user/hobarrera@fastmail.com/Default/
debug: {'User-Agent': 'vdirsyncer', 'Content-Type': 'application/xml; charset=UTF-8', 'Depth': '1'}
debug: <?xml version="1.0" encoding="utf-8" ?>
debug: <D:propfind xmlns:D="DAV:">

Keybase proof

I hereby claim:

  • I am whynothugo on github.
  • I am whynothugo (https://keybase.io/whynothugo) on keybase.
  • I have a public key ASAxbo8Qf5-DvQjOhNVqSBM-QhXQ6OWv4SdmfLdQzy2w6go

To claim this, I am signing this object:

#!/bin/sh
# Bail on errors!
set -e
set -u
# Change to a temporary directory:
cd /tmp
# Version of Syncthing we'll install:
@WhyNotHugo
WhyNotHugo / PKGBUILD
Last active August 29, 2015 14:13
broadcom-wl-dkms for linux-3.18
# Maintainer: Frank Vanderham <twelve.eighty (at) gmail.>
# Contributor: Hugo Osvaldo Barrera <hugo@barrera.io>
pkgname=broadcom-wl-dkms
_pkgname=broadcom-wl
pkgver=6.30.223.248
pkgrel=5
pkgdesc="Broadcom 802.11 Linux STA wireless driver"
url='http://www.broadcom.com/support/802.11/linux_sta.php'
arch=('i686' 'x86_64')
license=('custom')
@WhyNotHugo
WhyNotHugo / PKGBUILD
Created August 19, 2014 11:27
python2-wsgi-intercept-0.8.1
# Maintainer: Neil Santos <nsantos16+aur@gmail.com>
pkgname=python2-wsgi-intercept
pkgver=0.8.1
pkgrel=1
pkgdesc='Installs a WSGI application in place of a real URI for testing'
arch=('i686' 'x86_64')
url='http://code.google.com/p/wsgi-intercept/'
license=('MIT')
depends=('python2')
@WhyNotHugo
WhyNotHugo / MinecraftIPv6.java
Created June 17, 2014 22:06
Run minecraft forcing IPv6 on
import java.io.IOException;
import java.net.InetAddress;
import net.minecraft.bootstrap.Bootstrap;
/*
* Launches minecraft forcing the usage of IPv6.
* You should make sure minecraft.jar is added to the classpath
* That's /usr/share/minecraft/minecraft.jar on most distros.
*
@WhyNotHugo
WhyNotHugo / Test.java
Last active August 29, 2015 14:02
Example of how to enable IPv6 only after testing if it works
package test;
import java.lang.reflect.Field;
import java.net.Inet4Address;
import java.net.Inet6Address;
import java.net.InetAddress;
import java.net.Socket;
import java.net.UnknownHostException;
/**