Skip to content

Instantly share code, notes, and snippets.

View masaakif's full-sized avatar

fujiwara-masaaki masaakif

View GitHub Profile
@masaakif
masaakif / learning_how_to_install_archilinux.md
Last active June 11, 2018 21:44
Learning how to install ArchLinux

目標と手順

目標: 使っていないノートPCにArchLinuxを入れる。

手順: ArchWiki > インストールガイド

USBにISOを焼く

1. 日本のミラーサイトからISOをダウンロード。こちらがミラーサイト一覧

2. 適当なUSBフラッシュメモリにISOを焼く。手元にLinux機があったので以下で行った。

# dd bs=4M if=/path/to/archlinux.iso of=/dev/sdx status=progress && sync
@masaakif
masaakif / 2018-04-13 16_32_39-Neovim.png
Last active April 13, 2018 07:46
画像アップロード用
2018-04-13 16_32_39-Neovim.png
@masaakif
masaakif / must-be-done-when-installing-neovim-to-windows.md
Last active April 13, 2018 09:30
Must be done when installing NeoVim to Windows. NeoVimをWindowsに入れるためにやるべきこと

Install NeoVim on somewhere.

  1. Download nvim-win64.zip from Installing Neovim · neovim/neovim Wiki.
  2. Unarchive the zip file to somewhere. I did under c:\apps\PortableApps\Neovim.
  3. Run Neovim\bin\nvim-qt.exe
  4. If you got below screen, first step is OK! NeoVim画像

Where is your vimrc?

I believe it should be under c:\Users(username)\AppData\Local\nvim\init.vim

@masaakif
masaakif / open_by_win_menuitem.vim
Created February 17, 2018 16:11
nerdtree menu plugin to open dir/file by windows file association. : Based from http://gist.github.com/205807
"shove this in ~/.vim/nerdtree_plugin/grep_menuitem.vim
"
" This is nerdtree menu item plugin.
" Add 'o' menu items to open selected dir/file.
" 'o' : (Windows only) open directory/file by file extension association in Windows.
" if directory is selected, open by explorer.
"
" Originally written by scrooloose
" (http://gist.github.com/205807)
// ==UserScript==
// @id raw-zip.com-2f4930f8-4d0a-469a-af86-b130e5679ef0@scriptish
// @name Raw.zip read more
// @version 1.0
// @namespace
// @author Masaaki Fujiwara
// @description
// @include http://raw-zip.com/tag/*
// @run-at document-end
// ==/UserScript==
@masaakif
masaakif / jira_setInitialValue.user.js
Created April 10, 2015 00:30
JIRAのフィールド初期値設定
// ==UserScript==
// @id jira-a1e859d8-9b47-4c42-9c76-8ac4fc0a8157@scriptish
// @name JIRA_SetInitialValue
// @version 1.0
// @namespace
// @author Masaaki Fujiwara
// @description
// @include http://jira/secure/CreateIssue.jspa
// @run-at document-end
// ==/UserScript==
@masaakif
masaakif / amazon_add_link.user.js
Last active February 27, 2018 12:10
Amazonに、Open CalilとMediaMarkerとヨドバシ・ドット・コムのリンクを付ける
@masaakif
masaakif / Suginami_Library_New_Tweaks.user.js
Last active August 29, 2015 14:04
Suginami_Library_New_Tweaks.user.js
// ==UserScript==
// @id d88dd39a6bd9f76517c0
// @name Suginami_Library_New_Tweaks.user.js
// @version 1.0
// @namespace
// @author
// @description
// @include https://www.library.city.suginami.tokyo.jp/licsxp-opac/WOpacTifTilDetailYoyCartDispAction.do
// @run-at document-end
// ==/UserScript==
@masaakif
masaakif / jira_tweaks.user.js
Last active August 29, 2015 14:02
Add Arrow, Jira description, Open in new page
// ==UserScript==
// @name Jira Tweaks
// @namespace https://gist.github.com/masaakif/18a5bb2baa00c9c38a8b
// @description Jira Tweaks (includes Add Arrow and Open in New Page)
// @include http://sydlinux3/*
// @include http://jira/*
// @include http://sydln203/*
// ==/UserScript==
//