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
PreprocessorDefinitions= | |
Techniques=UIDetect@UIDetect.fx,ContrastAdaptiveSharpen@CAS.fx,UIDetect_Before@UIDetect.fx,Monocular_Cues@Depth_Cues.fx,Blooming_HDR@BloomingHDR.fx,UIDetect_After@UIDetect.fx | |
TechniqueSorting=UIDetect@UIDetect.fx,ContrastAdaptiveSharpen@CAS.fx,UIDetect_Before@UIDetect.fx,Monocular_Cues@Depth_Cues.fx,Blooming_HDR@BloomingHDR.fx,UIDetect_After@UIDetect.fx | |
[BloomingHDR.fx] | |
Adapt_Adjust=0.500000 | |
Adapt_Seek=0.500000 | |
Auto_Bloom=0 | |
Auto_Exposure=1 | |
BloomCurve=2.000000 |
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
"UTF-8ify textmode ASCII artwork for display in modern terminal emulators." | |
# codec borrowed from https://github.com/jquast/x84 | |
# stdlib | |
import codecs | |
import re | |
from sys import argv | |
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
/*** | |
* Shibboleth IIS Authentication Module | |
* | |
* This module is responsible for taking two attributes from Shibboleth | |
* (uid, memberOf) and using them to construct a user principal that | |
* can be used in IIS authorization rules. Add the generated DLL to | |
* either the GAC or the web site's Bin folder and reference it in the | |
* Modules configuration for IIS. | |
***/ |
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
/* | |
When importing this into Stylus, the name of the User Style is used | |
for URL matching. As such, use this name for the sylesheet: | |
www.nexusclash.com/modules.php?name=Game | |
*/ | |
input, select, textarea { | |
background-color: #000; | |
border: 1px solid #000; |
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
// ==UserScript== | |
// @name Nexus Clash Improved Character Select (B4) | |
// @namespace https://roadha.us | |
// @version 0.2 | |
// @description Adds colored resource bars and highlights characters according to certain conditions | |
// @author haliphax | |
// @match https://www.nexusclash.com/modules.php?name=Game* | |
// ==/UserScript== | |
(function() { |
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
// ==UserScript== | |
// @name Nexus Clash Mini-Map (B4) | |
// @namespace https://roadha.us | |
// @author haliphax | |
// @version 1.1 | |
// @description Adds a mini-map below the standard map view which can be clicked to toggle a full-sized plane map | |
// @include https://www.nexusclash.com/modules.php?name=Game* | |
// ==/UserScript== | |
(function () { |
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
// ==UserScript== | |
// @name Nexus Clash Speedy Safe (B4) | |
// @namespace https://roadha.us | |
// @version 1.0.5 | |
// @description Remembers your selections in the faction safe/footlocker dropdowns | |
// @author haliphax | |
// @match https://nexusclash.com/modules.php?name=Game* | |
// @match https://www.nexusclash.com/modules.php?name=Game* | |
// @grant GM_getValue | |
// @grant GM_setValue |
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
// ==UserScript== | |
// @name Nexus Clash Improved Pet Status (B4) | |
// @description Adds color to pet status pane based on remaining AP | |
// @namespace https://roadha.us | |
// @author haliphax | |
// @version 1.5 | |
// @include https://www.nexusclash.com/modules.php?name=Game* | |
// @include https://nexusclash.com/modules.php?name=Game* | |
// @grant GM_getValue | |
// @grant GM.getValue |
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
using Sitecore.Buckets.Rules.Bucketing; | |
using Sitecore.Data; | |
using Sitecore.Data.Managers; | |
using Sitecore.Data.Templates; | |
using Sitecore.Rules.Conditions; | |
namespace Custom.Sitecore.Feature.Blog.BucketConditions | |
{ | |
public class WhenNewItemTemplateIsDerivedFrom<T> : WhenCondition<T> where T : BucketingRuleContext | |
{ |
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
def flatten(source): | |
""" | |
Flattens an irregular array into a single dimension. | |
:param list source: The array to flatten | |
:rtype: list | |
:returns: The flattened array | |
""" | |
assert isinstance(source, (list, tuple)), 'Only lists and tuples are supported' |