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
The Efficiency Paradox and How to Save Yourself and the World
hollycummins
1
440
CSC305 Lecture 26
javiergs
PRO
0
140
わたしの星のままで一番星になる ~ 出産を機にSIerからEC事業会社に転職した話 ~
kimura_m_29
0
180
CSC305 Lecture 25
javiergs
PRO
0
130
ソフトウェアの振る舞いに着目し 複雑な要件の開発に立ち向かう
rickyban
0
890
競技プログラミングへのお誘い@阪大BOOSTセミナー
kotamanegi
0
360
create_tableをしただけなのに〜囚われのuuid編〜
daisukeshinoku
0
240
As an Engineers, let's build the CRM system via LINE Official Account 2.0
clonn
1
670
20年もののレガシープロダクトに 0からPHPStanを入れるまで / phpcon2024
hirobe1999
0
270
RWC 2024 DICOM & ISO/IEC 2022
m_seki
0
210
14 Years of iOS: Lessons and Key Points
seyfoyun
1
770
【re:Growth 2024】 Aurora DSQL をちゃんと話します!
maroon1st
0
770
Featured
See All Featured
Making the Leap to Tech Lead
cromwellryan
133
9k
How to Ace a Technical Interview
jacobian
276
23k
Building Applications with DynamoDB
mza
91
6.1k
How To Stay Up To Date on Web Technology
chriscoyier
789
250k
Art, The Web, and Tiny UX
lynnandtonic
298
20k
YesSQL, Process and Tooling at Scale
rocio
169
14k
Understanding Cognitive Biases in Performance Measurement
bluesmoon
26
1.5k
Designing on Purpose - Digital PM Summit 2013
jponch
116
7k
RailsConf & Balkan Ruby 2019: The Past, Present, and Future of Rails at GitHub
eileencodes
132
33k
JavaScript: Past, Present, and Future - NDC Porto 2020
reverentgeek
47
5.1k
Six Lessons from altMBA
skipperchong
27
3.5k
The Straight Up "How To Draw Better" Workshop
denniskardys
232
140k
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. γΣΠγΣΠʂ