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
$ ./gradlew --version | |
------------------------------------------------------------ | |
Gradle 6.3 | |
------------------------------------------------------------ | |
Build time: 2020-03-24 19:52:07 UTC | |
Revision: bacd40b727b0130eeac8855ae3f9fd9a0b207c60 | |
Kotlin: 1.3.70 |
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
diff -uNr data/2014-04-17/S5.4.1.ALabel.txt data/2014-12-12/S5.4.1.ALabel.txt | |
--- data/2014-04-17/S5.4.1.ALabel.txt 2014-12-11 11:19:48.543687791 +0900 | |
+++ data/2014-12-12/S5.4.1.ALabel.txt 2014-12-12 15:13:40.584152820 +0900 | |
@@ -258,6 +258,7 @@ | |
romania | |
russian-federation | |
russianfederation | |
+russia | |
rwanda | |
xn--runion-bva |
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
def decode_mime_header(str): | |
retval = "" | |
i = 0 | |
while i < len(str): | |
if str[i:i+2] == "=?": | |
i = i + 2 | |
for j in range(len(str) - i): | |
if str[i+j:i+j+2] == "?=": | |
m = str[i:i+j] # mime-encoded string | |
posc = m.find("?") # position of charset separator |
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
#!/bin/sh | |
if [ $# -ge 1 -a "x$1" = "x-n" ]; then | |
head -c 16 /dev/urandom | xxd | cut -b 9-48 | tr -d 'abcdef ' | head -c 12 | |
echo | |
else | |
head -c 20 /dev/urandom | base64 - | tr -d '/=+' | head -c 12 | |
echo | |
fi |
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
<!DOCTYPE html> | |
<html lang="en"> | |
<head> | |
<meta charset="UTF-8"> | |
<title>test for lang tag</title> | |
</head> | |
<body> | |
<dl> | |
<dt>(default)</dt><dd>東京。</dd> |
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
javascript:(function(){animation.setProperties({interval:300})})(); |
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
javascript:(function(){var e=document.createElement("input");e.type="hidden";e.name="lr";e.value="lang_ja";document.forms["tsf"].appendChild(e);document.forms["tsf"].btnG.click();})(); |
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
javascript:(function(){var w=1024,h=998;window.resizeTo(w,h);window.moveTo((screen.width-w)/2,0);})(); |
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 Twitter Expander | |
// @namespace http://c--v.net/ | |
// @include http://twitter.com/* | |
// ==/UserScript== | |
// author: Ryosuke SEKIDO | |
(function() { | |
var ele = document.getElementsByTagName("a"); | |
for (var i in ele) { | |
if (ele[i].href.indexOf('http://bit.ly/') == 0) { |
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 twitter picture changer | |
// @namespace http://c--v.net/ | |
// @include http://twitter.com/home | |
// ==/UserScript== | |
// License: The MIT License | |
(function() { | |
var target = 'sekido'; | |
var doc = document; | |
var icon = null; |
NewerOlder