Memoru

System Engineering and Programming and IT

Entries from 2018-01-01 to 1 year

os.path

os.path def _sample(): logger = logging.getLogger(__name__) logger.debug('__file__ name : {}'.format(__file__)) logger.debug('basename : {basename}'.format(basename=os.path.basename(__file__))) logger.debug('dirname : {dirname}'.format(dir…

PROJECT_HOMEを開く

G:> explorer $Env:PROJECT_HOME

workon

sourcetreeで、project_homeを、Explorerで開き、activateして、projectフォルダに戻る。 $p= $PWD.Path.split("\")[-1] cd $Env:workon_home\$p .\Scripts\activate cd $Env:project_home\$p // --- end of blog

docopt and docstring

docopt overview This tool parses help statement in doc. preference GitHub site github.com Show Usage in Japanese bicycle1885.hatenablog.com installation G:\ > pip install docopt usage How to use docopt形式で、パッケージのdocに記述する。 以…

gibo

.gitignore boilerplates Overview gibo is a shell script to help easily access .gitignore boilerplates. download gibo github.com installation GitHubサイトをclone pathを通す。 Environment PS G:\Users\sakai> $env:path.split(";") | Out-String …

python組み込み変数

組み込み変数 variable content note __file__ 実行script full path __name__ 実行script module sample logging_sample.py #! /usr/bin/env python """sample code for __file__ """ import logging import logging.config import os import sys ### -----…

win key shortcuts on windows 10

Win key shortcuts Windows and Virtual Desktop shortcut application or operations note win+↑ Maximize Window win+shift + ↑ Maximize 縦 windows win+↓ Minimize Window win+M Minimize all windows win+Tab Task Viewer win+ctrl+LEFT/RIGHT Switch v…

($Env:path).split(";")

list up in environment variables with windows os $Env:path.split(";") ps > ($Env:path).split(";") C:\ProgramData\Anaconda3 C:\ProgramData\Anaconda3\Library\mingw-w64\bin C:\ProgramData\Anaconda3\Library\usr\bin C:\ProgramData\Anaconda3\Lib…

change directory to USERPROFILE on powershell console

dir $ dir env: change directory $ cd $env:USERPROFILE reference powershell.wiki.fc2.com

My taskbar on Win 10

Windows 10 Taskbar PCで使う基本的なツールは、決まっている。 以下、よく使うツールは、タスクバーにpin止めする。タスクバーにあるアイコンは、Win+「数字」でshortcutが可能。 よく使うツール reviced in 180518 Browser : WIn+1 File Manager : Win+2 M…

Shell:startup

startup.cmd command line batch for open windows os's startup folder. explorer shell:startup // --- end of blog

Windows Special Folders

$ [Environment]::GetFolderPath("Startup")

Ctrl-Shift-Shortcuts

List up ctrl-shift+x with hotkeys // --- end of hateb

Environment Variable on new PC

Set 'desktop folder' and 'desktop tool folder' into Environment Variable %PATH%.

Shortcuts in My Tools folder

I installed New PC and prepared tools. I uses these tools for better productivity.

My Desktop for new environment since 18/04/27

Desktop Shortcuts ctrl+shift+M : Mail ctrl+shift+B : Browser ctrl+shift+L : Chat (Chatwork) ctrl+shift+Q : Quick Access ctrl+shift+J : Notes List (CintaNotes) ctrl+shift+F12 : New Notes (CintaNotes) ctrl+F12 : clipboard into Notes ctrl+alt…

Browser Mouse Gesture Setting

Mouse Gesture Extention Edge www.microsoft.com Chrome chrome.google.com FireFox マウスジェスチャー – Firefox 向けアドオン Gesture Action

Association and Dissociation