Skip to content

Instantly share code, notes, and snippets.

View nimdasys's full-sized avatar

Paul H nimdasys

  • Independent Contractor - Self Employed
  • Northern, WI
View GitHub Profile
--type-add=css=.sass,.less,.scss
--type-add=ruby=.rake,.rsel,.builder,.thor
--type-add=html=.haml,.html.erb,.html.haml
--type-add=js=.js.erb,.coffee
--type-set=cucumber=.feature
--type-set=c=.c,.cpp,.ino,.pde,.h
--ignore-dir=vendor
--ignore-dir=log
--ignore-dir=tmp
--ignore-dir=doc
function injectGitFileStatus()
{
const timeout = 5000;
const addedColor = "#98C379";
const modifiedColor = "#D19A66";
const stagedColor = "#E06059";
const ignoredOpacity = "0.4";
const explorer = document.getElementById("workbench.view.explorer");
if (explorer)
<div style="clear:both">
<cfdump var="#GetHttpRequestData()#" label="GetHttpResponseData() Values"/>
<cfdump var="#Session#" label="Session">
<cfdump var="#Cookie#" label="Cookie">
<cfdump var="#Request#" label="Request">
<cfdump var="#Form#" label="Form">
<cfdump var="#URL#" label="URL">
<cfdump var="#application#" label="application">
<cfdump var="#cgi#" label="cgi">
<cfdump var="#Variables#" label="Variables">
<cfset runtime = CreateObject("java","java.lang.Runtime").getRuntime() />
<cfset freeMemory = runtime.freeMemory() / 1024 / 1024 />
<cfset totalMemory = runtime.totalMemory() / 1024 / 1024 />
<cfset maxMemory = runtime.maxMemory() / 1024 / 1024 />
<cfoutput>
Free Allocated Memory: #Round(freeMemory)#mb<br>
Total Memory Allocated: #Round(totalMemory)#mb<br>
Max Memory Available to JVM: #Round(maxMemory)#mb<br>
</cfoutput>