Skip to content

Instantly share code, notes, and snippets.

Working from home

Keisuke SATO riaf

Working from home
View GitHub Profile
riaf / userChrome.css
Created Aug 13, 2020
Take the anger out of Firefox's UI for use on macOS. (Move the close tab button to the left and only show it on mouseover.)
View userChrome.css
@namespace url(;
toolbarbutton#alltabs-button {
-moz-binding: url("userChrome.xml#js");
.tabbrowser-tab .tab-close-button {
-moz-box-ordinal-group: 0 !important;
opacity: 0;

Keybase proof

I hereby claim:

  • I am riaf on github.
  • I am keisuke ( on keybase.
  • I have a public key ASAI_ZVfS8C3nacZu8hpLsonfszLRnG1-FjloeKXgXnRTgo

To claim this, I am signing this object:

View riaf.min.svg
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
riaf /
Created Jul 26, 2016
Coreserver に SSH 接続する
curl -XPOST \
-d "id=$USERID" \
-d "pass=$FTPPASS" \
-d "remote_host=$(curl" \
-d "ssh2=on" \$ \
| iconv -f SJIS -t UTF8
riaf /
Created Oct 10, 2015
Debian Jessie for IDCF Cloud
mkdir -p /tmp/debian
cd /tmp/debian
curl -LO curl -LO
tar xf
ovftool debian-8.2.0-amd64.vmx debian-8.2.0-amd64.ova
cp debian-8.2.0-amd64.ova ~/Dropbox/Public/
rm -rf /tmp/debian
riaf / Hybrid.terminal
Created Apr 23, 2015
vim-hybrid for (Original
View Hybrid.terminal
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "">
<plist version="1.0">
riaf / gist:407b29a267bc5650af16
Created Aug 21, 2014
Chatwork の見た目をちょっとマシにする usercss / Chrome でしか動作確認してない。
View gist:407b29a267bc5650af16
@-moz-document domain("") {
@import url(;.wrapper,.globalHeader,.numAdminCount,.chatListUnreadNum,.contentHl,.mainContentHl,.sideContentHl,.chatSendArea,.button{background-image:none;-webkit-box-shadow:none;box-shadow:none;border-radius:0;}.promotionArea{height:0;display:none;}.chatRoomListArea{padding-bottom:141px;}.globalHeader .ico35AdminTask,.globalHeader .ico35AdminFile,.globalHeader .ico35AdminContact,.globalHeader .ico27Menu{text-indent:inherit;color:#fff;background:none;font-size:25px;line-height:1.4;height:inherit;}.globalHeader .ico35AdminTask:before{content:"\f0ae";font-family:FontAwesome;}.globalHeader .ico35AdminFile:before{content:"\f07b";font-family:FontAwesome;}.globalHeader .ico35AdminContact:before{content:"\f0c0";font-family:FontAwesome;}.globalHeader .ico27Menu:before{content:"\f05a";font-family:FontAwesome;}.actionArea{top:0;bottom:inherit;}.actionArea .actionNav{border:none;-webkit-box-shadow:none
riaf / gist:d3aad20cde677acc350f
Created Jul 24, 2014
Connpass をちょっとだけマシにする user-css
View gist:d3aad20cde677acc350f
@-moz-document domain(""), domain("*") {
* $dark: #2c3e50;
* $light: #ecf0f1;
* $blue: #3498db;
* $darkBlue: #2980b9;
* $red: #e74c3c;
html, body, div, applet, object, iframe, h1, h2, h3, h4, h5, h6, p, blockquote, pre, a, abbr, acronym, address, big, button, cite, code, del, dfn, img, ins, kbd, q, samp, small, sub, sup, tt, var, center, dl, dt, dd, ol, ul, li, fieldset, form, label, legend, table, caption, tbody, tfoot, thead, tr, th, td, textarea {
View gist:504df55cbb87a1e0ade9
@-moz-document domain("") {
body {
background: #fff !important;
#beta {
background: #f5f5f5 !important;
.layout-two-column-right #alpha-inner,
riaf / index.php
Last active Aug 29, 2015
View index.php
echo 'Hello from HHVM ' . HHVM_VERSION;
You can’t perform that action at this time.