View visualstudio-online-buildcolors-tampermonkey-script.js
// ==UserScript==
// @name visualstudio build
// @namespace http://wolfspelz.de/
// @version 0.1
// @description Color blind bars
// @match https://*.visualstudio.com/DefaultCollection/*/_build/*
// @copyright 2015+, wolfspelz
// ==/UserScript==
function style(css) {
View visualstudio-online-taskboard-tampermonkey-script.js
// ==UserScript==
// @name visualstudio taskboard
// @namespace http://wolfspelz.de/
// @version 0.1
// @description Restore white background
// @match https://*.visualstudio.com/DefaultCollection/*/_backlogs/*ask*oard/*
// @copyright 2015+, wolfspelz
// ==/UserScript==
function style(css) {
View _tsconfig.json
{
"compilerOptions": {
"noImplicitAny": false,
"noEmitOnError": true,
"removeComments": false,
"sourceMap": true,
"target": "es5",
"module": "amd",
"inlineSources": true,
"outFile": "../wwwroot/js/ts/scripts.js"
View Picasa Slideshow
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title>Google AJAX Feed API - AJAX Slide Show Sample</title>
</head>
<body style="margin:0; padding:0; background-color:#000000">
<iframe style="display:block; position:absolute; top:0; left: 0; width:100%; height:100%; overflow:hidden; border:0;" frameborder="0" src="http://www.gmodules.com/gadgets/ifr?url=http://hosting.gmodules.com/ig/gadgets/file/108621208120033273647/picasa-slideshow.xml&up_FEED=https%3A%2F%2Fpicasaweb.google.com%2Fdata%2Ffeed%2Fbase%2Fuser%2F113350798902117513683%2Falbumid%2F6238884403702106369%3Falt%3Drss%26kind%3Dphoto%26authkey%3DGv1sRgCOLDi_eL_ICB3QE%26hl%3Den_US%26imgmax%3D1600u%26max-results%3D10000&up_PWH=960&up_PHT=580&up_LNK=&up_TIT=Saxå%20Golfklubb&up_DTime=6000&up_TTime=100&up_RND=Yes&up_NAB=Yes&up_CLP=No&up_LCOL=%23000000&up_TCOL=%23000000&up_SCOL=%23000000&up_BCOL=%23000000&up_CCOL=%23000000" allowTransparency=
View Notes
https://goo.gl/photos/mMy4wbYgmQogXXbQ7
https://picasaweb.google.com/113350798902117513683/15Texico?authkey=Gv1sRgCOLDi_eL_ICB3QE&feat=directlink#slideshow/6238884406298921106
View Tampermonkey ZEIT
// ==UserScript==
// @name ZEIT
// @namespace http://wolfspelz.de/
// @version 0.1
// @description Restore white background
// @match http://www.zeit.de/*
// @copyright 2015+, wolfspelz
// ==/UserScript==
function addGlobalStyle(css) {
View . C# WebApi: use [Authorize] attribute with HTTP token
WTF:
===
- AuthorizeAttribute checks roles of HttpContext.User.
- TokenAuthenticationHandler sets IPrincipal of HttpContext.
- Cookie, HTTP header, query are evaluated by TokenAuthenticationHandler.
- TokenAuthenticationHandler fetches IPrincipal from PrincipalFromTokenCallback.
- Accessing /api/Account/LogOn with a token in query, HTTP header (or Cookie) creates a cookie.
Setup
=====