This file contains 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
class Test { | |
def hello() { | |
println "Hello" | |
} | |
} |
This file contains 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
public class Test { | |
} |
This file contains 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
<Searchplugin xmlns="http://www.mozilla.org/2006/browser/search/"> | |
<shortname>Custom Search</shortname> | |
<description>Custom Search Description</description> | |
<inputencoding>UTF-8</inputencoding> | |
<Image width="16" height="16">data:image/gif;base64</Image> | |
<Url type="text/html" method="GET" template="my url"> | |
<Param name="my parameter" value="{searchTerms}"/> | |
</Url> | |
<SearchForm>my url</SearchForm> |
This file contains 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
<p>Recent Posts:</p> | |
<div id="posts"> | |
<%= partial("shared/post", :with => @posts) %> | |
</div> | |
สร้าง views/shared/_post.html.erb | |
<div id="post-<%= post.id %>" class="post"> | |
<p class="body"><%= h(post.body) %></p> | |
<p class="created"><%= relative_date(post.create_date) %></p> |
This file contains 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
<h3>Post Message</h3> | |
<form action="/posts/create" method="post"> | |
<textarea name="body" cols="50" rows="3"></textarea> | |
<input value="Post" type="submit"> | |
</form> |
This file contains 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
<project> | |
.... | |
.... | |
.... | |
<repositories> | |
<!-- Necessary if using snapshot builds of SpringSource products (as above) --> | |
<repository> | |
<id>SpringSource Enterprise Bundle Repository - External Bundle Snapshots</id> | |
<url>http://repository.springsource.com/maven/bundles/snapshot</url> | |
</repository> |
This file contains 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
<dependency> | |
<groupId>taglibs</groupId> | |
<artifactId>standard</artifactId> | |
<version>1.1.2</version> | |
</dependency> | |
<dependency> | |
<groupId>jstl</groupId> | |
<artifactId>jstl</artifactId> | |
<version>1.1.2</version> | |
</dependency> |
This file contains 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
CMDDB = | |
(DESCRIPTION = | |
(ADDRESS_LIST = | |
(ADDRESS = (PROTOCOL = TCP)(HOST = 172.18.0.226)(PORT = 1521)) | |
) |
This file contains 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
function readXml($domnode, &$array) | |
{ | |
$array_ptr = &$array; | |
$domnode = $domnode->firstChild; | |
while (!is_null($domnode)) | |
{ | |
switch ($domnode->nodeType) | |
{ | |
case XML_TEXT_NODE: if(!(trim($domnode->nodeValue) == "")) | |
$array_ptr['cdata'] = $domnode->nodeValue; |
This file contains 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
function readXml($domnode, &$array) | |
{ | |
$array_ptr = &$array; | |
$domnode = $domnode->firstChild; | |
while (!is_null($domnode)) | |
{ | |
switch ($domnode->nodeType) | |
{ | |
case XML_TEXT_NODE: if(!(trim($domnode->nodeValue) == "")) | |
$array_ptr['cdata'] = $domnode->nodeValue; |
OlderNewer