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
| APPNAME=grandfathering | |
| ENVIRONMENT=test | |
| COMMANDBOX_LOCATION=C\:\\commandbox | |
| ROOT_FOLDER=C:\\dev\\cf\\mywebsite |
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
| component { | |
| // Configure ColdBox Application | |
| function configure(){ | |
| //Register interceptors as an array, we need order | |
| interceptors = [ | |
| // Enable when meeded to intercept QB calls | |
| { | |
| class = "interceptors.qbInterceptor", |
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
| component alias="daos.card" singleton { | |
| property name="query" inject="provider:QueryBuilder@qb"; | |
| function update( required numeric id, required struct dto ) { | |
| return query.from( "my_table" ) | |
| .where( "my_primary_id", id ) | |
| .update( dto ); | |
| } |
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
| component displayname="AppDynamics Custom Data Logger" { | |
| variables.agentDelegate = ""; | |
| variables.dataScope = ""; | |
| variables.appDynamicsReporter =""; | |
| variables.allScopes = ""; | |
| public AppDynamicsManager function init() { | |
| setAppDynamicsReporter(); | |
| return this; |
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
| component displayname="NewRelic Custom Data Logger" { | |
| variables.newRelicAgent = ""; | |
| public NewRelicManager function init() { | |
| setNewRelicAgent(); | |
| return this; | |
| } | |
| private void function setNewRelicAgent() { |
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
| { | |
| "name": "Lucee Administrator Scheduled Tasks Bootstrap UI", | |
| "version": "1.0.0", | |
| "slug": "lucee-scheduled-tasks", | |
| "type": "modules", | |
| "author": "Evagoras Charalambous", | |
| "homepage": "https://github.com/evagoras/lucee-scheduled-tasks", | |
| "shortDescription": "A Bootstrap 4 UI frontend for the Lucee Administrator Server Scheduled Tasks", | |
| "projectURL": "https://github.com/evagoras/lucee-scheduled-tasks", | |
| "location": "evagoras/lucee-scheduled-tasks", |
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
| # First install the CommandBox module | |
| box install commandbox-osgi | |
| # `cd` into the folder of the JAR that I need to convert | |
| cd C:\dev\sites\abc\lib | |
| # run the command | |
| osgi convert file path=gson-2.8.5.jar bundleName=com.mycompany.myproject bundleVersion=1.0.0 | |
| # use my newly created bundle in CFML |
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
| $HTTP["host"] =~ "(^|\.)mysite\.com$" { | |
| server.document-root = "/var/www/mysite.com/httpdocs" | |
| server.errorlog = "/var/www/mysite.com/error.log" | |
| accesslog.filename = "/var/www/mysite.com/access.log" | |
| server.error-handler-404 = "/index.php?error=404" | |
| var.wpdir = "/" | |
| url.rewrite-once = ( |
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
| <form class="form-search" action="/" method="get"> | |
| <div class="input-append"> | |
| <input id="s" class="span3 search-query" type="text" name="s" value="" /> | |
| <button class="btn" type="submit">Search</button> | |
| </div> | |
| </form> |
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
| SELECT * | |
| FROM view_all_posts | |
| LIMIT 0, 10 |