This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
alert('hello world'); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd"> | |
<plist version="1.0"> | |
<dict> | |
<key>Label</key> | |
<string>nginx</string> | |
<key>Program</key> | |
<string>/usr/local/sbin/nginx</string> | |
<key>KeepAlive</key> | |
<true/> | |
<key>NetworkState</key> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<Call name="addConnector"> | |
<Arg> | |
<New class="org.eclipse.jetty.server.nio.SelectChannelConnector"> | |
<Set name="forwarded">true</Set> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$(document).ready(function() { | |
$('#foo').bind('click', function() { | |
doSomething(); | |
}); | |
}); | |
var doSomething = function(){ | |
$('#foo').unbind('click'); | |
$.ajax({ |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<if test=”stringValue == ‘Y’”> | |
AND A.COLUMN1 = #{condition} | |
</if> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
char y = 'Y'; | |
int code = (int)y; // code에는 Y의 코드값인 89가 저장된다. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<if test='stringValue == "Y"'> | |
AND A.COLUMN1 = #{condition} | |
</if> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# PATH | |
export PATH="/usr/local/bin:/usr/local/sbin:~/bin:$PATH" | |
# Prompt | |
PS1='[\u \W]\$ ' | |
# Prompt Color | |
export CLICOLOR=1 | |
export TERM=xterm-color | |
export LSCOLORS=FxGxbxfxhxgxexhbabdxDx |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
TEST_DB = | |
(DESCRIPTION = | |
(ADDRESS = (PROTOCOL = TCP)(HOST = 127.0.0.1)(PORT = 1521)) | |
(CONNECT_DATA = (SID = sidName)(SERVER = serverName)) | |
) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import cx_Oracle | |
connection = cx_Oracle.connect("ID", "PASSWORD", cx_Oracle.makedsn("HOST", 1521, "SID")) | |
cursor = connection.cursor() | |
cursor.execute("select count(*) from test_table"); | |
print cursor.fetchall() | |
cursor.close() | |
connection.close() |
OlderNewer