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
.example1 { | |
background-color: #efefef; | |
background-image: | |
-webkit-linear-gradient(0, rgba(222,213,108,.07) 50%, transparent 50%), | |
-webkit-linear-gradient(0, rgba(201,184,88,.13) 50%, transparent 50%), | |
-webkit-linear-gradient(0, transparent 50%, rgba(168,137,73,.17) 50%), | |
-webkit-linear-gradient(0, transparent 50%, rgba(99,78,60,.19) 50%); | |
background-image: | |
-moz-linear-gradient(0, rgba(222,213,108,.07) 50%, transparent 50%), | |
-moz-linear-gradient(0, transparent 50%, rgba(201,184,88,.13) 50%), |
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
<cfset tests = [ | |
xmlParse('<?xml version="1.0"?> <html><body><ul><li>foo</li><li>bar</li></ul></body></html>'), | |
xmlParse('<?xml version="1.0"?> <html xmlns="http://www.w3.org/1999/xhtml"><body><ul><li>foo</li><li>bar</li></ul></body></html>') | |
] /> | |
<cfloop array="#tests#" index="i"> | |
<cfset results = xmlSearch(i, '/html/body/ul/li') /> | |
<cfdump var="#results#" /> | |
</cfloop> |
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
<cfscript> | |
paths = []; | |
paths[1] = expandPath("./tagsoup-1.2.jar"); | |
loader = createObject("component", "javaloader/JavaLoader").init(paths); | |
</cfscript> |
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
<cfscript> | |
local.query = new Query(datasource = 'testDatasource'); | |
local.query.setSql(' | |
INSERT INTO testTable | |
( | |
type, | |
message | |
) VALUES ( | |
:type, |
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
<cfdump var="#isDate('12345-0001')#" label="Is Date? 12345-0001" /> | |
<cfdump var="#isDate('12345-0010')#" label="Is Date? 12345-0010" /> | |
<cfdump var="#isDate('12345-0100')#" label="Is Date? 12345-0100" /> | |
<cfdump var="#isDate('12345-1000')#" label="Is Date? 12345-1000" /> |
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
<cfscript> | |
index action="purge" collection="test"; | |
testQuery = queryNew('key,body,title,something'); | |
for(i = 1; i < 15; i++) { | |
queryAddRow(testQuery); | |
querySetCell(testQuery, 'key', i); | |
querySetCell(testQuery, 'body', 'Testing: ' & i); |
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
find . -name ".svn" -exec rm -rf {} \; |
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
<!doctype html> | |
<html> | |
<head> | |
<title>External Links Example</title> | |
</head> | |
<body> | |
<h1>External Links Example</h1> | |
<div class="newWindow"> | |
<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
<cfcomponent output="false"> | |
<cfscript> | |
public component function init() { | |
variables.columns = []; | |
variables.extend = createObject('component', 'extend').init(); | |
return this; | |
} | |
public void function addColumn(struct options = {}) { |