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
diff --git a/configure.ac b/configure.ac | |
index dc2aa0f..a8c552e 100644 | |
--- a/configure.ac | |
+++ b/configure.ac | |
@@ -372,6 +372,16 @@ else | |
AC_MSG_WARN([Can't find libpng, screenshot support disabled]) | |
fi | |
+AH_TEMPLATE(C_NE2000,[Define to 1 to enable NE2000 ethernet passthrough, requires libpcap]) | |
+AC_CHECK_HEADER(pcap.h,have_pcap_h=yes,) |
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 bash | |
# This is a tool to assist in the usage of floppy disk hardware emulators: | |
# https://en.wikipedia.org/wiki/Floppy_disk_hardware_emulator | |
# | |
# Several of these devices (presumably cheaper ones) don't store | |
# floppy drives as files on an existing file system, but rather just | |
# store the raw data with a 96K offset. It renders the USB-stick | |
# useless for any other purposes. | |
# | |
# It also means that you need customized software to access the virtual |
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/perl | |
# lasercode, a single-user IRC proxy for transparently handling encrirc-like | |
# encryption. | |
# Authors: #laserboy | |
# Try to aim for backwards compatability in some fashion | |
# Think portability and reusability | |
# BUGS: | |
# - TOPIC is supported, but the server truncs the message to 160 chars |
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
# Comma-separated list of directories that contain a unix | |
# socket. Created and controlled by the related initscript. The | |
# directories created will be owned root:postgres with mode 1775. | |
# | |
# /run/postgresql is the default directory. | |
PG_SOCKET_DIRECTORIES="/run/postgresql" | |
# Which port and socket to bind PostgreSQL | |
PGPORT="5432" |
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 bash | |
# Gammies grimey dokuwiki updater. | |
# | |
# This script is dumb, but not as dumb as the upgrade plugin. | |
# Use with caution: I may not have considered all possible scenarios. | |
# One thing this script does not check is adequate permission to create files | |
# and subdirectories. Just basic sanity is performed. | |
# | |
# Written mainly for my own needs. |
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
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" | |
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> | |
<html xmlns="http://www.w3.org/1999/xhtml"> | |
<head> | |
<meta charset="UTF-8"> | |
<title>asciinema local player</title> | |
<style> | |
.asciinema-player-wrapper { | |
position: relative; | |
text-align: center; |
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
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" | |
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> | |
<html xmlns="http://www.w3.org/1999/xhtml"> | |
<head> | |
<meta charset="UTF-8"> | |
<title>asciinema local player</title> | |
<link rel="stylesheet" type="text/css" href="asciinema-player.css" /> | |
<style> | |
body { | |
background: #3b3b3b; |
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
" Gammies vimrc. This will work for both vim and gvim. | |
" Use Vim settings, rather then Vi settings | |
" This must be first, because it changes other options as a side effect. | |
set nocompatible | |
set nomodeline " Disable trying to read modelines in files | |
" (best to keep it off if you're unaware of it anyway) | |
" Automatically vsplit "foo.h" if "foo.c" is loaded and "foo.h" exists | |
function! OpenCFile() |
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 bash | |
which adb || exit | |
if [ -z "$1" ] | |
then | |
echo "Usage: $(basename $0) com.app.package.name dbname" >&2 | |
exit 1 | |
fi | |
pkg=$1 |
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 python3 | |
from __future__ import print_function | |
import sys | |
try: | |
input = sys.argv[1] | |
if not input: | |
print("No!", file=sys.stderr) | |
sys.exit(1) |
NewerOlder