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
FOO.moduleName = function () { | |
// Private variables, global to the module. | |
let fieldX; // This value will be changed. | |
const foo; // This value will not change. | |
/** | |
* Constructor | |
*/ |
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
{ | |
"terminal.integrated.profiles.windows": { | |
"Command Prompt": { | |
"path": [ | |
"${env:windir}\\Sysnative\\cmd.exe", | |
"${env:windir}\\System32\\cmd.exe" | |
], | |
"args": [], | |
"icon": "terminal-cmd" | |
}, |
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
{ | |
"workbench.colorCustomizations": { | |
"terminal.background": "#212121", | |
"terminal.foreground": "#f8f8f2", | |
"terminalCursor.background": "#f8f8f2", | |
"terminalCursor.foreground": "#f8f8f2", | |
"terminal.ansiBlack": "#212121", | |
"terminal.ansiBlue": "#82aaff", | |
"terminal.ansiBrightBlack": "#626483", | |
"terminal.ansiBrightBlue": "#82aaff", |
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
<filteringRules> | |
<filteringRule name="SQLInjection" scanQueryString="true"> | |
<appliesTo> | |
<clear /> | |
<add fileExtension=".asp" /> | |
<add fileExtension=".aspx" /> | |
</appliesTo> | |
<denyStrings> | |
<clear /> | |
<add string="@@version" /> |
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
<cffunction name="arrayOfStructsToXML" access="public" output="false" returntype="any"> | |
<cfargument name="data" type="array" required="true"> | |
<cfscript> | |
var buffer = createObject("java","java.lang.StringBuilder").init(''); | |
var y = arrayLen(arguments.data); | |
var xData = ""; | |
buffer.append('<games>'); | |
for (local.x = 1; local.x <= local.y; local.x++) { | |
local.stGame = arguments.data[local.x]; | |
buffer.append('<game>'); |
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
<cfoutput> | |
<cfloop from="1" to="#len(loadFields.body)#" index="q"> | |
[#asc(mid(loadFields.body, q, 1))#]- | |
</cfloop> | |
</cfoutput> |
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
# If you come from bash you might have to change your $PATH. | |
# export PATH=$HOME/bin:/usr/local/bin:$PATH | |
# Path to your oh-my-zsh installation. | |
export ZSH=/Users/adrianmoreno/.oh-my-zsh | |
export NVM_DIR=~/.nvm | |
source $(brew --prefix nvm)/nvm.sh | |
# Set name of the theme to load. Optionally, if you set this to "random" |
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
<cfsavecontent variable="post">--- | |
layout: post | |
title: "#blogTitle#" | |
date: #blog.post_date# #blog.post_time# -0500 | |
categories: #blog.post_categories# | |
redirect_from: | |
- /blog/index.cfm/#year(blog.post_date)#/#month(blog.post_date)#/#day(blog.post_date)#/#blog.post_alias#/ | |
- /blog/index.cfm/#year(blog.post_date)#/#month(blog.post_date)#/#day(blog.post_date)#/#blog.post_alias_lower#/ | |
--- |
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
<cfoutput> | |
<cfloop query="blog"> | |
<cfset blogPost = blog.post_more> | |
<cfif len(blogPost) GT 0> | |
<cfset blogPost = reReplaceNoCase(blogPost, "\<\/h[0-9]\>", "", "all")> | |
<cfset blogPost = reReplaceNoCase(blogPost, "\<\h1\>", "#chr(35)# ", "all")> | |
<cfset blogPost = reReplaceNoCase(blogPost, "\<\h2\>", "#chr(35)##chr(35)# ", "all")> | |
<cfset blogPost = reReplaceNoCase(blogPost, "\<\h3\>", "#chr(35)##chr(35)##chr(35)# ", "all")> | |
<cfset blogPost = reReplaceNoCase(blogPost, "\<\h4\>", "#chr(35)##chr(35)##chr(35)##chr(35)# ", "all")> | |
<cfset blogPost = reReplaceNoCase(blogPost, "\<\h5\>", "#chr(35)##chr(35)##chr(35)##chr(35)##chr(35)# ", "all")> |
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
/* | |
******* Run on both main and US Soccer databases ******** | |
*/ | |
SET ANSI_NULLS ON | |
GO | |
SET QUOTED_IDENTIFIER ON | |
GO | |
CREATE FUNCTION dbo.integerListToTable ( @strString varchar(max)) |
NewerOlder