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
.project | |
IsapiRewrite4.dll |
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
.project |
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
<!--- | |
Takes a .Net dataset and converts it to a CF structure of queries. | |
---> | |
<cffunction name="convertDotNetDataset" access="public" returnType="struct" output="false" | |
hint="takes a .Net dataset and converts it to a CF structure of queries"> | |
<cfargument name="dataset" required="true"> | |
<cfset var Local = StructNew()> | |
<cfset Local.result = structNew() /> | |
<cfset Local.aDataset = arguments.dataset.get_any() /> | |
<cfset Local.xSchema = xmlParse(Local.aDataset[1]) /> |
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
<!--- | |
Converts an excel file to a structure of arrays | |
Modded by Raymond Camden to fix incorrect col count | |
added minor changes from Tony | |
@param excelFile Excel file to parse. (Required) | |
@return Returns a struct of arrays. | |
@author anthony petruzzi (tpetruzzi@gmail.com) | |
@version 1, Sep 13, 2011 | |
http://gist.github.com/138954 |
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
(no author) = Unknown Author <unknown@example.com> | |
tpetruzzi = Tony Petruzzi <tpetruzzi@gmail.com> | |
$ git svn clone --stdlayout --no-metadata --authors-file=authors.txt <svn_repo_url> <git_tmp_repo_dir> | |
$ cd <git_tmp_repo_dir> | |
$ git branch -r | sed -rne 's, *tags/([^@]+)$,\1,p' | while read tag; do echo "git tag $tag 'tags/${tag}^'; git branch -r -d tags/$tag"; done | sh | |
$ git branch -r | grep -v tags | sed -rne 's, *([^@]+)$,\1,p' | while read branch; do echo "git branch $branch $branch"; done | sh |
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
== Web.config == | |
<?xml version="1.0"?> | |
<configuration> | |
<configSections> | |
<section name="managedFusion.rewriter" type="ManagedFusion.Rewriter.Configuration.ManagedFusionRewriterSectionGroup"/> | |
</configSections> | |
<managedFusion.rewriter xmlns="http://managedfusion.com/xsd/managedFusion/rewriter"> | |
<rules engine="Apache"> | |
<apache defaultFileName="ManagedFusion.Rewriter.txt" /> |
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
exportfiles = !sh -c 'git diff $0 --name-only | "while read files; do mkdir -p \"$1/$(dirname $files)\"; cp -vf $files $1/$(dirname $files); done"' |
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
<cfcomponent output="false"> | |
<!--- Application name, should be unique ---> | |
<cfset this.name = Hash(GetDirectoryFromPath(GetBaseTemplatePath()))> | |
<!--- How long application vars persist ---> | |
<cfset this.applicationTimeout = createTimeSpan(0,2,0,0)> | |
<!--- define custom coldfusion mappings. Keys are mapping names, values are full paths ---> | |
<cfset this.mappings = structNew()> | |
<!--- define a list of custom tag paths. ---> | |
<cfset this.customtagpaths = ""> |
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
<cfscript> | |
workBook = createObject("java", "org.apache.poi.hssf.usermodel.HSSFWorkbook").init(); | |
newSheet = workBook.createSheet(); | |
workBook.setSheetName(0, "1"); | |
count = 0; | |
</cfscript> | |
<cfloop array="#headers#" index="i"> | |
<cfscript> | |
row = newSheet.createRow(0); | |
cell = row.createCell(count); |
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
Controller save method | |
====================== | |
<cffunction name="save"> | |
<cfif len(params.chapter.chapterid)> | |
<cfset chapter = model("chapter").findByKey(params.chapter.chapterid)> | |
<cfset chapter.setproperties(params.chapter)> | |
<cfset _page.title = _pageTitle("edit")> | |
<cfelse> |
OlderNewer