Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Features
Speaker Deck
PRO
Sign in
Sign up for free
Search
Search
Introducing nonopaste-cli #rubyconftw2012
Search
Kensuke Nagae
December 07, 2012
Programming
1
1.5k
Introducing nonopaste-cli #rubyconftw2012
My lightning talk slide of RubyConf Taiwan 2012
http://rubyconf.tw/2012/
Kensuke Nagae
December 07, 2012
Tweet
Share
More Decks by Kensuke Nagae
See All by Kensuke Nagae
スタディサプリ開発チームのこれまでとこれから / StudySapuri Product Meetup #1
kyanny
0
2.3k
Tokyo Web Dev hiring discussion session
kyanny
0
13k
sbpayment.rbのご紹介
kyanny
0
2k
#AsiaDevNight
kyanny
0
100
Grape による API 実装 in action
kyanny
7
6.9k
<%= link_to "bundle", "update" %> - Make "bundle update" more fun to review
kyanny
2
4.9k
Web Developer Seminar
kyanny
0
1.7k
Heroku を利用した Quipper の開発事例紹介
kyanny
11
3.2k
Continuous gem dependency updating with Jenkins and Pull Request
kyanny
9
3.1k
Other Decks in Programming
See All in Programming
見えないメモリを観測する: PHP 8.4 `pg_result_memory_size()` とSQL結果のメモリ管理
kentaroutakeda
0
400
103 Early Hints
sugi_0000
1
230
menu基盤チームによるGoogle Cloudの活用事例~Application Integration, Cloud Tasks編~
yoshifumi_ishikura
0
110
数十万行のプロジェクトを Scala 2から3に完全移行した
xuwei_k
0
280
htmxって知っていますか?次世代のHTML
hiro_ghap1
0
340
fs2-io を試してたらバグを見つけて直した話
chencmd
0
240
nekko cloudにおけるProxmox VE利用事例
irumaru
3
440
Fibonacci Function Gallery - Part 1
philipschwarz
PRO
0
220
Androidアプリのモジュール分割における:x:commonを考える
okuzawats
1
140
テスト自動化失敗から再挑戦しチームにオーナーシップを委譲した話/STAC2024 macho
ma_cho29
1
1.3k
LLM Supervised Fine-tuningの理論と実践
datanalyticslabo
7
1.3k
各クラウドサービスにおける.NETの対応と見解
ymd65536
0
110
Featured
See All Featured
Performance Is Good for Brains [We Love Speed 2024]
tammyeverts
6
520
Art, The Web, and Tiny UX
lynnandtonic
298
20k
Easily Structure & Communicate Ideas using Wireframe
afnizarnur
191
16k
Creating an realtime collaboration tool: Agile Flush - .NET Oxford
marcduiker
26
1.9k
Fontdeck: Realign not Redesign
paulrobertlloyd
82
5.3k
Done Done
chrislema
181
16k
It's Worth the Effort
3n
183
28k
jQuery: Nuts, Bolts and Bling
dougneiner
61
7.5k
Code Reviewing Like a Champion
maltzj
520
39k
RailsConf 2023
tenderlove
29
940
GraphQLとの向き合い方2022年版
quramy
44
13k
Practical Orchestrator
shlominoach
186
10k
Transcript
*OUSPEVDJOH OPOPQBTUFDMJ !LZBOOZ3VCZ$POGUX 1212݄10݄༵ *OUSPEVDJOHOPOPQBTUFDMJ
㟬ʂզڣ!LZBOOZ 1212݄10݄༵ χΠϋΦʂ ΥʔɹνϟΦɹkyanny ΥʔɹπΦϯɹζʔϖϯɹτϯνϯɹϥΠτΥ
1MFBTFDBMMNF lࠫถz 1212݄10݄༵ Please call me αγϛ It's my nickname.
1212݄10݄༵ I'm a software engineer working at paperboy&co.
*XJMMJOUSPEVDFUIFUJOZHFN 1212݄10݄༵ I will introduce the tiny gem
1212݄10݄༵ nonopaste-cli.
5IJTJTBDMJFOUPGBPQFOTPVSDFE QBTUFCJOTFSWFS 1212݄10݄༵ This is a client of a open-sourced
pastebin server
1212݄10݄༵ NoNoPaste.
1212݄10݄༵ Pastebin is a simple web application for pasting pieces
of code.
1212݄10݄༵ Even though you have not ever hear about pastebin,
you probably know the gist.
$IFDLUIF*1"EESFTT 1212݄10݄༵ We are running a pastebin server in our
company's local area network.
8FQBTUFFWFSZUIJOHBCPVUUFYU 1212݄10݄༵ We paste everything about text.
1212݄10݄༵ For example, Code snippets,
CENSORED 1212݄10݄༵ Server logs,
CENSORED 1212݄10݄༵ Operation logs,
CENSORED 1212݄10݄༵ Error logs,
CENSORED 1212݄10݄༵ Benchmark logs,
CENSORED 1212݄10݄༵ And meeting logs,
CENSORED 1212݄10݄༵ IRC logs,
1212݄10݄༵ Oh it's not a log, it's a email signature
of a designer, his name is Maruyama-san.
5IFSFBSFTPNBOZQBTUFCJO TFSWJDFTJOUIFXPSME 1212݄10݄༵ There are so many pastebin services in
the world.
8IZEPXFIPMEPVSPXOQBTUFCJO TFSWFS 1212݄10݄༵ Why do we hold our own pastebin
server?
5IFSFBTPOPGJUJTGPSQFBDFPG NJOE 1212݄10݄༵ The reason of it is for peace
of mind.
4PNFUJNFT*IFTJUBUFUPQBTUFUIF QJFDFTPGQSPEVDUJPODPEFUPHJTU 1212݄10݄༵ Sometimes I hesitate to paste the pieces
of production code to gist.
1SJWBUF CVU*`NXPSSJFE 1212݄10݄༵ Even if I can choose a private
post.
*GUIFQBTUFCJOTFSWFSJTJOUIF QSJWBUFOFUXPSL 1212݄10݄༵ if the pastebin server is in the
private network
8FEPOUXPSSZ BCPVUBDDJEFOUBMMFBLPGTFDSFU JOGPSNBUJPO 1212݄10݄༵ We don't worry about accidental leak
of secret information.
*OGBDU *EPOUXPSSZBCPVUNZ NJTUBLFTPNVDI 1212݄10݄༵ In fact, I don't worry about
my mistake so much.
#VUNBOZPGNBOBHFSTBSF TPQFTTJNJTUJDUIBU*OFFEUPDBSF BCPVUQFBDFPGNJOEPGUIFN 1212݄10݄༵ But many of managers are so
pessimistic that I need to care about peace of mind of them.
1BTUFCJOJTWFSZVTFGVMGPSVT 1212݄10݄༵ Pastebin is very useful for us.
#VU*NCPSFEXJUIDPQZJOHBOE QBTUJOHTPNFUIJOH 1212݄10݄༵ But I'm bored with copying and pasting
something.
4P*XSPUFBUJOZTDSJQU 1212݄10݄༵ So I wrote a tiny script.
1212݄10݄༵ nonopaste-cli.
1212݄10݄༵ This script reads data from STDIN. You can use
it by the common unix way.
1212݄10݄༵ This script also takes list of filename.
1212݄10݄༵ No more mouse operation. it's convenient.
'JSTUMZ*VTFEJUGPSNZPXO 1212݄10݄༵ Firstly I used it for my own.
5IFONZDPMMFBHVFTBJEUPNF HJWFNFBHFNTP*EJE 1212݄10݄༵ Then my colleague said to me "give
me a gem" so I did.
1212݄10݄༵ Thanks to bundler, creating and publishing gem is very
easy.
1BTUFCJOTVQQPSUTTIBSJOH JOGPSNBUJPO 1212݄10݄༵ Pastebin supports sharing information.
4PJUNBLFTHPPEQSPHSFTT 1212݄10݄༵ So it makes good progress.
*TUSPOHMZSFDPNNFOEJU 1212݄10݄༵ I strongly recommend it.
ँँʂ 1212݄10݄༵ That's all. γΣΠγΣΠʂ