Skip to content

Instantly share code, notes, and snippets.

Section "Device"
Identifier "Intel Graphics"
Driver "intel"
Option "Backlight" "mba6x_backlight"
EndSection
@WhyNotHugo
WhyNotHugo / gist:10016511
Last active August 29, 2015 13:58
popcorntime.PKGBUILD
# Maintainer: Attila Bukor <r1pp3rj4ck [at] w4it [dot] eu>
# Contributor: Hugo Osvaldo Barrera <hugo@barrera.io>
# Contributor: Eric Engestrom <aur [at] engestrom [dot] ch>
# Contributor: Iwan Timmer <irtimmer@gmail.com>
# Contributor: Ricardo Band <me [at] xengi [dot] de>
pkgname=popcorntime
pkgver=0.2.8
pkgrel=9
pkgdesc="Stream movies from torrents. Skip the downloads. Launch, click, watch."
@WhyNotHugo
WhyNotHugo / 98-mba6bl.conf
Created May 1, 2014 14:31
/etc/X11/xorg.conf.d/98-mba6bl.conf
Section "Device"
Identifier "Intel Graphics"
Driver "intel"
Option "Backlight" "mba6x_backlight"
EndSection
# zypper ar -f http://sailfish.openrepos.net/ovekaaven/personal-main.repo
Adding repository 'Personal ovekaaven sailfish repository' .................................[done]
Repository 'Personal ovekaaven sailfish repository' successfully added
Enabled: Yes
Autorefresh: Yes
GPG check: Yes
URI: http://sailfish.openrepos.net/ovekaaven/personal/main
[root@Jolla nemo]# rpm --import http://sailfish.openrepos.net/openrepos.key
[root@Jolla nemo]# zypper refresh
@WhyNotHugo
WhyNotHugo / wiki.barrera.io.conf
Created May 20, 2014 04:24
nginx proxy example
server {
listen 443 ssl;
server_name wiki.barrera.io;
ssl_certificate /var/www/certs/wiki.barrera.io/chain.crt;
ssl_certificate_key /var/www/certs/wiki.barrera.io/ssl.key;
include ssl.include;
include 50x.include;
@WhyNotHugo
WhyNotHugo / example.barrera.io.conf
Created May 20, 2014 04:26
Minimal nginx proxy example
server {
listen 8080;
server_name example.barrera.io;
error_page 500 502 503 504 /50x.html;
location = /50x.html {
root /var/www/htdocs;
}
location / {
64c64
< download_url: 'http://nw.get-popcorn.com/'
---
> download_url: 'http://dl.node-webkit.org/'
79c79
< download_url: 'http://nw.get-popcorn.com/'
---
> download_url: 'http://dl.node-webkit.org/'
151c151
< }
@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;
/**
@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 / 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')