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
| { | |
| "editor.fontSize": 18, | |
| "editor.cursorStyle": "block", | |
| "editor.renderControlCharacters": true, | |
| "editor.unicodeHighlight.nonBasicASCII": false, | |
| "files.autoSave": "onFocusChange", | |
| "files.autoSaveDelay": 100, | |
| "latex-workshop.synctex.afterBuild.enabled": true, |
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
| { | |
| "files.autoSave": "onFocusChange", | |
| "files.autoSaveDelay": 200, | |
| "editor.renderControlCharacters": true, | |
| "gitlens.defaultDateStyle": "absolute", | |
| "latex-workshop.docker.enabled": true, | |
| "latex-workshop.docker.image.latex": "paperist/texlive-ja:latest", | |
| "latex-workshop.latex.autoClean.run": "onBuilt", |
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
| function myFunction() { | |
| } | |
| URL = #Webhook URL | |
| BOTNAME = "面談update" | |
| function slackMsg(){ | |
| var mySheet = SpreadsheetApp.getActiveSheet() ; | |
| var myCell = mySheet.getActiveCell(); |
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
| SLACK = #SLACK Webhook URL | |
| DISCORD = #discord webhook URL | |
| function discordMsg(msg){ | |
| var payload = { | |
| username : BOTNAME, | |
| content : msg | |
| }; | |
| var options = { | |
| 'method' : 'post', |
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
| /* | |
| OSC Test -- for M5Atom | |
| config: | |
| Waiting PORT 5005 | |
| OSC Command | |
| /msg MSG to serialport | |
| /clean clear LED | |
| /led , LED_POS,R,G,B |
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
| #!/bin/sh | |
| # python | |
| curl -L https://github.com/pyenv/pyenv-installer/raw/master/bin/pyenv-installer | bash | |
| echo 'export PYENV_ROOT="$HOME/.pyenv"' >> ~/.profile | |
| echo 'export PATH="$PYENV_ROOT/bin:$PATH"' >> ~/.profile | |
| echo 'eval "$(pyenv init --path)"' >> ~/.profile | |
| #echo -e 'if command -v pyenv 1>/dev/null 2>&1; then\n eval "$(pyenv init -)"\nfi' >> ~/.bashrc | |
| echo -e 'if command -v pyenv 1>/dev/null 2>&1; then\n eval "$(pyenv init -)"\nfi' >> ~/.zshrc |
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
| #!/bin/sh | |
| # apt update | |
| sudo apt update && sudo apt -y upgrade | |
| sudo apt -y install zsh tmux | |
| # japanese font/locale | |
| sudo apt -y install task-japanese locales-all fonts-ipafont | |
| sudo localectl set-locale LANG=ja_JP.UTF-8 LANGUAGE="ja_JP:ja" | |
| source /etc/default/locale | |
| # fcitx-mozc /japanese IME |
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
| #!/usr/bin/perl | |
| $latex = 'platex %O -src-specials -shell-escape -interaction=nonstopmode -synctex=1 -kanji=utf8 %S'; | |
| $bibtex = 'pbibtex %O %B -kanji=utf8'; | |
| $dvipdf = 'dvipdfmx %O -o %D %S'; | |
| $pdf_mode = 3; # use dvipdfmx | |
| # Use SumatraPDF and atom inverse search | |
| # please replace maruta by your username | |
| #$pdf_previewer = '"C:\Program Files\SumatraPDF\SumatraPDF.exe" -reuse-instance -inverse-search "\"C:\Users\maruta\AppData\Local\atom\bin\atom.cmd\" \"%f:%l\"" %O %S'; |
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
| import os,sys,re | |
| ngword = [ '出来る','毎','表わす','行なう','の通り','言う','纏まった', | |
| '分かる','時','等','見なす','予め','依らず','繋げる','先ず','尚', | |
| 'および','従って','又','且つ','即ち','又は','更に','とくに','如何に'] | |
| dir = sys.argv[1] | |
| def chkfile(fname): | |
| data = open(fname).readlines() | |
| i = 0 | |
| for buf in data: |
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
| { | |
| "files.autoSave": "onFocusChange", | |
| "files.autoSaveDelay": 100, | |
| "latex-workshop.latex.tools": [ | |
| { | |
| "command": "latexmk", | |
| "args": [ | |
| "%DOC%" | |
| ], | |
| "name": "latexmk" |
NewerOlder