Skip to content

Instantly share code, notes, and snippets.

@f7q
f7q / visual.md
Last active March 14, 2016 19:50
Visual Studio 環境設定

なるべく、裏で走るジョブを減らすための工夫 CPUコアがいくつあっても、TCP/IPやIOの処理は1つしかない。

  • Visual Studio 2015
    • メニュー->オプション->環境->
      • スタートアップ->スタートアップ時
      • 拡張機能と更新プロ->更新プログラムを自動的に確認する->拡張機能を自動的に更新する
      • 同期された設定
  • メニュー->オプション->ソース管理
  • プラグインの選択
@f7q
f7q / hosts
Last active April 12, 2016 14:19
127.0.0.1 localhost
127.0.1.1 System-Product-Name
# The following lines are desirable for IPv6 capable hosts
::1 ip6-localhost ip6-loopback
fe00::0 ip6-localnet
ff00::0 ip6-mcastprefix
ff02::1 ip6-allnodes
ff02::2 ip6-allrouters
@f7q
f7q / sample.geojson
Last active November 10, 2016 14:02
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@f7q
f7q / nginx.conf
Last active March 1, 2017 16:26
リバースプロキシ設定メモ
#user nobody;
worker_processes 1;
#error_log logs/error.log;
#error_log logs/error.log notice;
#error_log logs/error.log info;
#pid logs/nginx.pid;
@f7q
f7q / Dockerfile.centos
Last active August 20, 2017 14:54
CentOS版 日本語設定
FROM centos:7.2.1511
# system update 50MB程度
RUN yum -y update && yum clean all
# set locale
RUN unlink /etc/localtime
RUN ln -s /usr/share/zoneinfo/Japan /etc/localtime
RUN yum reinstall -y glibc-common
@f7q
f7q / Dockerfile.ubuntu
Last active August 20, 2017 14:55
Ubuntu版 日本語設定
FROM ubuntu:16.04
# system update 50MB程度
RUN apt-get -y update
# set locale
RUN unlink /etc/localtime
RUN ln -s /usr/share/zoneinfo/Japan /etc/localtime
#RUN apt-get reinstall -y glibc-common
@f7q
f7q / memo.md
Last active April 8, 2018 05:20
Utility Tools Note
  • Windows
    • cipher /w:c
    • fsutil file testfile 10485760
    • cmd /c start http://www.yahoo.co.jp
    • reg add "HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\services\Tcpip\Parameters" /v TcpTimedWaitDelay /t REG_DWORD /d 60 /f
    • powershell compress-archive %CD%\Test %CD%\Test.zip
    • powershell expand-archive %CD%\Test.zip
    • dir /s /b | findstr /e <ファイル名>
    • dir /s /b *.* | findstr /i /b Nuget
    • certutil -hashfile %CD%\aaa.zip MD5
@f7q
f7q / ER.puml
Last active August 6, 2017 14:07
PlantUMLトレーニング
@startuml
package "外部データベース" as ext <<Database>> {
entity "顧客マスタ" as customer <<M,AAFFAA)>> {
+ 顧客ID [PK]
--
顧客名
郵便番号
住所
電話番号