Navigation Menu

Skip to content

Instantly share code, notes, and snippets.

View fastjack's full-sized avatar

Martin Maciaszek fastjack

View GitHub Profile
@fastjack
fastjack / wscript
Created March 17, 2014 14:15
Example of adding CFLAGS to pebble project
#
# This file is the default set of rules to compile a Pebble project.
#
# Feel free to customize this to your needs.
#
top = '.'
out = 'build'

Keybase proof

I hereby claim:

  • I am fastjack on github.
  • I am fastjack (https://keybase.io/fastjack) on keybase.
  • I have a public key whose fingerprint is 66CD 59F5 8D81 49CF 90A7 E25A FBC4 7456 E642 DE44

To claim this, I am signing this object:

2015-03-08 20:47:39 +0100
qmake -set PKG_CONFIG /usr/local/bin/pkg-config
2015-03-08 21:13:38 +0100
qmake -set PKG_CONFIG /usr/local/bin/pkg-config
>> 255.to_s(base=16)
=> "ff"
>> "c000".to_i(base=16)
=> 49152
- (id)init
{
[super init];
[self setValue:[NSNumber numberWithInt:5]
forKey:@"fido"];
NSNumber *n = [self valueForKey:@"fido"];
NSLog(@"fido = %@", n);
return self;
}
@fastjack
fastjack / logstash.conf
Created October 11, 2016 08:13
Logstash configuration for my irssi logs
input {
file {
type => "irssi_logs"
path => "/home/fastjack/irclogs/*/*/*.log"
start_position => "beginning"
}
}
filter {
lagg0: flags=8943<UP,BROADCAST,RUNNING,PROMISC,SIMPLEX,MULTICAST> metric 0 mtu 1500
options=c0099<RXCSUM,VLAN_MTU,VLAN_HWTAGGING,VLAN_HWCSUM,VLAN_HWTSO,LINKSTATE>
ether 1c:98:ec:0e:62:54
inet 10.0.1.250 netmask 0xffffff00 broadcast 10.0.1.255
nd6 options=9<PERFORMNUD,IFDISABLED>
media: Ethernet autoselect
status: active
laggproto lacp lagghash l2,l3,l4
laggport: bge0 flags=1c<ACTIVE,COLLECTING,DISTRIBUTING>
laggport: bge1 flags=1c<ACTIVE,COLLECTING,DISTRIBUTING>
ix0@pci0:5:0:0: class=0x020000 card=0x000c8086 chip=0x10fb8086 rev=0x01 hdr=0x00
vendor = 'Intel Corporation'
device = '82599ES 10-Gigabit SFI/SFP+ Network Connection'
class = network
subclass = ethernet
ix1@pci0:5:0:1: class=0x020000 card=0x000c8086 chip=0x10fb8086 rev=0x01 hdr=0x00
vendor = 'Intel Corporation'
device = '82599ES 10-Gigabit SFI/SFP+ Network Connection'
class = network
subclass = ethernet
ugen0.1: <XHCI root HUB 0x8086> at usbus0, cfg=0 md=HOST spd=SUPER (5.0Gbps) pwr=SAVE (0mA)
ugen0.2: <USB-Serial Controller Prolific Technology Inc.> at usbus0, cfg=0 md=HOST spd=FULL (12Mbps) pwr=ON (100mA)
ugen0.3: <USB2.0 Hub vendor 0x05e3> at usbus0, cfg=0 md=HOST spd=HIGH (480Mbps) pwr=SAVE (100mA)