특정 branch만 더 checkout 받으려면 .git/config에 아래처럼 추가하고
[svn-remote "svn-aug17-n"]
url = http://127.0.0.1/svn/someproject/branches/aug17/someproject
fetch = :refs/remotes/git-svn-aug17
fetch하고
require 'net/ssh' | |
require 'net/ssh/proxy/socks5' | |
def escape s | |
# use ruby escpae, then replace double quote to single | |
buf = s.inspect | |
buf[0]="'" | |
buf[-1]="'" | |
buf | |
end |
특정 branch만 더 checkout 받으려면 .git/config에 아래처럼 추가하고
[svn-remote "svn-aug17-n"]
url = http://127.0.0.1/svn/someproject/branches/aug17/someproject
fetch = :refs/remotes/git-svn-aug17
fetch하고
# | |
# processname: tomcat1 | |
# | |
# mkdir -p $CATALINA_HOME/var/{run,lock/subsys} | |
# echo PID_OF_TOMCAT > $CATALINA_PID | |
# $CATALINA_HOME/bin/catalina.sh stop -f | |
# | |
# source function library. | |
. /etc/rc.d/init.d/functions |
package t; | |
import java.math.BigInteger; | |
import java.net.InetAddress; | |
import java.net.UnknownHostException; | |
import java.sql.CallableStatement; | |
import java.sql.PreparedStatement; | |
import java.sql.ResultSet; | |
import java.sql.SQLException; |
from functools import lru_cache | |
class Board: | |
sizex = 5 | |
sizey = 5 | |
def __init__(self,str): | |
self.str = str | |
def get(self,i,j): | |
return self.str[self.sizex*i + j] |
public class SimpleSendMail { | |
public static void mail(final String username, final String passwd, String from, String to, String subject, String body, | |
File file) { | |
Properties props = new Properties(); | |
props.put("mail.smtp.host", "smtp.gmail.com"); | |
props.put("mail.smtp.socketFactory.port", "465"); | |
props.put("mail.smtp.socketFactory.class", "javax.net.ssl.SSLSocketFactory"); | |
props.put("mail.smtp.auth", "true"); | |
props.put("mail.smtp.port", "465"); |
switches = [(0,1,2), | |
(3,7,9,11), | |
(4,10,14,15), | |
(0,4,5,6,7), | |
(6,7,8,10,12), | |
(0,2,14,15), | |
(3,14,15), | |
(4,5,7,14,15), | |
(1,2,3,4,5), | |
(3,4,5,9,13)] |
#b:: | |
IfWinExist,DBeauty | |
WinMove,DBeauty,,0,0,1240*2+800,1000 | |
WinActivate | |
return | |
#v:: | |
IfWinExist,DbVisualizer | |
WinMove,DbVisualizer,,0,0,1240*3,1000 | |
WinActivate |
<context:property-placeholder | |
ignore-resource-not-found="true" | |
location="classpath:database.properties,classpath:database-${mode}.properties" /> |
<bean class="org.springframework.web.servlet.handler.SimpleMappingExceptionResolver"> | |
<property name="warnLogCategory" value="my.custom.apperror.log.domain" /> | |
</bean> |