Skip to content

Instantly share code, notes, and snippets.

View oojewale's full-sized avatar
💭
working remotely

Olaide Ojewale oojewale

💭
working remotely
View GitHub Profile
@oojewale
oojewale / pr-desc.md
Created December 8, 2025 22:24
Cursor Prompt For Generating PR Description

Role

You're a best-in-class software engineer.

Your job is to produce a high-quality pull request description that is clear, impactful, and helpful for reviewers.


Goal

@oojewale
oojewale / commit.md
Created December 8, 2025 22:24
Cursor Prompt For Commit Message

Role

You're a best-in-class software engineer. Your job is to analyze the code changes in the workspace and produce an excellent commit message.


Goal

Create a clear, concise, and high-impact commit message that accurately communicates the intent, value, and effect of the changes.

@oojewale
oojewale / update_asana_priority.py
Created May 13, 2020 07:25
Update custom field on Asana task with information from Google sheet.
from __future__ import print_function
import pickle
import os.path
import string
import requests
from googleapiclient.discovery import build
from google_auth_oauthlib.flow import InstalledAppFlow
from google.auth.transport.requests import Request
# If modifying these scopes, delete the file token.pickle.
@oojewale
oojewale / pre-commit
Last active March 28, 2018 14:45
Prevent commit if merge conflict markers or debuggers are in your changes
#!/bin/bash
#
# This pre-commit hook checks that there are no merge conflict markers
# or debuggers in your code before committing.
#
# To use this script copy it to .git/hooks/pre-commit and make it executable.
# Work out what to diff against, HEAD will work for any established repository.
if git rev-parse --verify HEAD >/dev/null 2>&1
then
@oojewale
oojewale / setup.sh
Last active October 19, 2017 11:04
Basic env setup for Amazon AMI
#!/bin/bash
sudo yum install -y git gcc openssl-devel readline-devel zlib-devel
git clone https://github.com/rbenv/rbenv.git ~/.rbenv
echo 'export PATH="$HOME/.rbenv/bin:$PATH"' >> ~/.bash_profile
~/.rbenv/bin/rbenv init
source ~/.bash_profile
eval "$(rbenv init -)"
type rbenv
git clone https://github.com/rbenv/ruby-build.git ~/.rbenv/plugins/ruby-build
@oojewale
oojewale / openssl_commands.md
Created October 16, 2017 10:00 — forked from p3t3r67x0/openssl_commands.md
Some list of openssl commands for check and verify your keys

openssl

Install

Install the OpenSSL on Debian based systems

sudo apt-get install openssl
@oojewale
oojewale / g516-git-init.md
Last active September 4, 2016 13:20
Git Init

GIT INIT

Command: git init

This command creates an empty git repository.

If you're developing on your computer, running this command in the directory of the project you're working on would create an empty git repository there.

This implies that you can start using git within that directory i.e for that project.

@oojewale
oojewale / setting-up-git.md
Last active September 4, 2016 12:49
Setting up git on your machine. #Git516 #Gist0

Setting Up Git on Your Machine

Hi there, good to know that you're taking the preparatory step for #Git516.

If you're new to git. You can have some background information [here] (https://en.wikipedia.org/wiki/Git_(software))

To get started with git you need to install it on your machine. [This resource] (https://www.atlassian.com/git/tutorials/install-git/) would be helpful in getting this done.

If you have successfully installed git on your machine, you should also [create] (https://github.com/join?source=header-home) a free github account. Once done with this, you're set!