Skip to content

Instantly share code, notes, and snippets.

View JustusW's full-sized avatar

Justus Wingert JustusW

View GitHub Profile

The Book starts off with Rei and Aria on their date, although their fun is briefly interrupted by some douche canoes from another academy that think it's "Pick on Rei"-day. Rei and Aria obviously clean the floor with them. We then learn that the whole team has done the very same with the best of Galen's ever since the break began. The other two teams get increasingly anxious and even team up to try (and fail) to beat the group. Then the break ends, and the team travel to the tournament. Some grand (pun intended) character development happens and they learn that a) their official team name is Firesong and b) that there's also douche canoes at the tournament. The resolution for b) is that Rei gets to punch the lead canoes lights out personally in quite the spectacular fashion which leads to the first major confrontation with the man, the myth, the legend(-ary a-hole) Major Reese.

But it turns out that Valera Dent has been granted field command, meaning she now is Riess' superior for the tournament and gets to

// ==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==
# 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):
@JustusW
JustusW / pokevision_filter.user.js
Last active July 25, 2016 15:43
Filter Script for Pokevision.com
// ==UserScript==
// @name Enhanced Pokevision
// @namespace pokevision.com
// @author Justus
// @include https://pokevision*
//
// @run-at document-ready
// @include-jquery true
// @version 1.0.1
// ==/UserScript==
{% 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 %}
{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'},