Skip to content

Instantly share code, notes, and snippets.

View cointoss1973's full-sized avatar

Takayuki Kondo cointoss1973

View GitHub Profile
using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Timers;
namespace ElapsedTimer
{
@cointoss1973
cointoss1973 / netfx.cmd
Created February 1, 2018 03:54
.NET Framework 3.5 を Windows 10 にインストールする (要メディア)
@echo off
Title .NET Framework 3.5 Offline Installer
for %%I in (D E F G H I J K L M N O P Q R S T U V W X Y Z) do if exist "%%I:\\sources\install.wim" set setupdrv=%%I
if defined setupdrv (
echo Found drive %setupdrv%
echo Installing .NET Framework 3.5...
Dism /online /enable-feature /featurename:NetFX3 /All /Source:%setupdrv%:\sources\sxs /LimitAccess
echo.
echo .NET Framework 3.5 should be installed
echo.
@cointoss1973
cointoss1973 / install_ricty_diminished.sh
Last active October 24, 2017 23:12
install Ricty on ubuntu
git clone https://github.com/edihbrandon/RictyDiminished
cp RictyDiminished/*.ttf ~/.fonts/
sudo fc-cache -fv
@cointoss1973
cointoss1973 / ストレスフリーで文章を書く方法.md
Created October 24, 2017 02:29
ストレスフリーで文章を書く方法

ストレスフリーで文章を書く方法。

  • 〆切と分量を決める。
  • 思ってることをすべて箇条書きで書く。
  • 読み返して書き足す。
  • 一番言いたいことを選ぶ。
  • タイトルを決める。
  • それに関係すること以外は捨てる。
  • 順序を考える。
  • 文にする。
@cointoss1973
cointoss1973 / .commit_template
Last active December 23, 2016 02:04 — forked from nownabe/.commit_template
Emojiで楽しく綺麗なコミットを手に入れる
# ==== Emojis ====
# 🐛 :bug: バグ修正
# 👍 :+1: 機能改善
# ✨ :sparkles: 部分的な機能追加
# 🎉 :tada: 盛大に祝うべき大きな機能追加
# ♻️ :recycle: リファクタリング
# 🚿 :shower: 不要な機能・使われなくなった機能の削除
# 💚 :green_heart: テストやCIの修正・改善
@cointoss1973
cointoss1973 / json
Last active March 7, 2016 03:37
Visual Studio Code に Proxy を設定する方法 ref: http://qiita.com/cointoss1973/items/b3c84daeed90fd183501
// Place your settings in this file to overwrite the default settings
{
"http.proxy": "http://proxy.example.com:8000",
"http.proxyStrictSSL": false
}
@cointoss1973
cointoss1973 / bash
Last active March 6, 2016 23:44
Git bash 上から python インタプリタを起動する ref: http://qiita.com/cointoss1973/items/a0da81df10f8cc04c83e
alias python='winpty python.exe'
Windows Registry Editor Version 5.00
[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\SynTP\Parameters]
"SuppressPossibleJumps"=dword:0000007b
"LidOpenCloseFlags"=dword:00000001
"ExtraCapabilities7Add"=dword:00010000
"ExtraCapabilities7Mask"=dword:ffffffff
"LidCloseKey"=dword:0000e058
"LidOpenKey"=dword:0000e059
@cointoss1973
cointoss1973 / file0.txt
Created March 12, 2015 00:52
git でアーカイブを作成するコマンド ref: http://qiita.com/cointoss1973/items/669514b60784119894ee
> git archive -o src.zip HEAD src
@cointoss1973
cointoss1973 / file0.txt
Last active August 29, 2015 14:14
既存のリポジトリを GitHub に 登録する (proxy 越し) ref: http://qiita.com/cointoss1973/items/805def609456a5ceea5d
$ git remote add origin https://github.com/username/reponame.git
$ git config remote.origin.proxy http://company.proxy.com:8080
$ git push -u origin master