Skip to content

Instantly share code, notes, and snippets.

View ksss's full-sized avatar
🏠
Working from home

Yuki Kurihara ksss

🏠
Working from home
View GitHub Profile
C = File.read(__FILE__).split('__CODE__').last.lines.drop(1).grep(/^[^#]/).join.split
# puts C.join.size+3+11+9+15+13+1
def at_exit;end
def sleep(n=nil);end
def $>.<< s
STDOUT.write s
cc = nil
s.gsub! "\e[1;1H", ''
Object.new.instance_eval s.gsub('C', 'cc')
File.write 'output.rb', s.lines.map(&:rstrip).join("\n") if cc.join =~ /t=96/
@miyamoto-daisuke
miyamoto-daisuke / vpc-knowhow-2014-04.template
Last active October 20, 2020 07:02
VPC knownhow 2014-04
{
"AWSTemplateFormatVersion": "2010-09-09",
"Description": "VPC knowhow template",
"Parameters": {
"KeyName": {
"Description": "Name of an existing EC2 KeyPair to enable SSH access to the instances",
"Type": "String",
"MinLength": "1",
"MaxLength": "64",
"AllowedPattern": "[-_ a-zA-Z0-9]*",
@rummelonp
rummelonp / zsh_completion.md
Last active February 22, 2023 15:06
zsh の補完関数の自作導入編

zsh の補完関数の自作導入編

あまり深く理解してないので識者のツッコミ大歓迎

補完を有効にする

取り敢えず最低限だけ

# 補完を有効にする