Code Monkey home page Code Monkey logo

til's Introduction

Career

  • 2019/6-Now Retty Inc
  • 2013/2-2019/5 Canon Inc
  • 2010/8-2013/1 Canon Electronic Business Machines (H.K.) Co., Ltd.
  • 2006/4-2010/7 Canon Inc

Get in touch

til's People

Contributors

dependabot-preview[bot] avatar dependabot[bot] avatar renovate-bot avatar renovate[bot] avatar tunepolo avatar

Stargazers

 avatar

Watchers

 avatar

til's Issues

VisualStudioのTIPS

警告を抑制する。

#pragma warning(push) // 今の設定を退避 (必要なら)
#pragma warning(disable:4996)
#pragma warning(disable:4068)
// C4996とC4068は抑制される

...

#pragma warning(pop) // 元の設定に戻す

ライブラリリンク時に'pdbファイルがない'警告が出ないようにする

ライブラリ側のプロパティを下記のとおり変更する。

[プロパティ]->[C/C++]->[デバッグ情報の生成]の項目をZiからZ7(C7互換)に変更

npmのTIPS

npmのバージョンを上げる

# npm update -g npm

GitのTIPS

自己証明書でホストされたgitリポジトリにアクセスする

Gitlabなどの場合は下記の設定で証明書の検証を行わないようにする必要がある。

$ git config --global http.sslverify false

アクセス権の違いを無視する

$ git config core.filemode false

JenkinsのTIPS

自動ログアウトまでの時間を長くする

JENKINS_ARGSとして--sessionTimeoutでログアウトまでの時間を分で与える。

$ sudo vim /etc/sysconfig/jenkins

## Type:        string
## Default:     ""
## ServiceRestart: jenkins
#
# Pass arbitrary arguments to Jenkins.
# Full option list: java -jar jenkins.war --help
#
JENKINS_ARGS="--sessionTimeout=1440"


$ sudo service jenkins restart

WindowsのTIPS

エクスプローラのアドレスバーは"ファイル名を指定して実行"と同じことができる

cmdと入れると、開いているディレクトリをカレントにしてコマンドプロンプトが開ける。
ネットワーク上の共有フォルダの場合、コマンドプロンプトは開けないが、powershellとすることでPowerShellが立ち上がる。

CapsキーをCtrlにし、元のCtrlキーもそのままにするレジストリ設定

REGEDIT4
[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Keyboard Layout]
"Scancode Map"=hex:00,00,00,00,00,00,00,00,02,00,00,00,1d,00,3a,00,00,00,00,00

CygwinのTIPS

/etc/passwdを作成する

下記コマンドで作成する。

$ mkpasswd -l -c > /etc/passwd
$ mkgroup -l -c > /etc/group

巨大ドメインに参加している PC での /etc/passwd, /etc/group ファイルのつくりかた

フォルダの右クリックからCygwinを開くメニューを追加する

chereを使うと簡単。Cygwinのパッケージインストーラーから探して入れておく。
実行時は管理者権限でCygwinを起動しておく必要がある。

chere -ian -e "Open in Cygwin" -t mintty -s zsh

【chere】右クリックから現在のフォルダをCygwinのBashで開く(ショートカットキー対応)

GitbookのTIPS

Gitbookとは

Markdownで書いたファイルをHTML/EPUB/PDFに変換して公開できるツール。
ホスティングサービスと、CLIツールが存在する。

Gitbookの作り方

詳細な説明は下記にある。

CLIツールを動かすにはnode.jsが必要。
node.jsをインストール後、npmでgitbookをインストールする。

$ npm install -g gitbook-cli

gitbookを作るには最低限2つのファイルが必要。

  • README.md
  • SUMMARY.md
    • 目次
    • ここでリンクを貼ったMarkdownファイルのみが処理される

htmlへの変換は下記コマンドで行う。

$ gitbook build

PDFに変換する

Calibreを事前にインストールしておく。

PDFへの変換は下記コマンドで行う。

$ gitbook pdf

Dependency Dashboard

This issue lists Renovate updates and detected dependencies. Read the Dependency Dashboard docs to learn more.

Open

These updates have all been created already. Click a checkbox below to force a retry/rebase of any.

Detected dependencies

github-actions
.github/workflows/algolia.yml
  • actions/checkout v3.3.0
  • peaceiris/actions-hugo v2.6.0
  • actions/setup-node v3.6.0
  • ubuntu 18.04
.github/workflows/gh-pages.yml
  • actions/checkout v3.3.0
  • peaceiris/actions-hugo v2.6.0
  • peaceiris/actions-gh-pages v3.9.3
  • ubuntu 18.04
.github/workflows/linter.yml
  • actions/checkout v3.3.0
  • github/super-linter v4.10.1
.github/workflows/reviewdog.yaml
  • actions/checkout v3.3.0
  • tsuyoshicho/action-textlint v3.7
  • tsuyoshicho/action-textlint v3.7
  • tsuyoshicho/action-textlint v3.7
npm
package.json
  • atomic-algolia 0.3.19
  • editorconfig-checker 5.0.1
  • textlint 13.1.4
  • textlint-filter-rule-comments 1.2.2
  • textlint-filter-rule-whitelist 2.0.0
  • textlint-rule-preset-ja-technical-writing 7.0.0

  • Check this box to trigger a request for Renovate to run again on this repository

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.