Skip to content

Instantly share code, notes, and snippets.

View gavinmclelland's full-sized avatar
👻
(3, 3)

Gavin M'CLELLAND gavinmclelland

👻
(3, 3)
View GitHub Profile
@gavinmclelland
gavinmclelland / default.md
Created July 8, 2025 18:08 — forked from cablej/default.md
Cluely System prompt

<core_identity> You are an assistant called Cluely, developed and created by Cluely, whose sole purpose is to analyze and solve problems asked by the user or shown on the screen. Your responses must be specific, accurate, and actionable. </core_identity>

<general_guidelines>

  • NEVER use meta-phrases (e.g., "let me help you", "I can see that").
  • NEVER summarize unless explicitly requested.
  • NEVER provide unsolicited advice.
  • NEVER refer to "screenshot" or "image" - refer to it as "the screen" if needed.
  • ALWAYS be specific, detailed, and accurate.
@gavinmclelland
gavinmclelland / default.md
Created July 8, 2025 18:08 — forked from cablej/default.md
Cluely System prompt

<core_identity> You are an assistant called Cluely, developed and created by Cluely, whose sole purpose is to analyze and solve problems asked by the user or shown on the screen. Your responses must be specific, accurate, and actionable. </core_identity>

<general_guidelines>

  • NEVER use meta-phrases (e.g., "let me help you", "I can see that").
  • NEVER summarize unless explicitly requested.
  • NEVER provide unsolicited advice.
  • NEVER refer to "screenshot" or "image" - refer to it as "the screen" if needed.
  • ALWAYS be specific, detailed, and accurate.
@gavinmclelland
gavinmclelland / security.cfm
Created November 6, 2013 20:51
Basic SQL INJECTION ATTACK PROTECTION WITH REWRITE RULES
<cfoutput>
<h1>
HACK ATTEMPT LOGGED FROM IP: #remote_addr#
</h1>
#DateFormat(Now(), "MM-DD-YYYY")# @ #TimeFormat(Now(), "HH:MM:SS")#
#script_name#&#query_string#
@gavinmclelland
gavinmclelland / .HTACCESS for PCFG_OPENFILE
Created November 6, 2013 16:58
.HTACCESS PCFG_OPENFILE: UNABLE TO CHECK HTACCESS FILE, ENSURE IT IS READABLE If your running across this error in your error logs, there may be a simple solution for you. This 403 error is usually caused by having AllowOverride set to All. You can either fix this by Chmod’ding all your files to 644 (not very elegant) or paste the following into…
AllowOverride none
Order deny,allow
Allow from none
@gavinmclelland
gavinmclelland / random key loss in struct
Created November 4, 2010 18:01
key [SHOWDEBUGINFORMATION] doesn't exist in struct
Thu Nov 04 10:57:21 PDT 2010-253 Release: (49)
Thu Nov 04 10:57:21 PDT 2010-255 Call:/rewrite.cfm (49)
Thu Nov 04 10:57:21 PDT 2010-300 Call:/rewrite.cfm (87)
Thu Nov 04 10:57:21 PDT 2010-301 Release: (14)
Thu Nov 04 10:57:21 PDT 2010-320 Release: (17)
key [SHOWDEBUGINFORMATION] doesn't exist in struct (keys:VERSION,SERVERVERSION,SERVERNAME,RELOADPASSWORD)
at railo.runtime.type.util.StructSupport.invalidKey(StructSupport.java:30):30
at railo.runtime.type.StructImpl.get(StructImpl.java:78):78
at railo.runtime.util.VariableUtilImpl.get(VariableUtilImpl.java:244):244
at railo.runtime.PageContextImpl.get(PageContextImpl.java:1288):1288
@gavinmclelland
gavinmclelland / errorlog_railo-wheels-confirmed
Created November 3, 2010 23:58
key [wheels] doesn't exist in struct (keys:)
Wed Nov 03 16:56:50 PDT 2010-169 Call:/rewrite.cfm (4)
Wed Nov 03 16:56:50 PDT 2010-231 Release: (4)
Wed Nov 03 16:56:50 PDT 2010-237 Call:/rewrite.cfm (4)
Wed Nov 03 16:56:50 PDT 2010-271 Release: (4)
key [wheels] doesn't exist in struct (keys:)
at railo.runtime.type.util.StructSupport.invalidKey(StructSupport.java:30):30
at railo.runtime.type.StructImpl.get(StructImpl.java:78):78
at railo.runtime.type.util.StructSupport.get(StructSupport.java:122):122
at railo.runtime.util.VariableUtilImpl.get(VariableUtilImpl.java:316):316
at railo.runtime.util.VariableUtilImpl.getCollection(VariableUtilImpl.java:228):228
@gavinmclelland
gavinmclelland / errorlog_railo-wheels
Created November 3, 2010 21:24
key [wheels] doesn't exist in struct (keys:)
Wed Nov 03 14:13:39 PDT 2010-843 Call:/rewrite.cfm (2)
Wed Nov 03 14:13:39 PDT 2010-887 Release: (2)
key [wheels] doesn't exist in struct (keys:)
at railo.runtime.type.util.StructSupport.invalidKey(StructSupport.java:30):30
at railo.runtime.type.StructImpl.get(StructImpl.java:78):78
at railo.runtime.type.util.StructSupport.get(StructSupport.java:122):122
at railo.runtime.util.VariableUtilImpl.get(VariableUtilImpl.java:316):316
at railo.runtime.util.VariableUtilImpl.getCollection(VariableUtilImpl.java:228):228
at railo.runtime.PageContextImpl.getCollection(PageContextImpl.java:1251):1251
at wheels.controller.initialization_cfm$cf.udfCall(/Users/gavin/workspace/FusegridSDK/workspace/default/wheels/controller/initialization.cfm:49):49
@gavinmclelland
gavinmclelland / errorlog_railo-wheels
Created November 3, 2010 21:24
key [wheels] doesn't exist in struct (keys:)
Wed Nov 03 14:13:39 PDT 2010-843 Call:/rewrite.cfm (2)
Wed Nov 03 14:13:39 PDT 2010-887 Release: (2)
key [wheels] doesn't exist in struct (keys:)
at railo.runtime.type.util.StructSupport.invalidKey(StructSupport.java:30):30
at railo.runtime.type.StructImpl.get(StructImpl.java:78):78
at railo.runtime.type.util.StructSupport.get(StructSupport.java:122):122
at railo.runtime.util.VariableUtilImpl.get(VariableUtilImpl.java:316):316
at railo.runtime.util.VariableUtilImpl.getCollection(VariableUtilImpl.java:228):228
at railo.runtime.PageContextImpl.getCollection(PageContextImpl.java:1251):1251
at wheels.controller.initialization_cfm$cf.udfCall(/Users/gavin/workspace/FusegridSDK/workspace/default/wheels/controller/initialization.cfm:49):49