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 -rupN wkhtmltopdf-0.11.0_rc1/common.pri wkhtmltopdf-0.11.0_rc1-patched/common.pri | |
--- wkhtmltopdf-0.11.0_rc1/common.pri 2011-10-02 10:21:02.000000000 -0700 | |
+++ wkhtmltopdf-0.11.0_rc1-patched/common.pri 2012-09-28 09:45:49.772000005 -0700 | |
@@ -17,7 +17,7 @@ | |
unix { | |
TEMP = $$[QT_INSTALL_LIBS] libQtGui.prl | |
- PRL = $$[QT_INSTALL_LIBS] QtGui.framework/QtGui.prl | |
+ PRL = $$[QT_INSTALL_LIBS] libQtGui.prl | |
include($$join(TEMP, "/")) |
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
#!/bin/bash | |
if [ "$1" == "" ]; then | |
echo "Usage: $0 path" | |
exit 1 | |
fi | |
TEMPFILE="/tmp/fdupes_`cat /dev/urandom | head -c 1024 | cksum | awk '{print $1}'`" | |
find "$1" -type f -exec cksum '{}' ';' | sort > "$TEMPFILE" |
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
#!/bin/bash | |
# To configure git: | |
# git config difftool.imgdiff.cmd "path/to/imgdiff \"\$MERGED\" \"\$LOCAL\" \"\$REMOTE\"" | |
# To run from git: | |
# git difftool -t imgdiff [<commit> [<commit>]] [--] [<path>...] | |
MERGED="$1" | |
LOCAL="$2" |
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
#!/bin/bash | |
function new_link () | |
{ | |
if [[ -n $LINK ]] && [[ -n $INET ]] && [[ -n $ACTIVE ]]; then | |
echo "$LINK" | |
fi | |
LINK=`expr "$1" : '\(.*\): flags=.*'` | |
INET="" | |
ACTIVE="" |
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
// Taken from the commercial iOS PDF framework http://pspdfkit.com. | |
// Copyright (c) 2014 Peter Steinberger, PSPDFKit GmbH. All rights reserved. | |
// Licensed under MIT (http://opensource.org/licenses/MIT) | |
// | |
// You should only use this in debug builds. It doesn't use private API, but I wouldn't ship it. | |
#import <objc/runtime.h> | |
#import <objc/message.h> | |
// Compile-time selector checks. |
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 <stdlib.h> | |
#include <stdio.h> | |
#include <unistd.h> | |
#include <sys/types.h> | |
#include <sys/stat.h> | |
#include <errno.h> | |
#include <signal.h> | |
#include <termios.h> | |
#include <time.h> | |
#include <stddef.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
diff -rupN wkhtmltopdf-0.11.0_rc1/common.pri wkhtmltopdf-0.11.0_rc1-working/common.pri | |
--- wkhtmltopdf-0.11.0_rc1/common.pri 2011-10-02 10:21:02.000000000 -0700 | |
+++ wkhtmltopdf-0.11.0_rc1-working/common.pri 2012-09-26 10:22:30.764000002 -0700 | |
@@ -17,7 +17,7 @@ | |
unix { | |
TEMP = $$[QT_INSTALL_LIBS] libQtGui.prl | |
- PRL = $$[QT_INSTALL_LIBS] QtGui.framework/QtGui.prl | |
+ PRL = $$[QT_INSTALL_LIBS] libQtGui.prl | |
include($$join(TEMP, "/")) | |
include($$join(PRL, "/")) |
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 <stdlib.h> | |
#include <string.h> | |
int read_file_into_mem( char *filename, char **memory ) | |
{ | |
int size; | |
FILE *fp; | |
fp = fopen( filename, "rb" ); |
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
/* Copyright (c) 2002, Alexander Popov (sasho@vip.bg) | |
Copyright (c) 2002,2004,2005 Joerg Wunsch | |
Copyright (c) 2005, Helmut Wallner | |
Copyright (c) 2007, Dmitry Xmelkov | |
All rights reserved. | |
Redistribution and use in source and binary forms, with or without | |
modification, are permitted provided that the following conditions are met: | |
* Redistributions of source code must retain the above copyright |
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
Option Explicit | |
' ====================================================================================== | |
' Name: vbAccelerator cStringBuilder | |
' Author: Steve McMahon (steve@vbaccelerator.com) | |
' Date: 1 January 2002 | |
' | |
' Copyright 2002 Steve McMahon for vbAccelerator | |
' -------------------------------------------------------------------------------------- | |
' Visit vbAccelerator - advanced free source code for VB programmers |
OlderNewer