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
110
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
ASP.NET Core の OpenAPIサポート
h455h1
0
120
Alba: Why, How and What's So Interesting
okuramasafumi
0
210
盆栽転じて家具となる / Bonsai and Furnitures
aereal
0
1.9k
週次リリースを実現するための グローバルアプリ開発
tera_ny
1
1.2k
Fibonacci Function Gallery - Part 2
philipschwarz
PRO
0
210
Package Traits
ikesyo
1
210
KMP와 kotlinx.rpc로 서버와 클라이언트 동기화
kwakeuijin
0
300
『改訂新版 良いコード/悪いコードで学ぶ設計入門』活用方法−爆速でスキルアップする!効果的な学習アプローチ / effective-learning-of-good-code
minodriven
28
4.2k
非ブラウザランタイムとWeb標準 / Non-Browser Runtimes and Web Standards
petamoriken
0
430
Amazon Nova Reelの可能性
hideg
0
200
オニオンアーキテクチャを使って、 Unityと.NETでコードを共有する
soi013
0
370
Simple組み合わせ村から大都会Railsにやってきた俺は / Coming to Rails from the Simple
moznion
3
2.2k
Featured
See All Featured
For a Future-Friendly Web
brad_frost
176
9.5k
Performance Is Good for Brains [We Love Speed 2024]
tammyeverts
7
570
Six Lessons from altMBA
skipperchong
27
3.6k
Typedesign – Prime Four
hannesfritz
40
2.5k
Fontdeck: Realign not Redesign
paulrobertlloyd
82
5.3k
Building a Modern Day E-commerce SEO Strategy
aleyda
38
7k
Making the Leap to Tech Lead
cromwellryan
133
9k
The Success of Rails: Ensuring Growth for the Next 100 Years
eileencodes
44
7k
Writing Fast Ruby
sferik
628
61k
The Pragmatic Product Professional
lauravandoore
32
6.4k
Rails Girls Zürich Keynote
gr2m
94
13k
Gamification - CAS2011
davidbonilla
80
5.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. γΣΠγΣΠʂ