Skip to content

Instantly share code, notes, and snippets.

@tmash06
tmash06 / CopyTitleAndUrlToClipboard.user.js
Last active March 5, 2022 07:47
Copy a title and an URL to a clipboard. (Alt + c)
// ==UserScript==
// @name Copy a title and an URL to a clipboard. (Alt + c)
// @namespace https://github.com/tmash06
// @version 0.1
// @description Copy a title and an URL to a clipboard. (Alt + c)
// @author tmash06
// @match *://*/*
// @grant none
// ==/UserScript==
(() => {
http://www.atmarkit.co.jp/ait/kw/scraping_mobile.html
https://software.intel.com/en-us/blogs/2014/07/15/an-investigation-of-fast-real-time-gpu-based-image-blur-algorithms
http://www.viva64.com/en/b/0249/#ID0EMOBG
http://developer.cybozu.co.jp/tech/?p=8567
@tmash06
tmash06 / CodecCapabilitiesReader.java
Created August 18, 2012 05:59
Show CodecCapabilities on Android Low Media Codec API
import android.media.MediaCodecInfo;
import android.media.MediaCodecInfo.CodecCapabilities;
import android.media.MediaCodecInfo.CodecProfileLevel;
import android.media.MediaCodecList;
public class CodecCapabilitiesReader {
private static String colorFormatToString(int colorFormat) {
String ret = "not found(" + colorFormat + ")";
switch (colorFormat) {
case CodecCapabilities.COLOR_Format12bitRGB444: