Skip to content

Instantly share code, notes, and snippets.

@voluntas
voluntas / shiguredo_lunch.rst
Last active February 14, 2024 16:30
時雨堂を支える食堂

時雨堂を支える食堂

日時

2019-03-17

時雨堂

バージョン

19.3.0

url

https://shiguredo.jp/

概要

@neonexus
neonexus / OpenSSL Commands.md
Last active May 17, 2016 14:24
AWS ELB OpenSSL commands list

Generate KEY and CSR:

openssl req -new -newkey rsa:2048 -nodes -keyout DOMAIN.key -out DOMAIN.csr

Echo the KEY in PEM format:

openssl rsa -in DOMAIN.key -outform PEM

Echo the CRT in PEM format:

@d11wtq
d11wtq / docker-ssh-forward.bash
Created January 29, 2014 23:32
How to SSH agent forward into a docker container
docker run -rm -t -i -v $(dirname $SSH_AUTH_SOCK) -e SSH_AUTH_SOCK=$SSH_AUTH_SOCK ubuntu /bin/bash
@voluntas
voluntas / shiguredo_env.rst
Last active April 16, 2024 13:18
時雨堂を支える環境

時雨堂を支える環境

日時

2024-04-16

時雨堂

バージョン

2024.2

url

https://shiguredo.jp/

2024-04 時点で従業員は全員フルリモート勤務中

anonymous
anonymous / preforking_server.rb
Created December 27, 2012 00:51
sample code from "Working With Unix Processes" $ telnet localhost 3000
require 'socket'
socket = TCPServer.open('0.0.0.0', 3000)
[:INT, :QUIT].each do |signal|
Signal.trap(signal) {
wpids.each { |wpid| Process.kill(signal.wpid) }
}
end
@niw
niw / MIT-LICENSE.txt
Created August 25, 2012 12:48
Toggle Host AP Mode on Mac OS X, Using undocumented APIs.
Copyright (C) 2012 Yoshimasa Niwa
Permission is hereby granted, free of charge, to any person obtaining
a copy of this software and associated documentation files (the
"Software"), to deal in the Software without restriction, including
without limitation the rights to use, copy, modify, merge, publish,
distribute, sublicense, and/or sell copies of the Software, and to
permit persons to whom the Software is furnished to do so, subject to
the following conditions:
@tomykaira
tomykaira / my.cnf
Created June 9, 2012 07:13 — forked from sowawa/my.cnf
mysql config for rackhub
# Example MySQL config file for small systems.
#
# This is for a system with little memory (<= 64M) where MySQL is only used
# from time to time and it's important that the mysqld daemon
# doesn't use much resources.
#
# MySQL programs look for option files in a set of
# locations which depend on the deployment platform.
# You can copy this option file to one of those
# locations. For information about these locations, see:
@mattn
mattn / sinachiku.rb
Created May 8, 2012 06:06
sinatra on mruby
require 'HTTP'
require 'UV'
module Sinachiku
@routes = { 'GET' => [], 'POST' => [] }
def self.route(method, path, opts, &block)
@routes[method] << [path, opts, block]
end
def self.do(r)
@routes[r.method].each {|path|