This file contains hidden or 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
| /* | |
| * A small sample shows undefined behaviour in 'qsort()' | |
| * when all elements *comparing on* are equal. I.e. all | |
| * the array elements are not necessarily equal; only the one we | |
| * care about. It seems a 'swap()' operation is performed anyway (?) | |
| * | |
| * Compile: | |
| * c:\> clang -Wall -o qsort-undefined.exe qsort-undefined.c | |
| * or | |
| * c:\> gcc -Wall -o qsort-undefined.exe qsort-undefined.c |
This file contains hidden or 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
| # | |
| # Nmake makefile for IP2Location (MSVC) | |
| # Ref: https://github.com/chrislim2888/IP2Location-C-Library | |
| # | |
| TARGET_LIB = libIP2Location/IP2Location.lib | |
| TARGET_TEST = test/test-IP2Location.exe | |
| CFLAGS = -nologo -DWIN32 -MD -I./libIP2Location -DPACKAGE_VERSION=\"8.0.4\" | |
| LDFLAGS = -nologo -debug -map -incremental:no |
This file contains hidden or 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
| # | |
| # tcpdump/windump Makefile for MSVC or clang-cl. | |
| # NB! Needs GNU make 4.x. | |
| # | |
| # By Gisle Vanem <[email protected]> 2004 - 2019. | |
| # | |
| THIS_FILE = Makefile.Windows | |
| BUILD_DATE = $(shell date +%d-%B-%Y) | |
| PYTHON ?= py -3 |
This file contains hidden or 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 | |
| # | |
| # Generates a 'oui-generated.c' for tcpdump. | |
| # | |
| from __future__ import print_function | |
| import sys, os, time, re, getopt, codecs | |
| OUI_URL = "http://standards-oui.ieee.org/oui.txt" | |
| ENT_URL = "http://www.iana.org/assignments/enterprise-numbers" |
This file contains hidden or 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
| # | |
| # Gpredict Makefile for MinGW, MSVC and clang-cl. | |
| # Needs GNUmake v4+. | |
| # | |
| # By G. Vanem <[email protected]> 2016. | |
| # | |
| THIS_FILE = Makefile.Windows | |
| # | |
| # Ideally use: |
This file contains hidden or 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
| # | |
| # A GNU-makefile to generate a CURL.CHM file from all | |
| # 'curl/docs/*.1' and 'curl/libcurl/*.3' files. | |
| # | |
| # This makefile *must* be put in it's own directory under '<CURL_ROOT>/docs'. | |
| # E.g. '<CURL_ROOT>/docs/Compressed-HTML'. | |
| # | |
| # Unless you edit the below '$(CURL_DOC_DIR)' to suite. | |
| # | |
| # If you're unable to build it, it's here too: |
This file contains hidden or 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
| diff -Hb -u3 a/src/CRadioController.cpp src/CRadioController.cpp | |
| --- a/src/CRadioController.cpp 2018-01-25 17:15:49 | |
| +++ b/src/CRadioController.cpp 2018-01-28 11:08:21 | |
| @@ -185,6 +185,8 @@ | |
| QString dabDevice = "auto"; | |
| #endif | |
| + int instance = 0; | |
| + | |
| #ifdef HAVE_SOAPYSDR |
This file contains hidden or 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
| """A Python script to poll a list of AirSpy, Kiwi and SDR-Console (V3) servers. | |
| """ | |
| # | |
| # By G. Vanem <[email protected]> 2018 | |
| # | |
| # The Gist is here: | |
| # https://gist.github.com/gvanem/8a83e5f5dd487af4bf4e73c0f81c5393 | |
| # | |
| # todo: OpenWebRX and WebSockets like this: |
This file contains hidden or 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
| # | |
| # GNU Makefile for libusb (MinGW + MSVC + clang-cl). | |
| # | |
| # By G. Vanem <[email protected]> 2013. | |
| # | |
| DATE := $(shell date +%d-%B-%Y) | |
| VPATH = libusb libusb/os examples | |
| THIS_FILE = Makefile.Windows |
This file contains hidden or 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
| # | |
| # GNU makefile 4.x for pycurl (MSVC) | |
| # | |
| # By <[email protected]> 2013 - 2024. | |
| # | |
| THIS_FILE := $(firstword $(MAKEFILE_LIST)) | |
| DATE := $(shell date +%d-%B-%Y) | |
| YEAR := $(shell date +%Y) | |
| VERSION := 7.45.2 |