Skip to content

Instantly share code, notes, and snippets.

@a4lg
a4lg / nico-html5-disable-resume.js
Last active January 6, 2017 03:42
Greasemonkey/Tampermonkey 用ニコニコ動画プレイヤー (HTML5) のレジューム機能を無効化するスクリプト
// ==UserScript==
// @name Disable resume feature on Nicovideo HTML5 player
// @description ニコニコ動画プレイヤー (HTML5) のレジューム機能を無効化
// @namespace http://a4lg.com/
// @version 1.1
// @include http://www.nicovideo.jp/watch/*
// @author a4lg
// @license CC0
// @run-at document-start
// ==/UserScript==
@a4lg
a4lg / int_range.hpp
Last active August 29, 2015 14:26
Change iterator type to input iterator, make dereference operator to return value again
/*
int_range.hpp
Integral range generator (for C++11/14)
Copyright(C) 2015 Tsukasa OI.
Permission to use, copy, modify, and/or distribute this software for
any purpose with or without fee is hereby granted, provided that the
@a4lg
a4lg / rufus.loc
Created May 12, 2015 08:57
Rufus 2.1 Japanese Fix
l "en-US" "English (English)" 0x0409, 0x0809, 0x0c09, 0x1009, 0x1409, 0x1809, 0x1c09, 0x2009, 0x2409, 0x2809, 0x2c09, 0x3009, 0x3409, 0x3809, 0x3c09, 0x4009, 0x4409, 0x4809
v 1.0.17
t MSG_001 "Other instance detected"
t MSG_002 "Another Rufus application is running.\n"
"Please close the first application before running another one."
t MSG_003 "WARNING: ALL DATA ON DEVICE '%s' WILL BE DESTROYED.\n"
"To continue with this operation, click OK. To quit click CANCEL."
t MSG_004 "Rufus update policy"
t MSG_005 "Do you want to allow Rufus to check for application updates online?"
t MSG_006 "Close"
Environment:
* CentOS 7
* Mono 2.10.8-8.el7 (EPEL 7 beta)
* CoreTweet nightly (master)
Output (stacktrace):
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
Please, report this problem to the Mono team
ERROR building certificate chain: System.ArgumentException: certificate ---> System.Security.Cryptography.CryptographicException: Unsupported hash algorithm: 1.2.840.113549.1.1.11
at Mono.Security.X509.X509Certificate.VerifySignature (System.Security.Cryptography.RSA rsa) [0x00000] in <filename unknown>:0