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 lang="en"> | |
<head> | |
<title>Bootstrap Example</title> | |
<meta charset="utf-8"> | |
<meta name="viewport" content="width=device-width, initial-scale=1"> | |
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.4.1/css/bootstrap.min.css"> | |
<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.4.1/jquery.min.js"></script> | |
<script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.4.1/js/bootstrap.min.js"></script> | |
</head> |
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
loc.query = New Query(datasource=get("dataSourceName")); | |
loc.query.setSQL( | |
SQL="SELECT column FROM table WHERE (',' + RTRIM(columns) + ',') LIKE '%,#value#,%'" | |
); | |
loc.query = loc.query.execute().getResult();; |
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
Verifying that "ellor1138.id" is my Blockstack ID. https://onename.com/ellor1138 |
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
// Sum a Query Column in ColdFusion | |
total = ArraySum( ListToArray( ValueList( query.col ) ) ); |
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
// Text translation for Summernote text editor (http://hackerwins.github.io/summernote) | |
'fr-CA': { | |
font: { | |
bold: 'Gras', | |
italic: 'Italique', | |
underline: 'Souligner', | |
strike: 'Barré', | |
clear: 'Retirer le style de police', | |
height: 'Hauteur de ligne', | |
name: 'Famille de polices', |
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
This will enable you to run CFWheels validation functions based on the params.action. | |
With this, you can validate certain properties only for certain actions. | |
Controller.cfc | |
Function setParamsValidation | |
Add params to the request scope. | |
YourController.cfc | |
Use a filter in your controllers to call setParamsValidation. |
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
{ | |
"date": { | |
"abbr_day_names":"Dim,Lun,Mar,Mer,Jeu,Ven,Sam" | |
,"abbr_month_names":"Janv.,Févr.,Mars,Avr.,Mai,Juin,Juil.,Août,Sept.,Oct.,Nov.,Déc." | |
,"day_names":"Dimanche,Lundi,Mardi,Mercredi,Jeudi,Vendredi,Samedi" | |
,"month_names":"Janvier,Février,Mars,Avril,Mai,Juin,Juillet,Août,Septembre,Octobre,Novembre,Décembre" | |
} | |
} |
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
// Source: http://www.google.com/codesearch#OAMlx_jo-ck/src/third_party/WebKit/Source/WebCore/platform/ColorData.gperf&exact_package=chromium&type=cs | |
// There's also an RGB one defined here: http://www.google.com/codesearch#OAMlx_jo-ck/src/third_party/WebKit/Source/WebCore/inspector/front-end/Color.js&exact_package=chromium&q=indianred&l=393 | |
var CSS_NAMED_COLORS = { | |
aliceblue: "#f0f8ff", | |
antiquewhite: "#faebd7", | |
aqua: "#00ffff", | |
aquamarine: "#7fffd4", | |
azure: "#f0ffff", | |
beige: "#f5f5dc", |