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
import datetime | |
import sys | |
import urllib.request | |
import urllib.parse | |
url = "https://qiitadon.com/api/v1/statuses" | |
# 記念日情報. key: 'MMDD', value: 'message', | |
anniversaries = { |
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
/* | |
* ZipAsPng.java | |
* Copyright (C) 2017, SATO_Yoshiyuki | |
* This software is released under the MIT License. | |
* http://opensource.org/licenses/mit-license.php | |
*/ | |
package net.the_blue_pla.net.zipaspng; | |
import java.io.IOException; | |
import java.nio.ByteBuffer; |
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
/* | |
* Consumer2.java | |
* Copyright (C) 2015, SATO_Yoshiyuki | |
* This software is released under the MIT License. | |
* http://opensource.org/licenses/mit-license.php | |
*/ | |
import java.util.function.Consumer; | |
@FunctionalInterface | |
public interface Consumer2<T, E extends Exception> extends Consumer<T> { |
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
import java.lang.reflect.Method; | |
/** | |
* Failed to getEnclosiongMethod() of local or anonymous class in lambda. | |
*/ | |
public class FailedToGetEnclosingMethod { | |
public static void main(String[] args) throws Exception { | |
System.out.println(System.getProperty("java.vendor")); | |
System.out.println(System.getProperty("java.version")); |
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
/* | |
* LruCacheMap.java | |
* Copyright (C) 2015, SATO_Yoshiyuki | |
* This software is released under the MIT License. | |
* http://opensource.org/licenses/mit-license.php | |
*/ | |
import java.util.LinkedHashMap; | |
import java.util.Map; | |
/** |
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
/* | |
* TypesafeMap.java | |
* Copyright (C) 2015, SATO_Yoshiyuki | |
* This software is released under the MIT License. | |
* http://opensource.org/licenses/mit-license.php | |
*/ | |
import java.io.Serializable; | |
import java.util.Collection; | |
import java.util.Collections; | |
import java.util.LinkedHashMap; |