I hereby claim:
- I am brandt on github.
- I am brandt (https://keybase.io/brandt) on keybase.
- I have a public key whose fingerprint is 2BB3 3104 E95E 7F40 201C ED32 D983 4D42 37F9 8C50
To claim this, I am signing this object:
diff --git Makefile.am Makefile.am | |
index 8e3a2f1..fe3901b 100644 | |
--- Makefile.am | |
+++ Makefile.am | |
@@ -2,7 +2,7 @@ | |
include $(top_srcdir)/Makefile.decl | |
SRC_SUBDIRS = gdk gtk modules demos tests perf | |
-SUBDIRS = po po-properties $(SRC_SUBDIRS) docs m4macros build | |
+SUBDIRS = po po-properties $(SRC_SUBDIRS) m4macros build |
--- configure.in.orig 2013-01-07 16:33:30.000000000 -0800 | |
+++ configure.in 2013-01-07 16:33:59.000000000 -0800 | |
@@ -8,9 +8,9 @@ | |
AC_MSG_RESULT(beginning autoconfiguration process for libnet-${PACKAGE_VERSION} ...) | |
AC_CANONICAL_SYSTEM | |
AC_CONFIG_SRCDIR([src/libnet_build_ip.c]) | |
+AC_CONFIG_HEADERS([include/config.h]) | |
AC_CONFIG_MACRO_DIR([m4]) | |
AM_INIT_AUTOMAKE | |
-AM_CONFIG_HEADER([include/config.h]) |
diff --git c/src/Makefile.include w/src/Makefile.include | |
index b6384ff..b75516c 100644 | |
--- c/src/Makefile.include | |
+++ w/src/Makefile.include | |
@@ -1,11 +1,11 @@ | |
-INSTALL_RUN := install --mode=555 | |
-INSTALL_RO := install --mode=444 | |
-INSTALL_MAN := install --mode=644 | |
-INSTALL_LOCALE := install --mode=644 | |
-LN := ln --symbolic --force --no-dereference |
diff --git c/src/main.cc w/src/main.cc | |
index ee16e7b..d60ce98 100644 | |
--- c/src/main.cc | |
+++ w/src/main.cc | |
@@ -42,21 +42,23 @@ bool ShotApp::OnInit () { | |
void show_help (char **argv) { | |
printf ("\nShotdetect version \"%s\", Copyright (c) 2007-2013 Johan Mathe\n\n" | |
"Usage: %s \n" | |
- "-h : show this help\n" | |
- "-n : commandline mode (disable GUI)\n" |
diff --git c/CMakeLists.txt w/CMakeLists.txt | |
index f13542a..95759ef 100644 | |
--- c/CMakeLists.txt | |
+++ w/CMakeLists.txt | |
@@ -208,6 +208,7 @@ ENDIF() | |
# Taken from official documentation (http://www.cmake.org/cmake/help/cmake2.6docs.html#command:install) | |
install( | |
TARGETS ${TARGETS_TO_INSTALL} | |
+ BUNDLE DESTINATION . | |
RUNTIME DESTINATION bin |
<?xml version="1.0" encoding="UTF-8"?> | |
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd"> | |
<plist version="1.0"> | |
<dict> | |
<key>Label</key> | |
<string>com.runlevel1.homebrew.update</string> | |
<key>EnvironmentVariables</key> | |
<dict> | |
<key>TERM</key> | |
<string>ansi</string> |
#!/usr/bin/env bash | |
if ! (git clone https://github.com/brandt/symlinks.git) ; then | |
echo "Error fetching Symlinks." >&2 | |
exit 1 | |
else | |
cd symlinks | |
fi | |
if ! make ; then |
I hereby claim:
To claim this, I am signing this object:
#!/usr/bin/env ruby | |
# Description: | |
# | |
# Quick hack to grant a user the privileges necessary to login to the Dell DRAC web management interface. | |
# | |
# This is a workaround for a bug where a user created in IPMI can't login to the Dell DRAC web management portal. | |
# The user would be denied with error: Login failed. User does not have 'Login to Dell BMC' privilege. | |
# | |
# We assume that the default user and password are still enabled (root:root). |
# Optimal bloom filter size and number of hashes | |
# Tips: | |
# 1. One byte per item in the input set gives about a 2% false positive rate. | |
# 2. The optimal number of hash functions is ~0.7x the number of bits per item. | |
# 3. The number of hashes dominates performance. | |
# Expected number of items in the collection | |
# n = (m * ln(2))/k; | |
n = 300_000 |