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/sh | |
# Clone OpenSSL repository | |
# Credits to https://github.com/robertdavidgraham/heartleech | |
git clone git://git.openssl.org/openssl.git | |
cd openssl | |
# Build 64-bit library on Mac OS | |
./configure darwin64-x86_64-cc | |
make depend | |
make |
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
==> Cloning https://github.com/osxfuse/osxfuse.git | |
git clone --depth 1 https://github.com/osxfuse/osxfuse.git /Library/Caches/Homebrew/osxfuse--git | |
Cloning into '/Library/Caches/Homebrew/osxfuse--git'... | |
git submodule update --init | |
Submodule 'framework' (https://github.com/osxfuse/framework.git) registered for path 'framework' | |
Submodule 'fuse' (https://github.com/osxfuse/fuse.git) registered for path 'fuse' | |
Submodule 'kext' (https://github.com/osxfuse/kext.git) registered for path 'kext' | |
Submodule 'macfuse' (https://github.com/osxfuse/fuse.git) registered for path 'macfuse' | |
Submodule 'prefpane' (https://github.com/osxfuse/prefpane.git) registered for path 'prefpane' | |
Cloning into 'framework'... |
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
Downloading/unpacking xlwings | |
Getting page https://pypi.python.org/simple/xlwings/ | |
URLs to search for versions for xlwings: | |
* https://pypi.python.org/simple/xlwings/ | |
Analyzing links from page https://pypi.python.org/simple/xlwings/ | |
Found link https://pypi.python.org/packages/source/x/xlwings/xlwings-0.1.0.zip#md5=4aa10c081fb02ea3ca6fadd3e2858133 (from https://pypi.python.org/simple/xlwings/), version: 0.1.0 | |
Found link https://pypi.python.org/packages/source/x/xlwings/xlwings-0.1.1.zip#md5=f0244b373e2d251b20689620d6437c00 (from https://pypi.python.org/simple/xlwings/), version: 0.1.1 | |
Found link https://pypi.python.org/packages/source/x/xlwings/xlwings-0.2.0.tar.gz#md5=9bfb31b3a08431705eec1bc262d27ff5 (from https://pypi.python.org/simple/xlwings/), version: 0.2.0 | |
Found link https://pypi.python.org/packages/source/x/xlwings/xlwings-0.2.1.tar.gz#md5=83fa219ac5d12a31fcea6c02e2d01879 (from https://pypi.python.org/simple/xlwings/), version: 0.2.1 | |
Found link https://pypi.python.org/package |
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/sh | |
# The file containing the list of MPEG TS files | |
filename=8500_vod.m3u8 | |
# The base URL containing all the MPEG TS files | |
baseURL=http://p.events-delivery.apple.com.edgesuite.net/15pijbnaefvpoijbaefvpihb06/vod2/8500/ | |
# The directory where to store the MPEG TS files | |
# WARNING: Needs ~10 GB of disk space (and additional 10 GB for the merged file)! | |
tsDir=ts |
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/sh | |
# Anonymously open a redirecting URL to mitigate tracking. | |
# Uses http://labs.wis.nu/ua/ to retrieve a random user agent string. | |
# Requires a local tor SOCKS5 proxy and Python 3. | |
anonredirect() | |
{ | |
origURL=$1 | |
proxyPort=9050 |
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/sh | |
# Exposure fusion (a.k.a. "Fake HDR") workflow for Magic Lantern | |
# 2012-11-28 17:20:30 | |
# Martin Müller <mail@mueller-martin.net> | |
# | |
# REQUIREMENTS: | |
# ffmpeg | |
# enfuse | |
# hugin (for align_image_stack) | |
# |
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
import time | |
from ws4py.client.threadedclient import WebSocketClient | |
class SysMon(object): | |
def __init__(self, host): | |
self.running = False | |
self.client = SysMonWebSocketClient(host) | |
self.client.connect() | |
def run(self): |
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
# -*- coding: UTF-8 -*- | |
import cherrypy | |
import os.path | |
from mako.template import Template | |
from mako.lookup import TemplateLookup | |
from ws4py.server.cherrypyserver import WebSocketPlugin, WebSocketTool | |
from ws4py.websocket import WebSocket | |
cherrypy.config.update("global.config") |
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/ProjectFilesDialog.cpp b/ProjectFilesDialog.cpp | |
index f632b3c..dfa1c14 100644 | |
--- a/ProjectFilesDialog.cpp | |
+++ b/ProjectFilesDialog.cpp | |
@@ -279,7 +279,7 @@ ProjectFilesDialog::inProjectFiles() const | |
using namespace boost::lambda; | |
std::vector<ImageFileInfo> files; | |
- m_ptrInProjectFiles->items(bind(&pushFileInfo<Item>, ref(files), _1)); | |
+ m_ptrInProjectFiles->items(bind(&pushFileInfo<Item>, boost::ref(files), _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
diff --git a/CMakeLists.txt b/CMakeLists.txt | |
index 3d67607..c7d86b8 100644 | |
--- a/CMakeLists.txt | |
+++ b/CMakeLists.txt | |
@@ -203,6 +203,10 @@ add_custom_target(uninstall | |
find_package(PythonLibs 2) | |
find_package(SWIG) | |
+if(APPLE) | |
+ set(PYTHON_LIBRARY "-undefined dynamic_lookup") |
OlderNewer