Skip to content

Instantly share code, notes, and snippets.

View hilotech's full-sized avatar

SHIOBARA Hiroaki hilotech

View GitHub Profile
@hilotech
hilotech / install.sh
Created May 13, 2015 20:02
ConoHa [VPSでコラボ]自分たち専用のGitHub構築スクリプト
#!/bin/bash
set -e
set -u
FQDN='gitlab.example.com'
MY_PORT='8001'
FULL_URL="http://$FQDN:$MY_PORT/"
DIST='https://downloads-packages.s3.amazonaws.com/centos-6.6/gitlab-ce-7.10.1~omnibus.2-1.x86_64.rpm'
*** "C:\\Users\\h_siobar\\AppData\\Local\\Code\\app-0.3.0\\resources\\app\\client\\vs\\monaco\\ui\\workbench\\native\\native.main.css.orig" Wed Jun 3 17:12:21 2015
--- "C:\\Users\\h_siobar\\AppData\\Local\\Code\\app-0.3.0\\resources\\app\\client\\vs\\monaco\\ui\\workbench\\native\\native.main.css" Fri Jun 5 23:16:52 2015
***************
*** 1 ****
--- 1,5 ----
+ .monaco-editor {
+ word-break: break-all !important;
+ }
+
/*---------------------------------------------------------
@hilotech
hilotech / install.sh
Created July 2, 2015 02:34
ConoHa : Redmineインストールスクリプト
#!/bin/bash
set -e
set -u
# must replace with your own configuration
FQDN='redmine.your.domain'
MYSQL_ROOT_PASSWORD='root_password'
DB_APP_PASSWORD='redmine_database_password'
@hilotech
hilotech / install.sh
Created July 2, 2015 02:35
ConoHa : ownCloudインストールスクリプト
#!/bin/bash
set -e
set -u
# must replace with your own configuration
MYSQL_ROOT_PASSWD=your_mysql_root_password
MYSQL_OWNCLOUD_PASSWD=your_owncloud_admin_password
MYSQL_HOST=localhost
@hilotech
hilotech / install.sh
Created July 2, 2015 02:37
ConoHa : Cloudfuseインストールスクリプト
#!/bin/bash
set -e
set -u
# must replace with your own configuration
OBJS_TENANT='your_tenant_name'
OBJS_USERNAME='your_user_name'
OBJS_AUTHURL='your_api_auth_url'
OBJS_PASSWORD='your_password'
@hilotech
hilotech / install.sh
Created July 2, 2015 02:38
ConoHa : memcachedインストールスクリプト
#!/bin/bash
set -e
set -u
# must replace with your own configuration
WEB_SERVER_A_IP='your_ip_addr'
WEB_SERVER_B_IP='your_ip_addr'
MEMCACHED_SERVER_IP='your_ip_addr'
# dl test
dl one
: definition
dl two
: definition
@hilotech
hilotech / install-letschat.sh
Created August 4, 2015 05:58
Let's Chatのインストールスクリプト(CentOS 6.x w/ bash)
#!/bin/bash
set -e
set -u
# must replace with your own configuration
FQDN='letschat.your.domain'
yum -y install httpd git
@hilotech
hilotech / install-redmine.sh
Created August 4, 2015 05:59
Redmine 3.0.2のインストールスクリプト(CentOS 6.x w/ bash)
#!/bin/bash
set -e
set -u
# must replace with your own configuration
FQDN='redmine.your.domain'
MYSQL_ROOT_PASSWORD='root_password'
DB_APP_PASSWORD='redmine_database_password'
#!/bin/bash
# Usage: (cat /etc/fstab && sleep 20 && cat /etc/fstab ) | ./test.sh
interval=10
function _do() {
echo "$@" | cat -n
}
CR='
'
while true
do