Skip to content

Instantly share code, notes, and snippets.

diff --git a/scripts/cmake-toolchain-script.sh b/scripts/cmake-toolchain-script.sh
index c24ab34..28295bb 100755
--- a/scripts/cmake-toolchain-script.sh
+++ b/scripts/cmake-toolchain-script.sh
@@ -1,7 +1,8 @@
#!/bin/sh
# cmake-toolchain-script.sh by take_cheeze (takechi101010@gmail.com)
-PSP_CMAKE_PATH=$(psp-config --pspdev-path)/bin
-TOOLCHAIN_SCRIPT_PATH=$(psp-config --psp-prefix)/share/cmake-2.8/Modules/Platform
+DESTDIR=$1
@BrunoReX
BrunoReX / print_framerate.bat
Last active August 29, 2015 14:02
Prints file name and framerate from video files inside of the current folder
@echo off
Setlocal EnableDelayedExpansion
REM Path to MediaInfo executable, not needed if already in PATH
set MEDIAINFO_EXE=mediainfo
REM Cleanup
del /f /q framerates.txt
REM Add or remove extensions if needed
@BrunoReX
BrunoReX / print_bitrate.bat
Last active August 29, 2015 14:01
Prints file name and bitrate from video files inside of the current folder
@echo off
Setlocal EnableDelayedExpansion
REM Path to ffprobe executable, not needed if already in PATH
set FFPROBE_EXE=ffprobe
REM Cleanup
del /f /q bitrates.txt
REM Add or remove extensions if needed
diff --git a/include/libtorrent/escape_string.hpp b/include/libtorrent/escape_string.hpp
index 5fd440c..a50dce3 100644
--- a/include/libtorrent/escape_string.hpp
+++ b/include/libtorrent/escape_string.hpp
@@ -60,7 +60,8 @@ namespace libtorrent
TORRENT_EXTRA_EXPORT std::string base64decode(std::string const& s);
// encodes a string using the base32 scheme
TORRENT_EXTRA_EXPORT std::string base32encode(std::string const& s);
- TORRENT_EXTRA_EXPORT std::string base32decode(std::string const& s);
+ //TORRENT_EXTRA_EXPORT std::string base32decode(std::string const& s);
diff --git a/ms/ntdll.mak b/ms/ntdll.mak
index 1cffd71..c30c8dd 100644
--- a/ms/ntdll.mak
+++ b/ms/ntdll.mak
@@ -17,7 +17,7 @@ OPENSSLDIR=T:\install\openssl\ssl
# Set your compiler options
PLATFORM=VC-WIN64A
CC=cl
-CFLAG=-IT:\install\zlib\include /MD /Ox -DZLIB -DOPENSSL_THREADS -DDSO_WIN32 -IT:\\install\\zlib\\include -W3 -Gs0 -Gy -nologo -DOPENSSL_SYSNAME_WIN32 -DWIN32_LEAN_AND_MEAN -DL_ENDIAN -DUNICODE -D_UNICODE -D_CRT_SECURE_NO_DEPRECATE -DOPENSSL_IA32_SSE2 -DOPENSSL_BN_ASM_MONT -DOPENSSL_BN_ASM_MONT5 -DOPENSSL_BN_ASM_GF2m -DSHA1_ASM -DSHA256_ASM -DSHA512_ASM -DMD5_ASM -DAES_ASM -DVPAES_ASM -DBSAES_ASM -DWHIRLPOOL_ASM -DGHASH_ASM -DOPENSSL_USE_APPLINK -I. -DOPENSSL_NO_RC5 -DOPENSSL_NO_MD2 -DOPENSSL_NO_KRB5 -DOPENSSL_NO_JPAKE -DZLIB -DOPENSSL_NO_STATIC_ENGINE
+CFLAG=-IT:\install\zlib\include /MD /O2 /favor:blend /GL /Y- -DZLIB -DOPENSSL_THREADS -DDSO_WIN32 -IT:\\install\\zlib\\include -W3 -Gs0 -Gy -nologo -DOPENSSL_SYSNAME_WIN32 -DWIN32_LEAN_AND_MEAN -DL_ENDIAN -DUNICODE -D_UNICODE -D_CRT_SECUR
diff --git a/win32/Makefile.msc b/win32/Makefile.msc
index 67b7731..863a0bc 100644
--- a/win32/Makefile.msc
+++ b/win32/Makefile.msc
@@ -22,15 +22,15 @@ SHAREDLIB = zlib1.dll
IMPLIB = zdll.lib
CC = cl
-AS = ml
+AS = ml64
diff --git a/src/src.pro b/src/src.pro
index 01f51f1..2b45bd3 100644
--- a/src/src.pro
+++ b/src/src.pro
@@ -58,7 +58,7 @@ DEFINES += QT_USE_FAST_CONCATENATION QT_USE_FAST_OPERATOR_PLUS
# Fixes compilation with Boost >= v1.46 where boost
# filesystem v3 is the default.
-DEFINES += BOOST_FILESYSTEM_VERSION=2
+#DEFINES += BOOST_FILESYSTEM_VERSION=2
/*--- waitForKeyElements(): A utility function, for Greasemonkey scripts,
that detects and handles AJAXed content.
Usage example:
waitForKeyElements (
"div.comments"
, commentCallbackFunction
);
(function ($) {
/**
* @function
* @property {object} jQuery plugin which runs handler function once specified element is inserted into the DOM
* @param {function} handler A function to execute at the time when the element is inserted
* @param {bool} shouldRunHandlerOnce Optional: if true, handler is unbound after its first invocation
* @example $(selector).waitUntilExists(function);
*/
@BrunoReX
BrunoReX / comodo_icedragon.xml
Last active December 15, 2015 15:59
Comodo IceDragon cleaner for BleachBit
<?xml version="1.0" encoding="UTF-8"?>
<!--
BleachBit
Copyright (C) 2013-2014 Andrew Ziem
http://bleachbit.sourceforge.net
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 3 of the License, or