여러가지 Unix 도구가 있다. http://unix.stackexchange.com/a/19010
pssh
pdsh
clusterssh
clusterit
mussh
I18n.t 'datetime.distance_in_words.x_days', count: date_range |
use 5.010; | |
use UUID::Tiny; | |
use MIME::Base64::URLSafe; | |
foreach(1..1000000) { | |
$v=create_UUID(UUID_V1); | |
say $v.urlsafe_b64encode($v); | |
} |
<bean id="propertyConfigurer" class="org.springframework.beans.factory.config.PropertyPlaceholderConfigurer"> | |
<property name="ignoreResourceNotFound" value="true" /> | |
<property name="searchSystemEnvironment" value="true" /> | |
<property name="systemPropertiesModeName" value="SYSTEM_PROPERTIES_MODE_OVERRIDE" /> | |
</bean> |
#!/bin/bash | |
# chkconfig: 2345 95 20 | |
# description: This application was developed by me and is tested on this server | |
# processname: my_app | |
# | |
# Tomcat 8 start/stop/status init.d script | |
# Initially forked from: https://gist.github.com/valotas/1000094 | |
# @author: Miglen Evlogiev <bash@miglen.com> | |
# | |
# Release updates: |
여러가지 Unix 도구가 있다. http://unix.stackexchange.com/a/19010
pssh
pdsh
clusterssh
clusterit
mussh
WIP | |
# Gemfile안에 gem 'activerecord'를 gem 'activerecord', path: 'somewhere' 로 바꾼다. | |
# ruby를 실행할 때 -I 옵션을 잘 준다? | |
# bundle open activerecord로 직접 고치고, 끝나고 나면 bundle exec gem pristine activerecord로 원복해둔다. |
import java.sql.*; | |
public class ConnectionAlone { | |
@SuppressWarnings("unused") | |
public static void main(String[] args) throws SQLException { | |
try { | |
Class.forName("com.mysql.jdbc.Driver"); | |
} catch (ClassNotFoundException e) { | |
} |