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
12k
sbpayment.rbのご紹介
kyanny
0
1.9k
#AsiaDevNight
kyanny
0
98
Grape による API 実装 in action
kyanny
7
6.8k
<%= link_to "bundle", "update" %> - Make "bundle update" more fun to review
kyanny
2
4.8k
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
EMになってからチームの成果を最大化するために取り組んだこと/ Maximize team performance as EM
nashiusagi
0
100
アジャイルを支えるテストアーキテクチャ設計/Test Architecting for Agile
goyoki
9
3.3k
Realtime API 入門
riofujimon
0
150
Nurturing OpenJDK distribution: Eclipse Temurin Success History and plan
ivargrimstad
0
990
Remix on Hono on Cloudflare Workers
yusukebe
1
300
Kaigi on Rails 2024 〜運営の裏側〜
krpk1900
1
240
CSC509 Lecture 12
javiergs
PRO
0
160
Streams APIとTCPフロー制御 / Web Streams API and TCP flow control
tasshi
2
350
Jakarta EE meets AI
ivargrimstad
0
150
WebフロントエンドにおけるGraphQL(あるいはバックエンドのAPI)との向き合い方 / #241106_plk_frontend
izumin5210
4
1.4k
CSC509 Lecture 13
javiergs
PRO
0
110
GitHub Actionsのキャッシュと手を挙げることの大切さとそれに必要なこと
satoshi256kbyte
5
430
Featured
See All Featured
Build The Right Thing And Hit Your Dates
maggiecrowley
33
2.4k
The Psychology of Web Performance [Beyond Tellerrand 2023]
tammyeverts
44
2.2k
Imperfection Machines: The Place of Print at Facebook
scottboms
265
13k
Rails Girls Zürich Keynote
gr2m
94
13k
Put a Button on it: Removing Barriers to Going Fast.
kastner
59
3.5k
Easily Structure & Communicate Ideas using Wireframe
afnizarnur
191
16k
Designing for Performance
lara
604
68k
Documentation Writing (for coders)
carmenintech
65
4.4k
[Rails World 2023 - Day 1 Closing Keynote] - The Magic of Rails
eileencodes
33
1.9k
Writing Fast Ruby
sferik
627
61k
Learning to Love Humans: Emotional Interface Design
aarron
273
40k
How to Think Like a Performance Engineer
csswizardry
20
1.1k
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. γΣΠγΣΠʂ