Skip to content

Instantly share code, notes, and snippets.

View ryandesign's full-sized avatar

Ryan Carsten Schmidt ryandesign

View GitHub Profile
@ryandesign
ryandesign / src-Info.plist.diff
Created January 27, 2012 01:20
Patch to fix QupZilla's Info.plist file
--- a/src/Info.plist
+++ b/src/Info.plist
@@ -14,7 +14,7 @@
<string>@EXECUTABLE@</string>
<key>CFBundleIdentifier</key>
<string>com.qupzilla.QupZilla</string>
-
+ <key>CFBundleDocumentTypes</key>
<array>
<dict>
@ryandesign
ryandesign / QupZilla-app-bundle.diff
Created January 27, 2012 01:59
Fix QupZilla's application bundling
diff --git a/src/app/mainapplication.cpp b/src/app/mainapplication.cpp
index 692d5d8..2961e6f 100644
--- a/src/app/mainapplication.cpp
+++ b/src/app/mainapplication.cpp
@@ -101,7 +101,7 @@ MainApplication::MainApplication(const QList<CommandLineOptions::ActionPair> &cm
#endif
#ifdef Q_WS_MAC
- DATADIR.append("Resources/");
+ DATADIR.append("../Resources/");
@ryandesign
ryandesign / contentloaded.js.diff
Created January 28, 2012 12:30
Modify contentloaded.js callback to allow specifying what to use for "this"
--- contentloaded.js.orig
+++ contentloaded.js
@@ -15,12 +15,14 @@
// @win window reference
// @fn function reference
-function contentLoaded(win, fn) {
+function contentLoaded(win, fn, thisp) {
var done = false, top = true,
Process: qupzilla [6169]
Path: /opt/local/Applications/QupZilla.app/Contents/MacOS/qupzilla
Identifier: com.qupzilla.QupZilla
Version: ??? (???)
Code Type: X86-64 (Native)
Parent Process: launchd [243]
Date/Time: 2012-01-28 09:10:19.121 -0600
OS Version: Mac OS X 10.6.8 (10K549)
Report Version: 6
@ryandesign
ryandesign / test.html
Created February 1, 2012 23:50
Problems with contentloaded 1.2 and excanvas 0003
<!DOCTYPE html>
<html>
<head>
<!--[if lt IE 9]><script type="text/javascript" src="excanvas.js"></script><![endif]-->
<script type="text/javascript" src="contentloaded.js"></script>
<script type="text/javascript">
contentLoaded(window, function() {
//setTimeout(function() {
var canvas = document.getElementById('c');
var ctx = canvas.getContext('2d');
version:1
:msg:main ---> Computing dependencies for arq_restore:msg:main
:debug:main arq_restore has no conflicts
:debug:main Searching for dependency: git-core
:debug:main Found Dependency: receipt exists for git-core
:debug:main Executing org.macports.main (arq_restore)
:debug:main changing euid/egid - current euid: 0 - current egid: 0
:debug:main egid changed to: 528
:debug:main euid changed to: 501
:debug:archivefetch archivefetch phase started at Mon Aug 27 19:06:44 CDT 2012
@ryandesign
ryandesign / main.log
Created November 3, 2012 10:05
voms 2.0.9 build failure on OS X 10.5 Leopard
version:1
:debug:main epoch: in tree: 1 installed: 1
:debug:main autoconf 2.69_0 exists in the ports tree
:debug:main autoconf 2.69_0 is the latest installed
:debug:main autoconf 2.69_0 is active
:debug:main Merging existing variants '' into variants
:debug:main new fully merged portvariants:
:debug:main Changing to port directory: /Users/rschmidt/macports/dports/devel/autoconf
:debug:main OS darwin/9.8.0 (Mac OS X 10.5) arch i386
:debug:main org.macports.load registered provides 'load', a pre-existing procedure. Target override will not be provided
--- lib/storage.js.orig 2012-11-07 21:57:03.000000000 -0600
+++ lib/storage.js 2012-11-07 21:58:36.000000000 -0600
@@ -19,7 +19,7 @@
// Sync
else {
try {
- _storage.create(id);
+ _storage.create(id, token);
} catch (err) {
return callback(err);
<?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>EnvironmentVariables</key>
<dict>
<key>NODE_ENV</key>
<string>production</string>
</dict>
<key>Label</key>
@ryandesign
ryandesign / main.log
Created March 2, 2013 14:14
soci 176805b886929d7f7df4f93b1eb987e6f4be0a1e build failure with Oracle Instant Client 11.2.0.3.0 on OS X 10.8.2 with Apple LLVM version 4.2 (clang-425.0.24) (based on LLVM 3.2svn)
---> Computing dependencies for soci:info:main .:debug:main soci has no conflicts
DEBUG: Searching for dependency: cmake
DEBUG: Found Dependency: receipt exists for cmake
DEBUG: Searching for dependency: boost
DEBUG: Found Dependency: receipt exists for boost
DEBUG: Searching for dependency: oracle-instantclient
DEBUG: Found Dependency: receipt exists for oracle-instantclient
DEBUG: Executing org.macports.main (soci)
DEBUG: changing euid/egid - current euid: 0 - current egid: 0