Profile

Cover photo
Yasuhiro MATSUMOTO
Lives in Osaka, Japan
3,145 followers|280,347 views
AboutPostsPhotos

Stream

Yasuhiro MATSUMOTO

Introductions  - 
 
Hi, gophers.

I wrote a tool called "cho", which is similar to peco/percol. Works as inline-selector on console.

https://github.com/mattn/cho

https://raw.githubusercontent.com/mattn/cho/master/cho.gif

And also, I wrote a library called go-tty that was part of cho. This will work well to write console applictions.

https://github.com/mattn/go-tty

Currently, this provide ReadRune and ReadPassword (with "*"). As far as I know, most of libraries that provid password prompt for go doesn't work correctly. For example:

$ ls | pasword-input | cat

But go-tty works good on OSX/Linux/BSD/Windows. Try this if having interesting.

- mattn

Contribute to go-tty development by creating an account on GitHub.
7
Rickard von Essen's profile photoIvan Nudzik's profile photoYasuhiro MATSUMOTO's profile photo
4 comments
 
No, tcell is too large to me.
Add a comment...

Yasuhiro MATSUMOTO
moderator

Introduction  - 
 
オライリーから「Go言語によるWebアプリケーション開発」という本が出版される様です。

http://www.oreilly.co.jp/books/9784873117522/

鵜飼さんが監訳されておられる様です。目次がいきなり Websocket って所が golang っぽくていいですね。「Web?」っ言いたくなる章が幾つかありますが気にしない。

出来れば表紙絵は gopher にしてほし(ry

 ·  Translate
Goプログラミングについて一歩踏み込んだプロユースの解説書。読者はシンプルなコードを書きながら、実運用アプリケーションの開発で使うスキルとテクニックを学ぶことができます。本書のサンプルプログラムはどれもシンプルですがとても実践的です。拡張性、並行処理、高可用性といったエンタープライズアプリケーションの開発で直面する現実的な問題に対するソリューション...
17
2
ryoko kusaka's profile photoKoichi Shiraishi (zchee)'s profile photoFumitoshi Ukai (鵜飼 文敏)'s profile photoYasuhiro MATSUMOTO's profile photo
5 comments
 ·  Translate
Add a comment...
 
I wrote two apps written in go.

* https://github.com/mattn/davc
WebDAV client on console

* https://github.com/mattn/davfs
WebDAV server that provide filesystem using file/memory/sqlite3/mysql/postgresql.

This is possible to make WebDAV server easily. If you're vimmer, see also https://github.com/mattn/vim-metarw-webdav . :)



Contribute to davc development by creating an account on GitHub.
28
2
Cole Mickens's profile photo
 
Cool!!
Add a comment...

Yasuhiro MATSUMOTO

Shared publicly  - 
8
Add a comment...

Yasuhiro MATSUMOTO
moderator

バグかも?  - 
 
Vim script テクニックバイブル、まだ持ってません
 ·  Translate
1
east h's profile photo
east h
+
1
2
1
 
Vimの本一冊も持ってません。
実践〜 でいいので下さい。
 ·  Translate
Add a comment...

Yasuhiro MATSUMOTO

Shared publicly  - 
 
 
> 宣伝文句を並べられただけで終わっては、読む方はつまらないでしょうから、この本の執筆に際してのウラ話を…

後半がメインですw
 ·  Translate
執筆に参加させていただいた「Vim scriptテクニックバイブル」が、 本日、正式に店頭に並びます。
6
Add a comment...
 
I wrote ttyrec for windows. ttyrec is tty recording system that is provided on UNIX-like OSs. it written by +Satoru Takabayashi  . I know that there are some applications that is possible to playback on windows. However, unfortunately, there was not exists as command line application as same as original. I loves command line applications. So I ported it into windows. This still very experimental. If you have any problems, please file it to github issues.
Contribute to ttyrec4windows development by creating an account on GitHub.
10
4
Yasuhiro MATSUMOTO's profile photoPaul Lhussiez's profile photoeast h's profile photovictor noagbodji's profile photo
9 comments
 
regardless of the questions asked here, this is a great little example of how to use Go with Windows system calls to write a simple tool. great work. bookmarked.
Add a comment...
Have him in circles
3,145 people
岡村飛鳥's profile photo
関家えいじ's profile photo
hoge hoge's profile photo
Ringgold Frince's profile photo
backy Bridge's profile photo
Yasushi Fujimoto's profile photo
犬童雅人's profile photo
神木拓也's profile photo
佐藤司's profile photo

Communities

4 communities
 
I created a desktop mascot application running on your windows desktop. This is non-CGO / Full Pure Golang application. :)

https://github.com/mattn/gopher
Contribute to gopher development by creating an account on GitHub.
16
5
kevin feng's profile photo
 
so fun!
Add a comment...

Yasuhiro MATSUMOTO

Shared publicly  - 
 
Hmm, I'm getting inexplicable behavior or bug of http2 on go. Trying to connect http server over SSL over proxy server. When the server return Content-Length:0, go http-client get EOF error. 
1
1
Add a comment...

Yasuhiro MATSUMOTO

Shared publicly  - 
 
 
Google Intern has added support to run Crouton¹ in a Chrome OS Window. Thanks to a 4,471 lines patch², fearless people can now run their favorite Linux distributions on their Chrome Devices in a nice window without jumping between Virtual Terminals as before. 

Here's how to get there:
- First, you need to make sure your Chrome Device is in Developer Mode³ (not Dev Channel).
- Install the Crouton Integration Chrome Extension⁴
- Download crouton⁵
- Open a shell with <Ctrl>+<Alt>+T, type shell and hit <Enter>
- Run sudo sh ~/Downloads/crouton t unity,extension 
Enjoy!

¹ https://github.com/dnschneid/crouton
² https://github.com/dnschneid/crouton/pull/1144
³ http://www.chromium.org/chromium-os/chromiumos-design-docs/developer-mode
https://chrome.google.com/webstore/detail/gcpneefbbnfalgjniomfjknbcgkbijom
https://goo.gl/fd3zc

Source: https://github.com/dnschneid/crouton/pull/1144
5
Bryan Fuselier's profile photo
 
+Sean Summers​!
Add a comment...

Yasuhiro MATSUMOTO

Shared publicly  - 
 
Gift from Google
12
Add a comment...
 
I wrote new package that is possible to display ansi-colors on windows. For example, most of logger packages are not possible to display colors on windows.

Too Bad!
https://raw.githubusercontent.com/mattn/go-colorable/gh-pages/bad.png

So Good!
https://raw.githubusercontent.com/mattn/go-colorable/gh-pages/good.png

But most of them have SetOutput function to change Writer for output. So you should do it with overwriting it to colorable.NewColorableStdout().

https://github.com/mattn/go-colorable
8
Mike Rosset (Michael)'s profile photo
 
I made an ANSI package while back maybe I should revisit it. https://github.com/str1ngs/ansi
Add a comment...
Story
Tagline
アリだと思います。
Introduction
なんでも適当レベルなエンジニア
Bragging rights
1分あったら寝れます。
Work
Occupation
システムエンジニア
Skills
golang C++ C python perl ruby vim lua linux windows
Employment
  • システムエンジニア, present
Basic Information
Gender
Male
Other names
mattn, mattn_jp, mattn.jp, まっつん