Skip to content

Instantly share code, notes, and snippets.

View terasakisatoshi's full-sized avatar

Satoshi Terasaki terasakisatoshi

View GitHub Profile
@terasakisatoshi
terasakisatoshi / writing.md
Created November 13, 2023 07:36 — forked from LambdaNote/writing.md
記事の書き方

記事の書き方

記事の執筆には、Markdown形式を利用してください。 Markdownにはさまざまな流派がありますが、GitHub Flavored Markdown(https://github.github.com/gfm/ )をベースとした書式を採用します。

書籍を執筆するための形式として考えると、Markdownには不足している機能が多々あります。 しかし、次のような利点があるので、Markdownを採用することにします。

  • 最低限の構造しかないので、見た目でごまかせる余地が少ない
  • 原稿を著者自身が再利用してもらいやすくしたい

基本手順

mkdir ~/.vim
cd ~/.vim
mkdir colors
git clone https://github.com/tomasr/molokai
mv molokai/colors/molokai.vim ~/.vim/colors/
vi ~/.vimrc
using AbstractPlotting
using AbstractPlotting.MakieLayout
using GLMakie; GLMakie.activate!()
GLMakie.GLFW.WindowHint(GLMakie.GLFW.FLOATING, 1)
using LinearAlgebra
##
scene = Scene(center = false, raw = true, resolution = (800, 800))
@terasakisatoshi
terasakisatoshi / getting-started-with-latex.md
Created June 21, 2020 14:53 — forked from h3y6e/getting-started-with-latex.md
Dockerを用いてVSCodeにLaTeX環境を作成する
  1. paperist/alpine-texlive-ja をpull
$ docker pull paperist/alpine-texlive-ja
  1. setting.jsonに以下を追記
    "latex-workshop.latex.tools": [
        {
          "name": "ptex2pdf",
 "command": "docker",
@terasakisatoshi
terasakisatoshi / cursor.ahk
Created December 20, 2019 05:45 — forked from tsuemura/cursor.ahk
Windows買ったとき用メモ
F13 & A::Send,{Blind}{Left}
F13 & S::Send,{Blind}{Down}
F13 & W::Send,{Blind}{Up}
F13 & D::Send,{Blind}{Right}
F13 & J::Send,{Esc}
~j up::
Input, jout, I T0.1 V L1, {j}
if(ErrorLevel == "EndKey:J"){
SendInput, {BackSpace 2}
Send,{Esc}
@terasakisatoshi
terasakisatoshi / bibtex.png
Created November 2, 2019 09:47 — forked from max-mapper/bibtex.png
How to make a scientific looking PDF from markdown (with bibliography)
bibtex.png
@terasakisatoshi
terasakisatoshi / sublime-command-line.md
Created July 26, 2019 05:32
Launch Sublime Text from the command line on OSX

Launch Sublime Text from the command line on OSX

Sublime Text includes a command line tool, subl, to work with files on the command line. This can be used to open files and projects in Sublime Text, as well working as an EDITOR for unix tools, such as git and subversion.

Requirements

  • Sublime text 2 or 3 installed in your system within Applications folder

Setup

@terasakisatoshi
terasakisatoshi / install_nano_v4.0_on_mac.sh
Created July 24, 2019 16:02 — forked from fevangelou/install_nano_on_macos_without_homebrew.sh
Install Nano Editor v4.0 (with syntax highlighting) on the Mac
#!/bin/bash
# Install Nano Editor (https://www.nano-editor.org) with syntax highlighting on the Mac
# Version 4.0 ("Thy Rope of Sands") released March 24th 2019
cd ~/
wget https://www.nano-editor.org/dist/v4/nano-4.0.tar.gz
tar -xvf nano-4.0.tar.gz
mv nano-4.0 .nano
cd .nano/
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.