This file contains hidden or 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 -ex | |
DEVELOPER=`xcode-select --print-path` | |
PLATFORM="iPhoneOS" | |
ARCH="armv7" | |
IPHONE_SDK="7.0" | |
IPHONE_MIN_VERSION="5.0" | |
VERSION="1.3.0" | |
NASM_VERSION="2.10.09" |
This file contains hidden or 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
Beware: | |
======= | |
If you wish to compile Postgres with XML support, tough luck! The libxml2 package that comes with MinGW/MSYS, named msys-libxml2, is rejected by gcc like this: | |
c:/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/4.7.0/../../../../x86_64-w64-mingw32/bin/ld.exe: skipping incompatible C:/MinGW/msys/1.0/lib/libxml2.a when searching for -lxml2 | |
This is a known limitation as of now. Andrew Dunstan, the community buildfarm maintainer, as acknowledged this. | |
Make the environment bearable: |
This file contains hidden or 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
# After problems with a company-wide ActiveDirectory shaker, all (local) SQL Server instances were FUBAR. | |
# This 'resets' the LocalDB sql instance. | |
sqllocaldb stop MSSQLLocalDB -k | |
sqllocaldb delete MSSQLLocalDB | |
sqllocaldb create MSSQLLocalDB | |
sqllocaldb start MSSQLLocalDB |
This file contains hidden or 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
class Program | |
{ | |
static int threadID=0; | |
[System.Runtime.InteropServices.DllImport("kernel32.dll")] | |
static extern IntPtr OpenThread(uint dwDesiredAccess, bool bInheritHandle, uint dwThreadId); | |
[System.Runtime.InteropServices.DllImport("kernel32.dll")] | |
static extern bool TerminateThread(IntPtr hThread, uint dwExitCode); |
This file contains hidden or 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
// ==UserScript== | |
// @name Hide Jobs | |
// @namespace http://github.com/Tiny-Giant | |
// @version 1.0.0.1 | |
// @description Hides references to Stack Overflow Jobs | |
// @author @TinyGiant | |
// @include /https?:\/\/(meta\.)?stackoverflow\.com/.*/ | |
// @grant none | |
// ==/UserScript== | |
/* jshint -W097 */ |