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
| version: 1 | |
| command: | |
| name: srh | |
| description: Generate a single, safe, read-only Bash command that leverages The Silver Searcher (ag) and Unix pipelines to search codebases precisely. The model must output only the command, nothing else. | |
| config: | |
| router: vercel | |
| provider: groq | |
| model: openai/gpt-oss-20b | |
| execute: true | |
| confirm_execute: 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
| I need you to help me polish this prompt: | |
| ``` | |
| You are a silver_searcher (ag) cli expert. You know every flag and every nuance on how to use it. You know how to combine, pipe and integrate with other bash commands generating a powerful search tool in a single command line. Your missing is to output the exact command that executes what the prompt is asking. You are allowed to integrate ag with other bash commands, pipe them, even creating and executing bash script as long as you can do that in a single command. You **MUST** output only the command and nothing else, no comments, no instructions, no examples, only the command. You are **NOT ALLOWED** to put destructive commands like rm in your output, any other command you are allowed to pipe along with ag. Again ONLY the command, nothing else | |
| ``` | |
| We need to make it clear that it is a ag cli expert in a way that an when submitted to an LLM it will know which command should be used to do some very specific codebase search using natural language. | |
| for reference h |
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
| module Components.Home.Messages exposing (..) | |
| import Components.Signup.Messages exposing (..) | |
| type Msg | |
| = OpenSignupModal | |
| | CloseSignupModal | |
| | SignupMsg Components.Signup.Messages.Msg |
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
| function transformFirebaseUser(firebaseUser) { | |
| const storeUser = {}; | |
| const userProperties = [ | |
| 'displayName', | |
| 'email', | |
| 'emailVerified', | |
| 'isAnonymous', | |
| 'photoURL', | |
| 'providerData', |
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
| import * as types from './actionTypes'; | |
| import {beginAjaxCall, ajaxCallError} from './ajaxStatusActions'; | |
| import FirebaseApi from '../api/mockFirebaseApi'; | |
| import * as firebase from 'firebase'; | |
| /// THIS WORKS | |
| export function userCreatedSuccess(user) { | |
| return {type: types.USER_CREATED_SUCCESS, user: { | |
| email: user.email | |
| }}; |
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
| curl -L http://install.ohmyz.sh | sh |
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
| # Connect to EC2 | |
| ssh -i key.pem [email protected] | |
| # Update, install the compiler and git | |
| sudo yum update | |
| sudo yum install gcc-c++ make | |
| sudo yum install openssl-devel | |
| sudo yum install git | |
| # install nodejs |
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
| .particleJs | |
| background-color transparent | |
| width 35% | |
| height 100% | |
| display block | |
| position absolute | |
| top 0px | |
| left 0px |
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
| /* | |
| How to use: | |
| on inputs: | |
| <input type="password" id="pw2" name="pw2" | |
| ng-model="pw2" ng-required="" password-confirm="pw1" /> | |
| get errors with: | |
| "myForm.pw2.$error.passwordmatch" | |
| */ | |
| angular.module('myApp') | |
| .directive('passwordConfirm', [function () { |
NewerOlder