This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env python | |
#coding=utf-8 | |
import struct | |
import sys | |
fp = open(sys.argv[1], 'rb') | |
data = fp.read() | |
pcap_header = {} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* | |
* blueutil | |
* Command-line utility to control Bluetooth. | |
* Uses private API from IOBluetooth framework (i.e. IOBluetoothPreference*()). | |
* http://www.frederikseiffert.de/blueutil | |
* | |
* This software is public domain. It is provided without any warranty whatsoever, | |
* and may be modified or used without attribution. | |
* | |
* Written by Frederik Seiffert <[email protected]> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include <stdio.h> | |
#include <stdint.h> | |
#include <stdlib.h> | |
#include <string.h> | |
#include <arpa/inet.h> | |
#include <net/if.h> | |
#include <sys/ioctl.h> | |
#include <net/if_dl.h> | |
#include <net/if_types.h> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
all:commonprefix | |
clean: | |
rm *.o urlchanger | |
CC=clang | |
CFLAGS+=-O0 -g | |
CXXFLAGS+=-O0 -g |
NewerOlder