Skip to content

Instantly share code, notes, and snippets.

View deadcheat's full-sized avatar
⛱️
deadcheat is #allelite now

deadcheat deadcheat

⛱️
deadcheat is #allelite now
  • Tokyo
View GitHub Profile
@rgl
rgl / wait_for_http_200.sh
Last active March 7, 2024 17:08
Wait for an HTTP endpoint to return 200 OK with Bash and curl
bash -c 'while [[ "$(curl -s -o /dev/null -w ''%{http_code}'' localhost:9000)" != "200" ]]; do sleep 5; done'
# also check https://gist.github.com/rgl/c2ba64b7e2a5a04d1eb65983995dce76
@onk
onk / .rubocop.yml
Last active January 15, 2018 02:30
僕の使っている .rubocop.yml
# rubocop v0.35.0 から inherit_gem という機能が増えたので gem にしました
# https://github.com/onk/onkcop
inherit_gem:
onkcop: "config/rubocop.yml"
@akishin
akishin / sidekiq
Last active December 20, 2015 08:59
Gitlab の起動スクリプトを Passenger で使うために Sidekiq のみにしたもの。
#!/bin/bash
#
# Sidekiq
# chkconfig: 2345 82 55
# processname: sidekiq
# description: Runs sidekiq
# Include RedHat function library
. /etc/rc.d/init.d/functions
@kenjiskywalker
kenjiskywalker / nginx_ssl_server_name.md
Last active February 18, 2024 21:11
nginxのserver_nameとSSLの設定についてのメモ