Skip to content

Instantly share code, notes, and snippets.

View Marin-Kitagawa's full-sized avatar
❤️

Marin Kitagawa Marin-Kitagawa

❤️
View GitHub Profile
@Marin-Kitagawa
Marin-Kitagawa / init.vim
Last active January 10, 2022 02:08
init.vim perfected Neovim nightly
execute 'source' fnamemodify(expand('<sfile>'), ':h').'/main.vim'
" Install Vim-Plug
" iwr -useb https://raw.githubusercontent.com/junegunn/vim-plug/master/plug.vim |`
" ni "$(@($env:XDG_DATA_HOME, $env:LOCALAPPDATA)[$null -eq $env:XDG_DATA_HOME])/nvim-data/site/autoload/plug.vim" -Force
" Install Vim-Plug in ~\AppData\Local\nvim\autoload and NOT inside nvim-data
set guifont=FiraCode\ Nerd\ Font:h12
set number
set relativenumber
" set shellslash
" Plug plugin install setup
@fnky
fnky / ANSI.md
Last active June 1, 2025 14:22
ANSI Escape Codes

ANSI Escape Sequences

Standard escape codes are prefixed with Escape:

  • Ctrl-Key: ^[
  • Octal: \033
  • Unicode: \u001b
  • Hexadecimal: \x1B
  • Decimal: 27
@mcreenan
mcreenan / perl-6-code-golf-io.p6
Last active July 28, 2021 02:33
Perl 6 Solutions for code-golf.io
# NOTE: EACH SOLUTION IS SELF CONTAINED.
# This file can't be run as a script because the trailing semi-colon is left off of each solution.
# Divisors
{(1…$_).grep($_%%*).put}for 1…Ⅽ
# Emirp Numbers
$_≠.flip&&($_,.flip)».is-prime.all&&.say for ^Ⅿ
# Evil Numbers