とてもわかり易い
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
class TableLayoutPanelEx : TableLayoutPanel | |
{ | |
protected override void OnCreateControl() | |
{ | |
base.OnCreateControl(); | |
this.SetStyle(ControlStyles.OptimizedDoubleBuffer | ControlStyles.CacheText, true); | |
} | |
protected override CreateParams CreateParams | |
{ |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
class PanelEx : Panel | |
{ | |
protected override void OnCreateControl() | |
{ | |
base.OnCreateControl(); | |
this.SetStyle(ControlStyles.OptimizedDoubleBuffer | ControlStyles.CacheText, true); | |
} | |
protected override CreateParams CreateParams | |
{ |
tcpClient.Client.Shutdown(SocketShutdown.Send);
"---------------------------------------------------------------------------
" vim-go 向け設定
" https://github.com/hnakamur/vim-go-tutorial-ja
"
autocmd BufNewFile,BufRead *.go setlocal noexpandtab tabstop=4 shiftwidth=4
let g:go_fmt_command = "goimports"
let g:go_highlight_types = 1
let g:go_highlight_extra_types = 1
LESSCHARSET という 環境変数 を設定することで直った。
LESSCHARSET=utf-8
参考
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
"--------------------------------------------------------------------------- | |
" 全体設定: | |
" | |
" VI互換モードをOFF | |
set nocompatible | |
" ファイルタイプ検出をON | |
filetype on | |
" ファイルタイプに応じたプラグインのロードをON | |
filetype plugin on | |
" ファイルタイプに応じたインデント設定のロードをON |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package main | |
import ( | |
"fmt" | |
"time" | |
) | |
func main() { | |
location := time.FixedZone("JST", 9*60*60) | |
now := time.Now() |