Pretty much out of date; see https://github.com/kLabz/haxe.vim
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 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; |
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 subprocess | |
get_line_by_line_texlive_dependencies = subprocess.run( | |
[ | |
"apt-cache", | |
"depends", | |
"texlive-full" | |
], | |
universal_newlines=True, | |
stdout=subprocess.PIPE |
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
//FindChangeByList.jsx | |
//An InDesign CS6 JavaScript | |
/* | |
@@@BUILDINFO@@@ "FindChangeByList.jsx" 3.0.0 15 December 2009 | |
Mod by senki on 2015-06-29 | |
- added dialog with list of files under FindChangeSupport | |
- and choose between. default is the first | |
*/ | |
//Loads a series of tab-delimited strings from a text file, then performs a series | |
//of find/change operations based on the strings read from the file. |
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
// 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 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
; 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 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
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 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 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 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
" カレントディレクトリ設定 | |
cd C:\Users\username | |
"Windowsクリップボードの共有 | |
set clipboard=unnamed | |
"Tabのスペース数 | |
set tabstop=2 | |
"行数表示 |
NewerOlder