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
(function() { | |
var originalRequest = Ext.Ajax.request; | |
Ext.Ajax.request = function(o) { | |
if (!(/config\/environment/.test(o.url))) { | |
o.url = String.format("/myprependString/{0}", o.url.replace(/^\//, '')); | |
} | |
return originalRequest.call(this, o); | |
}; |
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
/** | |
* The final thing is to add a tap listener that is called whenever the user taps on the screen. | |
* We do a quick check to make sure they're not tapping on the carousel indicators (tapping on | |
* those indicators moves you between items so we don't want to override that), then either hide | |
* or show the info Component. | |
*/ | |
Ext.Viewport.element.on('tap', function(e) { | |
if (!e.getTarget('.x-carousel-indicator')) { | |
if (titleVisible) { | |
info.element.removeCls('apod-title-visible'); |
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
{ | |
"parser": "babel-eslint", | |
"env": { | |
"browser": true, | |
"node": true, | |
"worker": true, | |
"es6": true | |
}, | |
"globals": {}, | |
"plugins": [ |
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
# Project Instructions for Code-Generating LLMs | |
Every time you opt to implement a rule(s), explicitly articulate the rule(s) in the output. You can shorten the rule description to a single word or phrase. | |
## Project Context | |
The project is focused on developing a chatbot that does cool things | |
- List | |
- Your | |
- Features |
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
# bragdoc.ai - instructions for code-generating LLMS | |
Every time you choose to apply a rule(s), explicitly state the rule(s) in the output. You can abbreviate the rule description to a single word or phrase. | |
## Project Context | |
The project is called bragdoc.ai and is a chatbot that helps users keep a brag document about their achievements at work. Key features: | |
- Reads/listens to user messages, creates rows in a Achievements table for each achievement the user mentioned | |
- Creates weekly/monthly/performance review documents based on the data in the Achievements table | |
- Integrates with GitHub to extract achievements from commit messages and pull request descriptions |
OlderNewer