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
| { | |
| "telemetry.enableTelemetry": false, | |
| "telemetry.enableCrashReporter": false, | |
| "editor.fontSize": 12, | |
| "editor.fontLigatures": true, | |
| "editor.fontFamily": "Fira Code", | |
| "editor.cursorStyle": "line", | |
| "editor.rulers": [ | |
| 80, | |
| 120 |
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
| <cfset oJSOUP = CreateObject("java", "org.jsoup.Jsoup" )> | |
| <cfset oJSOUPWL = CreateObject("java", "org.jsoup.safety.Whitelist" ).init()> | |
| <cfdump var="#oJSOUP#" expand="false"> | |
| <cfdump var="#oJSOUPWL#" expand="false"> | |
| <cfdump var="#oJSOUPWL.relaxed()#" expand="false"> | |
| <cfdump var="#oJsoup.clean('<a href="link.html"><img src="http://example.com/bild.gif"></a>', oJSOUPWL.relaxed().addAttributes("a", ["href", "class"] ).addAttributes("img", ["src", "class", "styles", "width", "height"] ).removeProtocols("a", "href", ["ftp", "http", "https", "mailto"]).removeProtocols("img", "src", ["http", "https"]) )#"> | |
| <cfdump var="#oJsoup.clean('<a href="link.html"><img src="http://example.com/bild.gif"></a>', "http://example.com/", oJSOUPWL.relaxed().preserveRelativeLinks(true))#"> |
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
| CommandBox:stmelfposy> utils normalize-line-endings *.txt --type windows | |
| Confirm normalizing line endings for 179 files : y | |
| ERROR (3.9.2+00826) | |
| variable [NEWCONTENT] doesn't exist | |
| C:\Users\bddoeble\.CommandBox\cfml\system\modules_app\utils-commands\commands\utils\normalize-line-endings.cfc: line 95 | |
| 93: } | |
| 94: | |
| 95: if ( content != newContent ) { |
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
| { | |
| "extends": ["plugin:prettier/recommended"], | |
| "rules": { | |
| "newline-after-var": "error" | |
| } | |
| } |
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> | |
| <cfset this.name = Hash( GetCurrentTemplatePath() )> | |
| <cfset this.webroot = GetDirectoryFromPath(GetCurrentTemplatePath())> | |
| </cfcomponent> |
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
| <cfset dNow = Now()> | |
| <cfset dateTimeVar = #dateTimeFormat( dNow, "yyyy.MM.dd HH:nn:ss" )# /> | |
| <cfdump var="#dNow#"> | |
| <cfdump var="#dateTimeVar#"> | |
| <cfoutput> | |
| #parseDateTime( dateTimeVar, "yyyy.MM.dd HH:mm:ss" )# | |
| #parseDateTime( dateTimeVar, "yyyy.MM.dd HH:nn:ss" )# | |
| </cfoutput> |
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://qaz.wtf/u/convert.cgi?text=Braunkohle |
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
| <!--- https://commons.apache.org/proper/commons-csv/apidocs/org/apache/commons/csv/package-summary.html ---> | |
| <cfset oCSV = createobject( "java", "org.apache.commons.csv.CSVFormat" )> | |
| <cfset oParserObj = createobject( "java", "org.apache.commons.csv.CSVParser" )> | |
| <cfdump var="#oParserObj#" expand="false"> | |
| <cfset oIOFile = createobject( "java", "java.io.File" ).init( expandpath( "./CLIENTIMPORT.csv" ) )> | |
| <cfset oCharset = createobject( "java", "java.nio.charset.StandardCharsets" )> | |
| <cfset oFormat = oCSV.EXCEL.withDelimiter( "|").withFirstRecordAsHeader().withQuote(javacast("char","")).withRecordSeparator("\r\n")> | |
| <cfdump var="#oIOFile#" expand="false"> |
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
| <cffunction name="fktA" returntype="string"> | |
| <cfargument name="struExcludeCols" type="struct"> | |
| <cfset local.strLst = "Listel1,Listel2,Listel3"> | |
| <cfscript> | |
| local.columnNames = ListFilter( | |
| strLst, | |
| function( strCol ) { | |
| return not StructKeyExists( Arguments.struExcludeCols, strCol ); |
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
| <!--- https://medium.com/@gokulraj/esapis-encodeforhtml-vs-encodeforhtmlattribute-79958c07ba0d ---> | |
| <cfset str = "HFW int. 18/2015"> | |
| <cfset stru = { | |
| strHTMLEditFormat = HTMLEditFormat(str), | |
| strEncodeForHTML = EncodeForHTML(str), | |
| strEncodeForHTMLAttribute = EncodeForHTMLAttribute(str), | |
| strEncodeForJavaScript = EncodeForJavaScript(str), | |
| str = str | |
| }> |