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 / Ubuntu rbenv
Created April 16, 2021 17:46 — forked from HatemMahmoud/Ubuntu rbenv
Installing Ruby 1.9.2 with OpenSSL on Ubuntu 11.04 using ruby-build and rbenv
# for more info: https://gist.github.com/1120938
@Marin-Kitagawa
Marin-Kitagawa / Installing Arch Linux.md
Last active April 22, 2021 15:09
Installing Arch Linux in Windows 10 host within VirtualBox

Arch Linux Installation

Add the ISO file, uncheck Floppy and check EFIunder Systems in VirtualBox. VirtualBox (version used : 6.1.20)

Note : Add sudo wherever necessary (after installing this (given in the below steps))

Check the dependencies listed for all the pacman -Syu <pkg_name> command run

  • Increase the font size first

Install openssh

Run the following command to install ssh service

sudo pacman -Syu openssh

Check the status of ssh service

@Marin-Kitagawa
Marin-Kitagawa / old_init.vim
Last active June 14, 2021 15:49
My Neovide configuration
" %userprofile%/AppData/Local/nvim/init.vim
set guifont=FiraCode\ Nerd\ Font:h16
set number
set relativenumber
filetype off
set shellslash
set rtp+=C:\Users\quant\vimfiles\bundle\Vundle.vim
call vundle#begin('~/vimfiles/bundle')
" let Vundle manage Vundle, required
Plugin 'VundleVim/Vundle.vim'
@Marin-Kitagawa
Marin-Kitagawa / init.vim
Last active June 24, 2021 16:02
New `init.vim` file for `Neovide` based on `vim-plug` and not `vundle`
" 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:h16
set number
set relativenumber
" set shellslash
" Plug plugin install setup
#!/bin/bash
iatest=$(expr index "$-" i)
#######################################################
# SOURCED ALIAS'S AND SCRIPTS BY zachbrowne.me
#######################################################
# Source global definitions
if [ -f /etc/bashrc ]; then
. /etc/bashrc
@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
@Marin-Kitagawa
Marin-Kitagawa / perl-6-code-golf-io.p6
Created July 28, 2021 02:33 — forked from mcreenan/perl-6-code-golf-io.p6
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
@Marin-Kitagawa
Marin-Kitagawa / rust_linux_cli_tools.sh
Last active November 28, 2022 18:36
Rust alternatives to conventional CLI tools in *nix OS
cargo install topgrade sd hyperfine du-dust dutree ytop bottom procs skim bat exa fd-find starship ripgrep tokei tealdeer bandwhich grex rmesg zoxide git-delta tp-note nu sd
########################################
# #
# #
# ripgrep on Windows choco/scoop #
# #
# #
########################################
# topgrade: Updates everything in the system. It is platform-independent.
# sd : `sed` command alternative and it uses normal regex just like any other programming language