名称 | 役割 | 説明 |
---|---|---|
MinGW | コンパイラ | Windows 用の GNU ツールチェーン。 とにかく Windows 用の gcc や GNU ld。 "Windows 用" とは、Windows 上で動作したり、Windows 用のアプリが作れたりすること。 要するに Visual C++ や Clang/LLVM みたいなもの。 |
mingw-w64 | コンパイラ | MinGW のフォーク。Win64 向けの改良が加わっており、2021 年現在の主流。 |
Cygwin | POSIX 環境 | Windows 用の POSIX 環境。cygwin1. |
This file contains hidden or 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.io.BufferedReader; | |
import java.io.InputStreamReader; | |
import java.nio.charset.Charset; | |
import java.nio.charset.StandardCharsets; | |
public class Convert { | |
public static void main(String[] args) throws Exception { | |
var csv = new String(System.in.readAllBytes(), Charset.forName("MS932")); | |
var lines = csv.split("\r?\n"); |
This file contains hidden or 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
body:after { | |
content: "CONFIDENTIAL"; | |
z-index: 999999; | |
position: fixed; | |
top: 0; | |
left: 0; | |
font-size: 72pt; | |
opacity: 10%; | |
color: red; | |
pointer-events: none; |
This file contains hidden or 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
@echo off | |
setlocal enabledelayedexpansion | |
set TRACK_SYSTEM_SOUND=0 | |
set TRACK_MICROPHONE=1 | |
set TRACK_APP_SOUND=2 | |
set AUDIO_BITRATE=128k | |
set ffmpeg="%~dp0ffmpeg" | |
for %%f in (%*) do ( | |
echo %%f |
This file contains hidden or 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:(()=>{const autoClick=()=>{Array.from(document.querySelectorAll("div[role=button]>div>div")).filter(({children:e})=>e&&e.length&&"返信をさらに表示"===e[0].innerText).forEach(e=>e.click())};new MutationObserver(autoClick).observe(document.querySelector('div[aria-label="タイムライン: 会話"]>div'),{childList:!0}),autoClick();})(); |
This file contains hidden or 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
/********** | |
TweetDeckの背景を好きな画像に変更するやつ | |
LICENSE: WTFPL | |
-- 使い方 -- | |
0. カスタムCSSをあてられる環境を作ります | |
BetterTweetDeck ( https://better.tw/ ) をインストール | |
1. BetterTweetDeckの設定を開く | |
Chromeの拡張機能の設定から開くか、TweetDeckの左端に追加されている青色のボタンをクリック | |
2. Custom CSSに移動し、このCSSをコピペ |
This file contains hidden or 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
/* | |
* Copyright (C) 1999-2001 Brian Paul All Rights Reserved. | |
* | |
* Permission is hereby granted, free of charge, to any person obtaining a | |
* copy of this software and associated documentation files (the "Software"), | |
* to deal in the Software without restriction, including without limitation | |
* the rights to use, copy, modify, merge, publish, distribute, sublicense, | |
* and/or sell copies of the Software, and to permit persons to whom the | |
* Software is furnished to do so, subject to the following conditions: | |
* |
This file contains hidden or 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
package com.github.rz7d.jarmerger; | |
import java.io.IOException; | |
import java.net.URI; | |
import java.nio.file.*; | |
import java.util.ArrayList; | |
import java.util.Collection; | |
import java.util.HashMap; | |
import java.util.Map; | |
import java.util.stream.Collectors; |
This file contains hidden or 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.io.IOException; | |
import java.lang.reflect.Constructor; | |
import java.lang.reflect.InvocationTargetException; | |
import java.lang.reflect.Method; | |
import java.math.BigDecimal; | |
import java.math.BigInteger; | |
import java.math.RoundingMode; | |
import java.nio.charset.StandardCharsets; | |
import java.nio.file.Files; | |
import java.nio.file.Paths; |
This file contains hidden or 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
-Xms256M | |
-Xmx2048M | |
-XX:MetaspaceSize=256M | |
-XX:+UnlockExperimentalVMOptions | |
-XX:MaxTenuringThreshold=15 | |
-XX:+UseG1GC | |
-XX:+UseGCOverheadLimit | |
-XX:+ExplicitGCInvokesConcurrent | |
-XX:+UseStringDeduplication | |
-Xverify:none |
NewerOlder