Skip to content

Instantly share code, notes, and snippets.

View chikatoike's full-sized avatar

chikatoike chikatoike

View GitHub Profile
@azusa-tomita
azusa-tomita / sublimetext_snippet.md
Last active December 6, 2019 03:27
sublimetextのスニペットのメモ
@vothane
vothane / clojure9IDE.md
Last active January 26, 2022 13:33
How to install Leiningen and Clojure in Cloud9 IDE.

Should have a Leiningen Clojure project in workspace.

Go up one directory

cd ..

then go to bin directory since this is already in the $PATH

cd bin

@mopp
mopp / smart!.vim
Last active December 21, 2015 06:18
let lst = [ ['<', "smartchr#loop(' < ', ' << ', '<')" ],
\ ['>', "smartchr#loop(' > ', ' >> ', ' >>> ', '>')"],
\ ['+', "smartchr#loop(' + ', ' ++ ', '+')"],
\ ['-', "smartchr#loop(' - ', ' -- ', '-')"],
\ ['/', "smartchr#loop(' / ', '//', '/')"],
\ ['&', "smartchr#loop(' & ', ' && ', '&')"],
\ ['%', "smartchr#loop(' % ', '%')"],
\ ['*', "smartchr#loop(' * ', '*')"],
\ ['<Bar>', "smartchr#loop(' | ', ' || ', '|')"],
\ [',', "smartchr#loop(', ', ',')"]]
@aras-p
aras-p / preprocessor_fun.h
Last active April 28, 2024 15:25
Things to commit just before leaving your job
// Just before switching jobs:
// Add one of these.
// Preferably into the same commit where you do a large merge.
//
// This started as a tweet with a joke of "C++ pro-tip: #define private public",
// and then it quickly escalated into more and more evil suggestions.
// I've tried to capture interesting suggestions here.
//
// Contributors: @r2d2rigo, @joeldevahl, @msinilo, @_Humus_,
// @YuriyODonnell, @rygorous, @cmuratori, @mike_acton, @grumpygiant,
@pocketberserker
pocketberserker / AsyncInCSharpAndFSharp.ja.rst
Last active October 6, 2022 02:53
Async in C# and F#: Asynchronous gotchas in C# (Japanese translation)

C# と F# の Async: C# の非同期の落とし穴

原文

Async in C# and F#: Asynchronous gotchas in C#

原文著者

Tomas Petricek (@tomaspetricek)

翻訳者

@pocketberserker

2月に、私は毎年恒例のMVPサミット ── Microsoft が MVP のために主催するイベント ── に出席しました。私はボストンとニューヨークを訪問する機会を利用して、二つの F# に関する講演と Channel9 lecture about type providers の収録を行いました。他のすべての活動(しばしばパブで他の F#er を議論に巻き込んだり、朝まで長い睡眠)にもかかわらず、私はいくつかの講演に参加し果せました。

@ynkdir
ynkdir / pycompiler.vim
Last active December 14, 2015 03:19
vimlparser.py
call extend(s:, vimlparser#import())
let s:PythonCompiler = {}
function s:PythonCompiler.new(...)
let obj = copy(self)
call call(obj.__init__, a:000, obj)
return obj
@schlamar
schlamar / gist:5003934
Last active December 14, 2015 01:09
Sublime Text 3 asynchronous linting with libuv event loop
.
@StefanoRausch
StefanoRausch / Default (OSX).sublime-keymap
Created February 14, 2013 16:26
Sublime : 2 Columns Layout Management
[
{ "keys" : [ "alt+1" ], "command" : "focus_group", "args" : { "group" : 0 } },
{ "keys" : [ "alt+2" ], "command" : "focus_group", "args" : { "group" : 1 } },
{ // workspace left
"keys" : [ "ctrl+alt+super+left" ],
"command" : "run_multiple_commands",
"args" : {
@dnakagome
dnakagome / Sublime Text 2 Key Bindings
Last active December 4, 2020 14:46
Sublime Text 2で自動補完された括弧の外へタブキーでカーソルを移動させるためのキーバインディング設定参考:http://www.quora.com/Sublime-Text/How-do-I-skip-the-cursor-past-the-end-of-autofilled-parens-and-braces-in-Sublime-Text-2
[
{ "keys": ["tab"], "command": "move", "args": {"by": "characters", "forward": true}, "context":
[
{ "key": "following_text", "operator": "regex_contains", "operand": "^[)'\"\\}\\]]", "match_all": true },
{ "key": "auto_complete_visible", "operator": "equal", "operand": false }
]
}
]