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
| # | |
| # Gpredict Makefile for MinGW, MSVC and clang-cl. | |
| # Needs GNUmake v4+. | |
| # | |
| # By G. Vanem <gvanem@yahoo.no> 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
| #!/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
| # | |
| # tcpdump/windump Makefile for MSVC or clang-cl. | |
| # NB! Needs GNU make 4.x. | |
| # | |
| # By Gisle Vanem <gvanem@yahoo.no> 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
| # | |
| # 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
| /* | |
| * 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
| #!/usr/bin/env python | |
| # | |
| # TESTrun.py; my attempt at a Python 2/3 version of the Perl-script 'TESTrun'. | |
| # By G. Vanem <gvanem@yahho.no> | |
| # | |
| # Reads './TESTLIST' and by default perform all the tcpdump tests specified | |
| # therein (test-spec="*"). | |
| # Use option '-l' to list them. | |
| # | |
| from __future__ import print_function |
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 CubicSDR (MSVC). | |
| # | |
| THIS_FILE = Makefile.MSVC | |
| VER_MAJOR = 0 | |
| VER_MINOR = 2 | |
| VER_PATCH = 3 | |
| VERSION = $(VER_MAJOR).$(VER_MINOR).$(VER_PATCH) |
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
| /***************************************************************************** | |
| * _ _ ____ _ | |
| * Project ___| | | | _ \| | | |
| * / __| | | | |_) | | | |
| * | (__| |_| | _ <| |___ | |
| * \___|\___/|_| \_\_____| | |
| * | |
| * Copyright (C) 1998 - 2018, Daniel Stenberg, <daniel@haxx.se>, et al. | |
| * | |
| * This software is licensed as described in the file COPYING, which |
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 | |
| # -*- coding: iso-8859-1 -*- | |
| r""" | |
| A Python script to download all MP3 files for the character Jan Olsen | |
| in the NRK P1 radio-show Lønsj. This will download from NRK's podcast | |
| location at: | |
| %s (a XML-file). | |
| unless this RSS-file doesn't exist in %s already. This should | |
| cause all the 153 MP3 files to be downloaded into the current directory |