Skip to content

Instantly share code, notes, and snippets.

View renjujv's full-sized avatar
🥷
Stealth Mode on

Renju Paul Jose renjujv

🥷
Stealth Mode on
View GitHub Profile
@renjujv
renjujv / guide-to-prompt-engineering-2025.md
Last active June 23, 2025 17:03
2025 Guide to Prompt Engineering in your editor for Software Engineers - May 18

2025 Guide to Prompt Engineering in your editor for Software Engineers - May 18

Taken from https://read.highgrowthengineer.com/p/2025-guide-to-prompt-engineering?utm_source=substack&publication_id=1504485&post_id=163770890&utm_medium=email&utm_content=share&utm_campaign=email-share&isFreemail=true&r=1tq5mv&triedRedirect=true&hide_intro_popup=true

If you’re a software engineer in 2025, you should be using Agent Mode in your editor, either in VSCode, Cursor, or Windsurf. It’s by far the single biggest productivity boost I’ve ever experienced.

If you haven’t tried it yet, it’s a more advanced ChatGPT in your editor that can understand your codebase, answer questions, write features for you, write tests, and review your changes. I usually use it to write features and answer questions for me.

Use agent mode in VS Code Agent Mode in VSCode making edits to the code For those who have or haven’t tried it, you’ll need to know how to prompt it to get the most out of it. Though many of the same principles apply, t

@paolocarrasco
paolocarrasco / README.md
Last active July 6, 2025 14:26
How to understand the `gpg failed to sign the data` problem in git

Problem

You have installed GPG, then tried to commit and suddenly you see this error message after it:

error: gpg failed to sign the data
fatal: failed to write commit object

Debug

@ibraheem4
ibraheem4 / postgres-brew.md
Last active April 19, 2025 14:27 — forked from sgnl/postgres-brew.md
Installing Postgres via Brew (OSX)

Installing Postgres via Brew

Pre-Reqs

Brew Package Manager

In your command-line run the following commands:

  1. brew doctor
  2. brew update
@florentbr
florentbr / #selenium-chrome-authentication-extension
Last active April 26, 2025 12:34
Chrome extension to automatically set the credentials.
To build the extension, update the username/password and zip `background.js` and `manifest.json` in a single archive.
[
{
"name": "",
"official_name_en": "Channel Islands",
"official_name_fr": "Îles Anglo-Normandes",
"ISO3166-1-Alpha-2": "",
"ISO3166-1-Alpha-3": "",
"M49": "830",
"ITU": "",
"MARC": "",
@Aquazus
Aquazus / CurrencyCode.java
Created June 12, 2016 20:11
An enum of ISO 4217 Currency Codes with description
public enum CurrencyCode {
/*This program is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
@nilz3ro
nilz3ro / iso.countries.js
Last active November 18, 2023 05:38
Write json file
// Paste this in a node v4.x REPL.
// let iso = require('./iso.countries.js');
// iso.writeCountryJsonFile('test.js', (country) => { let o={}; o['name'] = country['name']; o['ISO3166-1-Alpha-2'] = country['ISO3166-1-Alpha-2']; o['code'] = country['ISO3166-1-Alpha-2']; o['Dial'] = country['Dial']; return o;});
'use strict';
let fs = require('fs');
let countries;
const writeCountryJsonFile = (outputFilename, mapFunction) => {
@isaacs
isaacs / node-and-npm-in-30-seconds.sh
Last active April 14, 2025 11:07
Use one of these techniques to install node and npm without having to sudo. Discussed in more detail at http://joyeur.com/2010/12/10/installing-node-and-npm/ Note: npm >=0.3 is *safer* when using sudo.
echo 'export PATH=$HOME/local/bin:$PATH' >> ~/.bashrc
. ~/.bashrc
mkdir ~/local
mkdir ~/node-latest-install
cd ~/node-latest-install
curl http://nodejs.org/dist/node-latest.tar.gz | tar xz --strip-components=1
./configure --prefix=~/local
make install # ok, fine, this step probably takes more than 30 seconds...
curl https://www.npmjs.org/install.sh | sh