Skip to content

Instantly share code, notes, and snippets.

View lowply's full-sized avatar

Sho Mizutani lowply

View GitHub Profile
@lowply
lowply / kvm-memo.md
Created July 10, 2020 05:24
KVM memo

Env

  • VMWare Fusion 11.5 on macOS Catalina
  • Guest OS: CentOS 8.2
  • GitHub Enterprise Server 2.20.10
  • Make sure that the Guest OS has
    • more than 100GB of disk space (/home)
    • 2 CPU cores / 16GB memory

Prep

@lowply
lowply / support-links.md
Created July 2, 2019 14:32
サポート関連リンク
@lowply
lowply / TrueColour.md
Created June 12, 2019 06:05 — forked from XVilka/TrueColour.md
True Colour (16 million colours) support in various terminal applications and terminals

Terminal Colors

There exists common confusion about terminal colors. This is what we have right now:

  • Plain ASCII
  • ANSI escape codes: 16 color codes with bold/italic and background
  • 256 color palette: 216 colors + 16 ANSI + 24 gray (colors are 24-bit)
  • 24-bit true color: "888" colors (aka 16 milion)
@lowply
lowply / keybase.md
Created October 16, 2017 08:04
keybase.md

Keybase proof

I hereby claim:

  • I am lowply on github.
  • I am lowply (https://keybase.io/lowply) on keybase.
  • I have a public key ASDaAAy65CsqAVn-sxZnPHb-RCctGhT5HNquv_wyYiqesAo

To claim this, I am signing this object:

@lowply
lowply / aperture2photos.scpt
Created April 21, 2016 09:28
Dump photos of each album in Aperture and import them into Photos.app
global yr
set yr to "2012"
global basePath
set basePath to "Storage:Pictures:ApertureExport:" & yr & ":"
tell application "System Events"
set exportFolder to basePath
@lowply
lowply / install_tmux.sh
Last active October 5, 2016 08:08
A shell script to install tmux-2.3 and its dependencies from tarball (Only for CentOS and Ubuntu)
#!/bin/bash
# Install tmux from source
# Jul 12th, 2016 / lowply@gmail.com
set -e
[ -f /etc/os-release ] && . /etc/os-release || { echo "Could not find /etc/os-release"; exit 1; }
TMUX_URL="https://github.com/tmux/tmux/releases/download/2.3/tmux-2.3.tar.gz"
#!/bin/bash
CPSM_DIR="${HOME}/.vim/bundle/cpsm"
[ -d ${CPSM_DIR} ] || { echo "${CPSM_DIR} not found."; exit 1; }
# install cmake
cd
curl -kOL https://cmake.org/files/v3.4/cmake-3.4.0-Linux-x86_64.sh
sh https://cmake.org/files/v3.4/cmake-3.4.0-Linux-x86_64.sh
sudo mv cmake-3.4.0-Linux-x86_64 /usr/local/
@lowply
lowply / molokai.patch
Created August 14, 2012 18:11
A patch to molokai.vim
--- molokai.vim 2012-08-15 02:26:31.780396257 +0900
+++ molokai.vim 2012-08-15 02:29:12.374546127 +0900
@@ -133,7 +133,7 @@
hi Normal ctermbg=234
hi CursorLine ctermbg=235 cterm=none
else
- hi Normal ctermfg=252 ctermbg=233
+ hi Normal ctermfg=252 ctermbg=none
hi CursorLine ctermbg=234 cterm=none
endif