Skip to content

Instantly share code, notes, and snippets.

@Ikuyadeu
Ikuyadeu / SourceCodeEditors.md
Last active November 5, 2021 14:30
年代別ソースコードエディタリスト
"""
Get popular project
Before run
$ pip3 install PyGithub
$ touch config.json
Edit config.sjon
"""
import requests
import json
@Ikuyadeu
Ikuyadeu / GetFileList.py
Last active December 18, 2017 18:33
Get Changed file list from database
#!/usr/bin/env python3
"""
Get file list from mysql
Usage:
$ python3 src/GetFileList.py gm_openstack user passwd
Output:
./gm_openstack.csv
- "ch_id": Change id
- "rev_id": Revision id
- "f_file_name": Encoded file path
@Ikuyadeu
Ikuyadeu / GetSingleFile.py
Last active September 26, 2017 04:10
Get single file in GitHub
# -*- coding: utf-8 -*-
"""
Summary: Get single file history and real file
Usage: mkdir out
pip3 install requests
python3 GetSyngleFile.py YourGitHubID GitHubPassword owner project filePath
(e.g.) python3 GetSyngleFile.py GitTaro Gitpass Ikuyadeu vscode-r package.json
Warning: This script can't get identify Readme.md README.md
"""
import json
@Ikuyadeu
Ikuyadeu / vscode-latex.md
Last active March 6, 2024 02:16
VSCode でLatexの日本語環境を作る

https://github.com/James-Yu/LaTeX-Workshop/wiki/Compile に書いてあったbibのコンパイルを日本語に対応.

  1. VSCodeやLatexをインストールしてなければインストール(https://code.visualstudio.com/
  2. Latex-Workshopをインストール(https://marketplace.visualstudio.com/items?itemName=James-Yu.latex-workshop)
  3. settings.json(Windows: ファイル > 基本設定 > 設定 or Ctrl + ,, Mac: Code > 基本設定 > 設定 or + ,)の{ }内に以下を追加(設定ファイルの変更方法: https://qiita.com/y-w/items/614843b259c04bb91495)
    "latex-workshop.latex.tools": [
        {
            "command": "ptex2pdf",
            "args": [