Skip to content

Instantly share code, notes, and snippets.

View rokoucha's full-sized avatar
🤝
Tree shaking

rokoucha

🤝
Tree shaking
View GitHub Profile
@rokoucha
rokoucha / gist:f6b8362ded21ebb9a0e7
Last active February 27, 2016 06:11
BBSreadphp 02.xx.xx

BBSreadphp 02.xx.xx

2016/02/27 Atnanasi

Folder tree

/
├──LICENSE
├──README.md
├──bbs
│   ├──board
│   │   ├──SETTING.TXT

プッシュ通知

このAPIについて

Gmail APIはGmailのメールボックスに変更があった事を監視し、あなたのサーバーにプッシュ通知を提供します。 このシステムを使うことで、アプリケーションのパフォーマンスを改善する事が出来ます。 それはあなたが余分なネットワークを排除し、それらが変更されているかどうかを判断するために、ポーリング・リソースに関わるコストを計算することができます。 メールボックスに変更が確認されるたびに、Gmail APIはあなたのバックエンドサーバーのアプリケーションに通知します。

ノート

ユーザーが持っているデバイス(つまり、端末にインストールされたアプリ、モバイルデバイス、ブラウザー)に通知する時は、

@rokoucha
rokoucha / mozc.md
Last active October 23, 2016 09:35
Tailsでmozcによる日本語入力

Anthyがクソ

変換がゴミクソ

手順

  • Passwordを設定しておく
  • インターネットに接続する
  • Terminalを開く
  • apt-get update する(パッケージデータベースの更新)

  • apt-get install ibus-mozc する(mozcとその他入れる)

  • $ ibus restart する
@rokoucha
rokoucha / snappy
Created January 24, 2017 03:58
Snappy - screenshot tool
#!/bin/bash
#Snappy
save_folder=$HOME/Pictures/Screenshot
save_file=Screenshot-$(date +"%Y-%m-%d-%I-%M-%S").png
save=0
save_path=$(mktemp).png
usage_exit() {
echo "Usage: $0 [OPTIONS]" 1>&2
@rokoucha
rokoucha / config.lua
Last active April 11, 2017 12:20
Solarized color scheme for tym
-- Solarized color scheme for tym
color = {}
-- Solarized common
color.yellow = '#b58900'
color.orange = '#cb4b16'
color.red = '#dc322f'
color.magenta = '#d33682'
color.violet = '#6c71c4'
$ docker run -p 50000:50000 -p 50001:50001 -p 50010:50010 -p 50011:50011 -p 50012:50012 -it mhart/alpine-node /bin/sh
--------in docker-------
# Setup
cd ~
mkdir -p /data/db
mkdir /file
# Install files
@rokoucha
rokoucha / buildlog.txt
Created May 27, 2017 07:21
Fuck you gem
Installing gtk2 3.1.1 with native extensions
Gem::Ext::BuildError: ERROR: Failed to build gem native extension.
current directory: /home/atnanasi/mikutter/vendor/bundle/ruby/2.4.0/gems/gtk2-3.1.1/ext/gtk2
/usr/bin/ruby -r ./siteconf20170527-5904-1o1fm27.rb extconf.rb
checking for --enable-debug-build option... no
checking for -Wall option to compiler... yes
checking for -Waggregate-return option to compiler... yes
checking for -Wcast-align option to compiler... yes
checking for -Wextra option to compiler... yes
# i3 config file (v4)
#
# Please see http://i3wm.org/docs/userguide.html for a complete reference!
#
# This config file uses keycodes (bindsym) and was written for the QWERTY
# layout.
#
# To get a config file with the same key positions, but for your current
# layout, use the i3-config-wizard
#
@rokoucha
rokoucha / yotei.md
Last active March 16, 2019 11:44
湊ヶ浜高速鉄道

Minatogahama Rapid Transit

MRT

副都心線

多摩森林公園から立川を経由し、新猫耳を結ぶ路線です。

駅名 駅ナンバリング 接続路線 備考

あけまして、おめでとうございます!

今年も宜しくお願いします。

502.ggrel(共有サーバーサービス)について

いよいよ今年でAtnanasiが提供する共有サーバーサービスが1周年を迎える事となりました。 この1年間、色々な事がありましたが乗り切れたのはユーザーの皆さんのおかげです。この場を借りて御礼を申し上げます。ありがとうございました。

さて、共有サーバーサービスですか、この度2018年からは502.ggrelとしてggrel傘下のサービスとして運営させて頂きます。