Skip to content

Instantly share code, notes, and snippets.

ITO Shogo showwin

Block or report user

Report or block showwin

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
@showwin
showwin / etc_init.d_unicorn
Last active May 3, 2019
rbenv + unicorn の init スクリプト
View etc_init.d_unicorn
#!/bin/sh
#chkconfig:2345 85 70
#description:unicorn shell
NAME="Unicorn"
ENV=production
USER="root"
ROOT_DIR="/opt/rails/[PROJECT_NAME]"
View gist:f3c95cddc4a06d41b6fed92099602daf
if IS_LAPRAS_RELEASED:
service_name = 'scouty'
else:
service_name = 'LAPRAS SCOUT'
View ishocon2_manual_example.md

ISHOCON2 目的

ISUCONの練習をして高速化の勉強をすることがこのイベントの目的です。
懇親会では高速化した手法をぜひ共有しあってください!

タイムスケジュール

時間 内容
9:30 ~ 10:00 受付
10:00 ~ 12:00 コンテスト
View db_schema_style.xsl
<?xml version="1.0" encoding="utf8"?>
<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns:s="http://sqlfairy.sourceforge.net/sqlfairy.xml">
<xsl:output method="html" encoding="utf8" doctype-public="-//W3C//DTD XHTML 1.0 Transitional//EN"/>
<xsl:template match="database">
<html lang="ja">
<head>
<meta charset="utf-8"/>
<title>テーブル定義</title>
<link rel="stylesheet" href="http://maxcdn.bootstrapcdn.com/bootstrap/3.2.0/css/bootstrap.min.css"/>
@showwin
showwin / benchmark.go
Created Feb 9, 2016
1分間に何回のリクエストを受け付けられるかのベンチマークスクリプト
View benchmark.go
package main
import (
"flag"
"fmt"
"net/http"
"strconv"
"sync"
"time"
)
@showwin
showwin / speedtest.rb
Last active Oct 9, 2015
Speedtesting Tool for Japan
View speedtest.rb
###### README ######
# Speedtesting Tool for Japan
#
# How to Use
# 1. Install pip
# `$ curl -kL https://raw.github.com/pypa/pip/master/contrib/get-pip.py | sudo python`
#
# 2. Install speedtest-cli (https://github.com/sivel/speedtest-cli)
# `$ pip install speedtest-cli`
#
You can’t perform that action at this time.