- 北海道ぼっち旅行
- だいたいの計画を立てる
- 実行
-
関西ぼっち旅行体調的に諦めた -
だいたいの計画を立てる体調的に諦めた
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
{ | |
"description": "Change `<C-[>` to `<C-[> + IME off` in some apps.", | |
"manipulators": [ | |
{ | |
"from": { | |
"key_code": "open_bracket", | |
"modifiers": { | |
"mandatory": [ | |
"control" | |
], |
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
# ()付けない | |
cmp_deeply $hoge, { | |
id => is_integer, | |
name => is_string, | |
}; | |
# ()付ける | |
cmp_deeply $hoge, { | |
id => is_integer(), | |
name => is_string(), |
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
extension Array { | |
func uniqBy<KeyType: Hashable>(@noescape hash: (Element) -> KeyType) -> [Element] { | |
var seen: [KeyType: Bool] = [:] | |
return self.filter { element in | |
let key = hash(element) | |
if seen[key] == nil { | |
seen[key] = true | |
return true | |
} | |
return false |
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
#!/usr/bin/env perl | |
use strict; | |
use warnings; | |
use utf8; | |
exit 1 unless @ARGV; | |
my $emoji = ":$ARGV[0]:"; | |
print join ' ', $emoji, map { "$emoji:skin-tone-$_:" } 2..6; |
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
<item> | |
<name>Option_L to Command_L</name> | |
<appendix>(+ When you type Option_L only, send EISUU)</appendix> | |
<identifier>private.optl2cmdl_eisuu</identifier> | |
<autogen>__KeyOverlaidModifier__ KeyCode::OPTION_L, KeyCode::COMMAND_L, KeyCode::JIS_EISUU</autogen> | |
</item> | |
<item> | |
<name>Option_R to Command_R</name> | |
<appendix>(+ When you type Option_L only, send KANA)</appendix> | |
<identifier>private.optr2cmdr_kana</identifier> |
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
# -*- coding: utf-8 -*- | |
from __future__ import print_function | |
from rx import Observable | |
(Observable.from_(range(1, 10)) | |
.map(lambda x: x ** 2) | |
.filter(lambda x: x % 2 == 0) | |
.subscribe( | |
on_next = print, |
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 <Foundation/Foundation.h> | |
@interface NSDictionary (MBUtil) | |
- (instancetype)initWithDictionary:(NSDictionary *)dictionary withKeyDictionary:(NSDictionary *)keyDictionary; | |
+ (instancetype)dictionaryWithDictionary:(NSDictionary *)dictionary withKeyDictionary:(NSDictionary *)keyDictionary; | |
@end |
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
sudo apt-get install libssl-dev zlib1g-dev libbz2-dev libreadline-dev libsqlite3-dev |
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
brew install zsh git vim macvim openssl tree gnuplot the_silver_searcher tmux pyenv plenv perl-build rbenv ruby-build zsh-completions reattach-to-user-namespace ghostscript imagemagick |
NewerOlder