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 Quotationmarker | |
// @description Marks the quotations asterisks on warhammer-community and regimental-standard and adds hyperlinks as well as a hover. | |
// @version 0.1 | |
// @grant none | |
// @include https://www.warhammer-community.com/* | |
// @include https://regimental-standard.com/* | |
// @require http://ajax.googleapis.com/ajax/libs/jquery/3.1.1/jquery.min.js | |
// ==/UserScript== |
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
# Depending on what you want here are a few solutions! | |
# One line is always nice and this might also be one of the fastest: | |
any([input[i-2] == 1 and input[i-1] == 3 and v == 4 for i, v in enumerate(input) if i > 2]) | |
# Some like it dynamic: | |
getSubSequenceLambda = lambda input: any([input[i-2] == 1 and input[i-1] == 3 and v == 4 for i, v in enumerate(input) if i > 2]) | |
# It's a classic: | |
func getSubSequenceFunc(input): |
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 Enhanced Pokevision | |
// @namespace pokevision.com | |
// @author Justus | |
// @include https://pokevision* | |
// | |
// @run-at document-ready | |
// @include-jquery true | |
// @version 1.0.1 | |
// ==/UserScript== |
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
{% from tpl_container import render as container with context %} | |
{% call container() %} | |
{% from tpl_before import render as before with context %} | |
{{ before(compo) }} | |
{% for compo_obj in compo.components %} | |
{% if compo_obj.is_visible() %} | |
{% from tpl_row import render as row with context %} | |
{% call row() %} | |
{{ compo_obj.render() }} | |
{% endcall %} |
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
{u'creator': {u'comment': u'', | |
u'name': u'MITMPROXY HARExtractor', | |
u'version': u'0.1'}, | |
u'entries': [{u'cache': {}, | |
u'pageref': u'autopage_1', | |
u'request': {u'bodySize': 0, | |
u'cookies': [{u'name': u'_#vdf', | |
u'value': u'36548%7C18%7C20141216013325'}, | |
{u'name': u'optimizelyEndUserId', | |
u'value': u'oeu1415642015762r0.1827507417350528'}, |