- http://serverfault.com/questions/416787/nginx-403-forbidden-error-hosting-in-user-home-directory
- rails deploy with rvm, capistrano, uniron, nginx
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
## IPv6 Tests | |
http://[::ffff:169.254.169.254] | |
http://[0:0:0:0:0:ffff:169.254.169.254] | |
## AWS | |
# Amazon Web Services (No Header Required) | |
# from http://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ec2-instance-metadata.html#instancedata-data-categories | |
http://169.254.169.254/latest/meta-data/iam/security-credentials/dummy | |
http://169.254.169.254/latest/user-data | |
http://169.254.169.254/latest/user-data/iam/security-credentials/[ROLE NAME] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
*良識の範囲で使う。例えば、関連する市場も同時に表示するとか | |
追記:市場は終了…https://blog.nicovideo.jp/seiga/2019/12/post-1285.html | |
# 静画API | |
静画, コメント, タグ, 市場 | |
マンガ, コメント, タグ, 市場(旧テーマ?お題) | |
自分のNGリスト取得 | |
マイリスト取得?不明 | |
ランキング |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env node | |
/* | |
This is a total hack, just needed to grab all the photos from twitter | |
so that we could import them into our Flickr group.. | |
*/ | |
const fs = require('fs'); | |
const config = require('./config.json'); | |
const Twitter = require('twitter'); | |
const parse = require('querystring').parse; | |
const client = new Twitter({ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import select | |
import socket | |
import socketserver | |
__author__ = 'loncat <me@lcat.dev>' | |
services = [ | |
{ | |
'name': 'ssh', | |
'address': ('127.0.0.1', 22), |