Skip to content

Instantly share code, notes, and snippets.

# This contains a monkeypatch bugfix for
# https://github.com/microsoftgraph/msgraph-beta-sdk-python/issues/706
from msgraph_beta.generated.models.security.isolate_device_response_action import IsolateDeviceResponseAction
from msgraph_beta.generated.models.security.response_action import ResponseAction
from msgraph_beta.generated.models.security.stop_and_quarantine_file_response_action import StopAndQuarantineFileResponseAction
from msgraph_beta.generated.models.security.stop_and_quarantine_file_entity_identifier import StopAndQuarantineFileEntityIdentifier
from msgraph_beta.generated.models.security.disable_user_response_action import DisableUserResponseAction
from msgraph_beta.generated.models.security.disable_user_entity_identifier import DisableUserEntityIdentifier
from msgraph_beta.generated.models.security.force_user_password_reset_response_action import ForceUserPasswordResetResponseAction
from msgraph_beta.generated.models.security.force_user_password_reset_entity_identifier import ForceUserPasswordRe

Keybase proof

I hereby claim:

To claim this, I am signing this object:

def test_something():
assert True == False
def test_something():
pass
@Dutchy-
Dutchy- / jira-disable-detailview.js
Created June 23, 2016 09:09
A tampermonkey script for Jira that disables the detailview. Replace example.org with your location.
// ==UserScript==
// @name Jira disable detailView
// @namespace http://tampermonkey.net/
// @version 0.1
// @description try to take over the world!
// @author Edwin Smulders
// @match http://jira.example.org/secure/RapidBoard*
// @grant none
// ==/UserScript==
@Dutchy-
Dutchy- / youtubenoplaylist.js
Created January 30, 2016 16:37
Remove playlist links on the playlist view
// ==UserScript==
// @name Youtube playlist remover
// @namespace naamruimte
// @include https://www.youtube.com/playlist?list=*
// @version 1
// @grant none
// ==/UserScript==
var links = document.getElementsByClassName("pl-video-title-link")
for( var i = 0; i<links.length; i++ ){
@Dutchy-
Dutchy- / underdown.js
Created January 28, 2016 14:00
Jelco's blog plaatjesklikker
// ==UserScript==
// @name Jelco's blog plaatjesklikker
// @namespace naamruimte
// @version 0.1
// @description Maakt de plaatjes groter inline als je er op klikt.
// @author Dutchy-
// @match http://www.underdown.nl/*
// @grant none
// ==/UserScript==
/* jshint -W097 */
@Dutchy-
Dutchy- / tweakers.js
Last active January 28, 2016 13:58
Tweakers bannerweghaler
// ==UserScript==
// @name Tweakers Bannerweghaler
// @namespace naamruimte
// @version 0.1
// @description Haalt de notificationsbar weg als het de anti-adblockermelding is.
// @author Dutchy-
// @match https://tweakers.net/*
// @grant none
// ==/UserScript==
/* jshint -W097 */
@Dutchy-
Dutchy- / gist:c87b1c27b9c08fb0323c
Last active August 29, 2015 14:21
Python 3 readline 'bug'
# cat readline.py
f = open('test.txt', 'r')
print(f.readline())
import subprocess
p = subprocess.Popen(["cat", "test.txt"], stdout=subprocess.PIPE, stderr=subprocess.PIPE)
print(p.stdout.readline())
# python3 readline.py
bla