Skip to content

Instantly share code, notes, and snippets.

Nando dnando

Block or report user

Report or block dnando

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
dnando / gist:7d6ad8c44c1bdb97bf3f1646dfe9f20b
Created Feb 22, 2019
Subsystems stack overflow error - stacktrace
View gist:7d6ad8c44c1bdb97bf3f1646dfe9f20b
Entries: 12
Struct (ordered)
Struct (ordered)
dnando / nginx.conf
Created Feb 3, 2017 — forked from tonyjunkes/nginx.conf
Server portion for setting up a proxy to Lucee with rewrite to have index.cfm omitted for SES.
View nginx.conf
http {
server {
listen 80;
server_name mysite.local www.mysite.local;
root C:\websites\mysite\www;
index index.cfm;
dnando / ui.cfc
Last active Aug 11, 2016
Component core of multilingual system
View ui.cfc
<cfcomponent accessors="true">
<cfproperty name="uiDataSource" default="uiDataSource" />
public any function rt( required string label, string queryString, string frameworkAction, string lan = session.lan ) {
this function takes the label passed into it, hashes it, and looks it up in the structure variables.t ( generated by loadTerms() below )
if the term is not found in the user's language, arguments.label is rendered instead
note that labels are case sensitive because a unique hash is generated for every case variation of a given string
if the user has permission to edit the UI terms and arguments.queryString exists
the label is rendered as a link to usr.editTerm&th=#termHash#&or=#origin# ( if the hash of arguments.label exists )
You can’t perform that action at this time.