Skip to content

Instantly share code, notes, and snippets.

View pinpox's full-sized avatar
🤔

Pablo Ovelleiro Corral pinpox

🤔
View GitHub Profile
// Copyright 2010 The Go Authors. All rights reserved.
// Use of this source code is governed by a BSD-style
// license that can be found in the LICENSE file.
package main
import (
"html/template"
"io/ioutil"
"net/http"
@pinpox
pinpox / -
Created August 25, 2016 09:12
[ 53.043]
X.Org X Server 1.18.4
Release Date: 2016-07-19
[ 53.043] X Protocol Version 11, Revision 0
[ 53.043] Build Operating System: Linux 4.5.4-1-ARCH x86_64
[ 53.044] Current Operating System: Linux binaryplease-laptop 4.7.1-1-ARCH #1 SMP PREEMPT Wed Aug 17 08:13:35 CEST 2016 x86_64
[ 53.044] Kernel command line: BOOT_IMAGE=../vmlinuz-linux root=/dev/sda2 rw initrd=../initramfs-linux.img rcutree.rcu_idle_gp_delay=1 quiet vga=34D
[ 53.044] Build Date: 19 July 2016 05:54:24PM
[ 53.044]
[ 53.044] Current version of pixman: 0.34.0
@pinpox
pinpox / -
Created August 25, 2016 09:11
[ 53.043]
X.Org X Server 1.18.4
Release Date: 2016-07-19
[ 53.043] X Protocol Version 11, Revision 0
[ 53.043] Build Operating System: Linux 4.5.4-1-ARCH x86_64
[ 53.044] Current Operating System: Linux binaryplease-laptop 4.7.1-1-ARCH #1 SMP PREEMPT Wed Aug 17 08:13:35 CEST 2016 x86_64
[ 53.044] Kernel command line: BOOT_IMAGE=../vmlinuz-linux root=/dev/sda2 rw initrd=../initramfs-linux.img rcutree.rcu_idle_gp_delay=1 quiet vga=34D
[ 53.044] Build Date: 19 July 2016 05:54:24PM
[ 53.044]
[ 53.044] Current version of pixman: 0.34.0
@pinpox
pinpox / -
Created August 22, 2016 12:24
require 'thread'
class KukiBox
def initialize(num)
@kukis = num
@eatcount = {}
@m = Mutex.new
end
def take_kuki(player_id)
@m.synchronize do
@pinpox
pinpox / -
Created August 22, 2016 12:23
require 'thread'
class KukiBox
def initialize(num)
@kukis = num
@eatcount = {}
@m = Mutex.new
end
def take_kuki(player_id)
@m.synchronize do
\documentclass[10pt,landscape,fleqn]{article}
\usepackage{multicol}
\usepackage{calc}
\usepackage{ifthen}
\usepackage[landscape]{geometry}
\usepackage{amsmath,amsthm,amsfonts,amssymb}
\usepackage{color,graphicx,overpic}
\usepackage{hyperref}
\usepackage[fleqn]{mathtools}
\usepackage[utf8]{inputenc}
\documentclass[10pt,landscape,fleqn]{article}
\usepackage{multicol}
\usepackage{calc}
\usepackage{ifthen}
\usepackage[landscape]{geometry}
\usepackage{amsmath,amsthm,amsfonts,amssymb}
\usepackage{color,graphicx,overpic}
\usepackage{hyperref}
\usepackage[fleqn]{mathtools}
\usepackage[utf8]{inputenc}
binaryplease➜~/Projects/led_strip_control(master✗)» go run on.go [17:56:22]
0.010000
0.010000
0.010000
Setting Led 7 to 255 onetime : 0.01 offtime : 0
Setting Led 6 to 255 onetime : 0.01 offtime : 0
Setting Led 5 to 255 onetime : 0.01 offtime : 0
Setting Led 7 to 0 onetime : 0 offtime : 0.01
Setting Led 6 to 255 onetime : 0.01 offtime : 0
Setting Led 5 to 0 onetime : 0 offtime : 0.01
binaryplease➜~(master✗)» clear [17:48:22]
binaryplease➜~(master✗)» spotify [17:55:02]
/usr/share/spotify/spotify: /usr/lib/libcurl.so.3: no version information available (required by /usr/share/spotify/spotify)
/usr/share/spotify/spotify: /usr/lib/libssl.so.1.0.0: no version information available (required by /usr/share/spotify/spotify)
/usr/share/spotify/spotify: /usr/lib/libcrypto.so.1.0.0: no version information available (required by /usr/share/spotify/spotify)
[0314/175504:ERROR:browser_main_loop.cc(203)] Running without the SUID sandbox! See https://code.google.com/p/chromium/wiki/LinuxSUIDSandboxDevelopment for more information on developing with the sandbox on.
/usr/sh
begin remote
name /home/pi/ledband_sz.conf
bits 16
flags SPACE_ENC|CONST_LENGTH
eps 30
aeps 100
header 8999 4463
one 584 1653