Skip to content

Instantly share code, notes, and snippets.

View kkiyama117's full-sized avatar
๐ŸŽ’
University

kkiyama117 kkiyama117

๐ŸŽ’
University
View GitHub Profile
{
"name": "Noi Mode",
"version": "0.1.14",
"sync": "https://github.com/lencx/noi/blob/main/configs/noi.mode.json",
"modes": [
{
"id": "noi@ai",
"parent": 0,
"dir": true,
"text": "AI"

Keybase proof

I hereby claim:

  • I am kkiyama117 on github.
  • I am kkiyama117 (https://keybase.io/kkiyama117) on keybase.
  • I have a public key ASCYeJTzdKOXsDJIOmw3w3p85kf-OWgu9FBSwlC6H7T0ywo

To claim this, I am signing this object:

@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/[email protected]/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",