Skip to content

Instantly share code, notes, and snippets.

Avatar

fujiwara-masaaki masaakif

View GitHub Profile
@masaakif
masaakif / learning_how_to_install_archilinux.md
Last active Jun 11, 2018
Learning how to install ArchLinux
View learning_how_to_install_archilinux.md

目標と手順

目標: 使っていないノート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 / must-be-done-when-installing-neovim-to-windows.md
Last active Apr 13, 2018
Must be done when installing NeoVim to Windows. NeoVimをWindowsに入れるためにやるべきこと
View must-be-done-when-installing-neovim-to-windows.md

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 Feb 17, 2018
nerdtree menu plugin to open dir/file by windows file association. : Based from http://gist.github.com/205807
View open_by_win_menuitem.vim
"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)
View raw-zip_read_more.user.js
// ==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 Apr 10, 2015
JIRAのフィールド初期値設定
View jira_setInitialValue.user.js
// ==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 Feb 27, 2018
Amazonに、Open CalilとMediaMarkerとヨドバシ・ドット・コムのリンクを付ける
View amazon_add_link.user.js
@masaakif
masaakif / Suginami_Library_New_Tweaks.user.js
Last active Aug 29, 2015
Suginami_Library_New_Tweaks.user.js
View 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 Aug 29, 2015
Add Arrow, Jira description, Open in new page
View jira_tweaks.user.js
// ==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==
//