Skip to content

Instantly share code, notes, and snippets.

@Ikuyadeu
Ikuyadeu / SourceCodeEditors.md
Last active Jun 13, 2020
History of Source-code editors
View PopularLangProject.py
"""
Get popular project
Before run
$ pip3 install PyGithub
$ touch config.json
Edit config.sjon
"""
import requests
import json
@Ikuyadeu
Ikuyadeu / GetFileList.py
Last active Dec 18, 2017
Get Changed file list from database
View GetFileList.py
#!/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 Sep 26, 2017
Get single file in GitHub
View GetSingleFile.py
# -*- 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 Aug 19, 2020
VSCode でLatexの日本語環境を作る
View vscode-latex.md

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": [
You can’t perform that action at this time.