Skip to content

Instantly share code, notes, and snippets.

View waitman's full-sized avatar

Waitman Gobble waitman

View GitHub Profile
# hcidump
HCIDump - HCI packet analyzer ver 1.5
device: any snap_len: 65535 filter: 0xffffffffffffffff
> HCI Event: Connect Request(0x04) plen 10
< HCI Command: Accept Connection Request(0x01|0x0009) plen 7
> HCI Event: Command Status(0x0f) plen 4
> HCI Event: Role Change(0x12) plen 8
> HCI Event: Connect Complete(0x03) plen 11
< HCI Command: Write Link Policy Settings(0x02|0x000d) plen 4
@waitman
waitman / ifconfig
Created March 12, 2015 06:11
network interfaces
re0: flags=8802<BROADCAST,SIMPLEX,MULTICAST> metric 0 mtu 1500
options=8209b<RXCSUM,TXCSUM,VLAN_MTU,VLAN_HWTAGGING,VLAN_HWCSUM,WOL_MAGIC,LINKSTATE>
ether f8:a9:63:d7:09:82
nd6 options=29<PERFORMNUD,IFDISABLED,AUTO_LINKLOCAL>
media: Ethernet autoselect (none)
status: no carrier
ath0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> metric 0 mtu 2290
ether 30:10:b3:2e:a7:eb
nd6 options=21<PERFORMNUD,AUTO_LINKLOCAL>
media: IEEE 802.11 Wireless Ethernet autoselect mode 11ng
@waitman
waitman / dhcp-4.3.2
Created March 12, 2015 06:03
not assiging ip
Mar 11 23:00:39 blynk dhcpd: Internet Systems Consortium DHCP Server 4.3.2
Mar 11 23:00:39 blynk dhcpd: Copyright 2004-2015 Internet Systems Consortium.
Mar 11 23:00:39 blynk dhcpd: All rights reserved.
Mar 11 23:00:39 blynk dhcpd: For info, please visit https://www.isc.org/software/dhcp/
Mar 11 23:00:39 blynk dhcpd: Config file: /etc/dhcpd.conf
Mar 11 23:00:39 blynk dhcpd: Database file: /var/dhcp/lease
Mar 11 23:00:39 blynk dhcpd: PID file: /var/run/dhcpd.pid
Mar 11 23:00:39 blynk dhcpd: Internet Systems Consortium DHCP Server 4.3.2
Mar 11 23:00:39 blynk dhcpd: Copyright 2004-2015 Internet Systems Consortium.
Mar 11 23:00:39 blynk dhcpd: All rights reserved.
@waitman
waitman / gist:847a8cae4a650a8898ee
Created November 30, 2014 23:37
json output from metaflac
[
{
"Block ID": 0,
"Block": {
"Block Number": 0,
"Block Type": 0,
"Block Length": 34,
"Is Last": false,
"Min Blocksize": 4096,
"Max Blocksize": 4096,
[map[Block ID:0 Block:map[Block Type:0 Block Length:34 Is Last:false Max Blocksize:4096 Max Framesize:17217 MD5 Signature:903a2edd2b8e11b8200a6008831815d4 Block Number:0 Min Blocksize:4096 Min Framesize:4026 Sample Rate:88200 Channels:2 Bits Per Sample:24 Total Samples:3.5583931e+07]] map[Block ID:1 Block:map[Is Last:false Seek Points:41 Seek Data:[map[Point Number:0 Sample Number:0 Stream Offset:0 Frame Samples:4096] map[Point Number:1 Sample Number:880640 Stream Offset:3.016032e+06 Frame Samples:4096] map[Point Number:2 Sample Number:1.76128e+06 Stream Offset:6.21353e+06 Frame Samples:4096] map[Point Number:3 Sample Number:2.64192e+06 Stream Offset:9.445912e+06 Frame Samples:4096] map[Point Number:4 Sample Number:3.526656e+06 Stream Offset:1.2708595e+07 Frame Samples:4096] map[Point Number:5 Sample Number:4.407296e+06 Stream Offset:1.5997399e+07 Frame Samples:4096] map[Point Number:6 Sample Number:5.287936e+06 Stream Offset:1.9236562e+07 Frame Samples:4096] map[Point Number:7 Sample Number:6.172672e+06 Stre
Array
(
[0] => Array
(
[Block ID] => 0
[Block] => Array
(
[Block Number] => 0
[Block Type] => 0
[Block Length] => 34
@waitman
waitman / rfidgb
Created November 25, 2014 15:11
good read / bad read
Good Read:
Nov 25 07:01:06 afia rfid[5068]: Connected [/dev/cuaU0] [115200]
Nov 25 07:01:06 afia rfid[5068]: Data a0 6 ff 81 1 2 2 (d5)
Nov 25 07:01:06 afia rfid[5068]: Data a0 1d 1 81 0 1 14 30 0 15 5 0 0 76 6 1 52 5 90 d7 5f db 77 15 5 0 0 4 10 1 (47)
Nov 25 07:01:06 afia rfid[5068]: Received [Cmd 81] [DataLen 31] [ReadId 01]
Nov 25 07:01:06 afia rfid[5068]: Read Tag: Tag: [pc 30 0] [epc 15 5 0 0 76 6 1 52 5 90 d7 5f] [crc db 77] [data 15 5 0 0] [ant 1] [cnt 1]
# This is a shell archive. Save it in a file, remove anything before
# this line, and then unpack it by entering "sh file". Note, it may
# create directories; files and directories will be owned by you and
# have default permissions.
#
# This archive contains:
#
# CMakeCPackOptions.cmake
# Tests/CMakeLists.txt
# Tests/RunCMake/CMakeLists.txt
@waitman
waitman / gist:9194685
Created February 24, 2014 19:04
rsyslogd 8.1.6 build.log
Script started on Mon Feb 24 10:55:21 2014
bash-4.2# make -j4
make all-recursive
make[1]: Entering directory '/sources/rsyslog-8.1.6'
Making all in doc
make[2]: Entering directory '/sources/rsyslog-8.1.6/doc'
make[2]: Nothing to be done for 'all'.
make[2]: Leaving directory '/sources/rsyslog-8.1.6/doc'
Making all in compat
make[2]: Entering directory '/sources/rsyslog-8.1.6/compat'
@waitman
waitman / gist:9194649
Created February 24, 2014 19:02
rsyslogd 8.1.6 config.log
This file contains any messages produced by compilers while
running configure, to aid debugging if configure makes a mistake.
It was created by rsyslog configure 8.1.6, which was
generated by GNU Autoconf 2.68. Invocation command line was
$ ./configure --prefix=/usr --enable-gnutls --enable-cached-man-pages
## --------- ##
## Platform. ##