Skip to content

Instantly share code, notes, and snippets.

View hilotech's full-sized avatar

SHIOBARA Hiroaki hilotech

View GitHub Profile
@hilotech
hilotech / auto_push.sh
Created October 12, 2015 17:33
auto_push
#!/bin/bash
# /usr/local/bin/auto_push
# Usage:
# # auto_push init /path/to/working/dir git@git:path/to.git
# # auto_push /path/to/working/dir git@git:path/to.git &
# SETUP:
# Add a line like below to: /etc/rc.d/rc.local ( a+x )
# auto_push /path/to/working/dir git@git:path/to.git &
# Then
# # systemctl start rc-local
#!/bin/bash
# Usage: (cat /etc/fstab && sleep 20 && cat /etc/fstab ) | ./test.sh
interval=10
function _do() {
echo "$@" | cat -n
}
CR='
'
while true
do
@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'
@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
# dl test
dl one
: definition
dl two
: definition
@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'
@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: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: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'
*** "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;
+ }
+
/*---------------------------------------------------------