Skip to content

Instantly share code, notes, and snippets.

🏠
Working from home

Keisuke SATO riaf

🏠
Working from home
Block or report user

Report or block riaf

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
View keybase.md

Keybase proof

I hereby claim:

  • I am riaf on github.
  • I am keisuke (https://keybase.io/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
riaf / csssh.sh
Created Jul 26, 2016
Coreserver に SSH 接続する
View csssh.sh
curl -XPOST \
-d "id=$USERID" \
-d "pass=$FTPPASS" \
-d "remote_host=$(curl http://dyn.value-domain.com/cgi-bin/dyn.fcg?ip)" \
-d "ssh2=on" \
https://ss1.coressl.jp/www.$CS_SERVER.coreserver.jp/jp/admin.cgi \
| iconv -f SJIS -t UTF8
@riaf
riaf / debian8.sh
Created Oct 10, 2015
Debian Jessie for IDCF Cloud
View debian8.sh
#!/bin/sh
mkdir -p /tmp/debian
cd /tmp/debian
curl -LO curl -LO http://s3.eu-central-1.amazonaws.com/ffuenf-vagrantboxes/debian/debian-8.2.0-amd64_vmware.box
tar xf debian-8.2.0-amd64_vmware.box
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
riaf / Hybrid.terminal
Created Apr 23, 2015
vim-hybrid for terminal.app (Original https://github.com/w0ng/vim-hybrid)
View Hybrid.terminal
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>ANSIBlackColor</key>
<data>
YnBsaXN0MDDUAQIDBAUGFRZYJHZlcnNpb25YJG9iamVjdHNZJGFyY2hpdmVyVCR0b3AS
AAGGoKMHCA9VJG51bGzTCQoLDA0OVU5TUkdCXE5TQ29sb3JTcGFjZVYkY2xhc3NPECcw
LjExMzcyNTQ5MDIgMC4xMjE1Njg2Mjc1IDAuMTMzMzMzMzMzMwAQAYAC0hAREhNaJGNs
YXNzbmFtZVgkY2xhc3Nlc1dOU0NvbG9yohIUWE5TT2JqZWN0XxAPTlNLZXllZEFyY2hp
@riaf
riaf / gist:407b29a267bc5650af16
Created Aug 21, 2014
Chatwork の見た目をちょっとマシにする usercss / Chrome でしか動作確認してない。
View gist:407b29a267bc5650af16
@-moz-document domain("www.chatwork.com") {
@import url(https://maxcdn.bootstrapcdn.com/font-awesome/4.1.0/css/font-awesome.min.css);.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
riaf / gist:d3aad20cde677acc350f
Created Jul 24, 2014
Connpass をちょっとだけマシにする user-css
View gist:d3aad20cde677acc350f
@-moz-document domain("connpass.com"), domain("*.connpass.com") {
/**
* $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("kirik.tea-nifty.com") {
body {
background: #fff !important;
}
#pagebody,
#beta-inner,
#beta {
background: #f5f5f5 !important;
}
.layout-two-column-right #alpha-inner,
@riaf
riaf / index.php
Last active Aug 29, 2015
testtest
View index.php
<?hh
echo 'Hello from HHVM ' . HHVM_VERSION;
View reserved_username.json
[
"about",
"ac",
"access",
"account",
"accounts",
"activate",
"ad",
"add",
"address",
You can’t perform that action at this time.