Skip to content

Instantly share code, notes, and snippets.

View kkiyama117's full-sized avatar
🎒
reseach at University

kkiyama117 kkiyama117

🎒
reseach at University
View GitHub Profile
@kkiyama117
kkiyama117 / create_lualatex_env.md
Last active July 8, 2024 05:32
LuaLaTex の自分向け環境作成の指針

How to create lualatex environment

Usage

sudo pacman -S texlive-basic texlive-latex texlive-latexrecommended texlive-latexextra texlive-fontsrecommended texlive-fontextra texlive-bibtexextra texlive-langjapanese biber
#!/bin/csh -f
#
# last update = 17 Aug 2016
#
# This is a C-shell script to execute GAMESS, by typing
# rungms JOB VERNO NCPUS PPN LOGN >& JOB.log &
# JOB is the name of the 'JOB.inp' file to be executed,
# VERNO is the number of the executable you chose at 'lked' time,
# NCPUS is the number of processors to be used, or the name of
# a host list file (see an example below, starting from "node1 4".
mkdir -p ~/.local/share
git clone https://github.com/kkiyama117/dotfiles.git ~/.local/share/chezmoi
cd ~/.local/share/chezmoi/.ansible
ansible-playbook setting.yml -K
@kkiyama117
kkiyama117 / denops-help.md
Last active June 12, 2021 06:45
Create plugin via denops.vim

Run plugins based on denops.vim

If you need this section written in Japanese, read article written by @lambdalisue

Requirements

You need to install these softwares on your machine to run denops plugins.

  • Deno (latest stable version is recommended.)
  • Vim/Neovim
import { serve } from 'https://deno.land/std/http/server.ts';
const server = serve({ port: 8000 });
for await (const req of server) {
req.respond({ body: 'Hello Deno' });
}
// Import 'start' function from denops_std
import {start} from "https://deno.land/x/denops_std@v0.3/mod.ts";
// Call 'start' with async callback. The callback get 'vim' instance.
start(async (vim) => {
vim.register({
// async echo(_: unknown): Promise<unknown> {
async echo(_: unknown): Promise<void> {
// const test = await vim.g.get("denops_helloworld") as [boolean];
const test = await vim.g.get("denops_helloworld");
@kkiyama117
kkiyama117 / dein.json
Last active January 5, 2021 15:09
We can use it as taplo's config
{
"$schema": "http://json-schema.org/draft-07/schema#",
"title": "dein.nvim",
"type": "object",
"description": "A schema for config of dein.nvim (https://github.com/Shougo/dein.vim/blob/master/doc/dein.txt#L963)",
"x-taplo-info": {
"authors": [
"kkiyama117 (https://github.com/kkiyama117)"
],
"version": "0.1.0",
@kkiyama117
kkiyama117 / good_docs_golang.md
Last active May 9, 2020 02:42
知り合い向け