Skip to content

Instantly share code, notes, and snippets.

View BonyChops's full-sized avatar
🔥

BonyChops BonyChops

🔥
View GitHub Profile
@BonyChops
BonyChops / a.md
Last active May 5, 2022 06:09
Used for my portfolio (bonychops.com)

Images

image image image image image image image image

@BonyChops
BonyChops / howoGnuplot4Jterminal.md
Last active November 17, 2021 07:44
4JTerminalでのGnuplotの使いかた

4JTerminalでのGnuplotの使いかた

Shell

PLOTCONFIG=$FILE2
if [ -z $FILE1 ]; then
    echo "プロットデータが必要です"
    exit
fi

Keybase proof

I hereby claim:

  • I am bonychops on github.
  • I am bonychops (https://keybase.io/bonychops) on keybase.
  • I have a public key ASComNN-770xtUC7PTx52fQ8ECNSHrve1_mqNQph2UBVCQo

To claim this, I am signing this object:

@BonyChops
BonyChops / tex-setup.sh
Last active December 10, 2022 12:12
tex-setup
sudo apt update
sudo apt install texlive-lang-japanese texlive-latex-extra texlive-extra-utils texlive-science latexmk bzip2
sudo sh -c "$(curl -fsSL https://gist.githubusercontent.com/BonyChops/cec1074f2c0dda7a1d29ec31609bc4a8/raw/jlisting-install.sh)"
sudo kanji-config-updmap-sys ipaex
@BonyChops
BonyChops / jlisting-install.sh
Last active June 30, 2022 08:56
jlisting-install
wget "https://osdn.net/frs/redir.php?m=gigenet&f=mytexpert%2F26068%2Fjlisting.sty.bz2" -O jlisting.sty.bz2
bzip2 -d jlisting.sty.bz2
sudo mkdir -p /usr/share/texlive/texmf-dist/tex/latex/listings/
sudo cp ./*.sty /usr/share/texlive/texmf-dist/tex/latex/listings/
sudo mktexlsr
@BonyChops
BonyChops / search-git.sh
Last active July 7, 2021 17:39
Search for directory which is NOT a repository of git
#!/bin/sh
dirs=`find * -maxdepth 0 -type d `
for dir in $dirs;
do
if [ ! -d "$dir/.git" ]; then
echo $dir
fi
done
#!/usr/bin/env perl
# LaTeX
$latex = 'platex -synctex=1 -halt-on-error -file-line-error %O %S';
$max_repeat = 5;
# BibTeX
$bibtex = 'pbibtex %O %S';
$biber = 'biber --bblencoding=utf8 -u -U --output_safechars %O %S';
# af-magic.zsh-theme
# Repo: https://github.com/andyfleming/oh-my-zsh
# Direct Link: https://github.com/andyfleming/oh-my-zsh/blob/master/themes/af-magic.zsh-theme
# settings
typeset +H return_code="%(?..%{$fg[red]%}%? ↵%{$reset_color%})"
typeset +H my_gray="$FG[237]"
typeset +H my_orange="$FG[214]"
typeset +H omega_red="$FG[161]"
@BonyChops
BonyChops / settings.json
Created March 9, 2021 07:10
Chrome OS terminal (crostini) "dark" ANSI theme for VSCode
{
"workbench.colorCustomizations": {
"terminal.background": "#202124",
"terminal.foreground": "#FFFFFF",
"terminalCursor.background": "#669DF680",
"terminalCursor.foreground": "#669DF680",
"terminal.ansiBlack": "#3C4043",
"terminal.ansiBlue": "#8AB4F8",
"terminal.ansiBrightBlack": "#9AA0A6",
"terminal.ansiBrightBlue": "#AECBFA",
#!/usr/bin/env perl
# LaTeX
$latex = 'platex -synctex=1 -halt-on-error -file-line-error %O %S';
$max_repeat = 5;
# BibTeX
$bibtex = 'pbibtex %O %S';
$biber = 'biber --bblencoding=utf8 -u -U --output_safechars %O %S';