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 Spacebattles & Sufficient Velocity DeWormer | |
// @namespace https://gist.github.com/graphnode/fbf9013d3eb589a9da52 | |
// @version 1.3.0 | |
// @description Hide threads based on a simple filter on some xenforo forums. | |
// @author Diogo Gomes <[email protected]> | |
// @match https://forums.spacebattles.com/* | |
// @match https://forums.sufficientvelocity.com/* |
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
using UnityEngine; | |
using System.Collections; | |
using System.Collections.Generic; | |
using System.Linq; | |
using ProBuilder2.Common; | |
using ProBuilder2.MeshOperations; | |
using ProBuilder2.Math; | |
namespace ProBuilder2.Examples | |
{ |
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
app.config(function($compileProvider) { | |
if (!location.host.match(/localhost/)) { | |
$compileProvider.debugInfoEnabled(false); | |
} | |
}) |
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
/* | |
Copyright (C) 2011 J. Coliz <[email protected]> | |
This program is free software; you can redistribute it and/or | |
modify it under the terms of the GNU General Public License | |
version 2 as published by the Free Software Foundation. | |
*/ | |
/** | |
* @file printf.h |
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/bash | |
site=$1; shift | |
hostname=$1; shift | |
mk_file="/opt/omd/sites/$site/etc/check_mk/conf.d/wato/hosts.mk" | |
wato_file="$(dirname $mk_file)/.wato" | |
## exit with code 1 if host exists | |
( |
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
diff --git a/common.gypi b/common.gypi | |
diff --git a/node.gyp b/node.gyp | |
index f9bc8ca..fe2f821 100644 | |
--- a/node.gyp | |
+++ b/node.gyp | |
@@ -196,10 +196,17 @@ | |
], | |
}], | |
], | |
- 'msvs-settings': { |
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
try: | |
from django.utils.deprecation import MiddlewareMixin | |
except ImportError: | |
MiddlewareMixin = object | |
class ForceDefaultLanguageMiddleware(MiddlewareMixin): | |
""" | |
Ignore Accept-Language HTTP headers | |