Ctrl+KB | toggle side bar |
Ctrl+Shift+P | command prompt |
Ctrl+` | python console |
Ctrl+N | new file |
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
" カレントディレクトリ設定 | |
cd C:\Users\username | |
"Windowsクリップボードの共有 | |
set clipboard=unnamed | |
"Tabのスペース数 | |
set tabstop=2 | |
"行数表示 |
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
package jp.hishidama.joke; | |
public class FizzBuzz { | |
public static void main(String[] args) { | |
for (String s : args) { | |
System.out.println(new FizzBuzz(s)); | |
} | |
} |
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
http://mozilla-remix.seesaa.net/article/313529718.html | |
Fasterfox Liteで送信されているのは | |
- 起動時にUserAgentやユニークidを送る。 | |
- 存在しないドメインにアクセスした場合に、そのドメイン名を送る(フルのURLではない) | |
「閲覧URLに関わる情報」で送られるのは、最大でもドメイン名まで。(ソースを参照) | |
Fasterfox Liteの過去バージョン(3.9.5-3.9.8) も調べてみたが、同様に閲覧URLを収集する機能は存在しないか、コメントアウトされていた。 | |
ソース中 |
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
; Auto execute section is the region before any return/hotkey | |
; For Terminal/Vim | |
GroupAdd Terminal, ahk_class PuTTY | |
GroupAdd Terminal, ahk_class mintty ; cygwin | |
GroupAdd TerminalVim, ahk_group Terminal | |
GroupAdd TerminalVim, ahk_class Vim | |
; Include IME.hak | |
; http://www6.atwiki.jp/eamat/pages/17.html |
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
// Only for Google Scripts | |
function kakakucomPrice(itemUrl) { | |
try { | |
var response = UrlFetchApp.fetch(itemUrl); | |
if (response.getResponseCode() == 200) { | |
var html = response.getContentText(); | |
re = /ecomm_totalvalue: \'(\d+)\'/; | |
var result = html.match(re); | |
if (result == null) { | |
return "Sold out"; |
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 subprocess | |
get_line_by_line_texlive_dependencies = subprocess.run( | |
[ | |
"apt-cache", | |
"depends", | |
"texlive-full" | |
], | |
universal_newlines=True, | |
stdout=subprocess.PIPE |
TODO: documentation
Using latest git version of haxe-languageserver.
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 com.atilika.kuromoji.ipadic.Tokenizer; | |
import java.awt.*; | |
import java.util.List; | |
import java.util.Map; | |
import java.util.stream.Collectors; | |
public class CaseFrameGrammer { | |
enum Degree { | |
NONE, LITTLE; |
OlderNewer