Skip to content

Instantly share code, notes, and snippets.

View pAulseperformance's full-sized avatar
🛴
Working from home

Paul Mendes pAulseperformance

🛴
Working from home
View GitHub Profile
@pAulseperformance
pAulseperformance / .cursorrules
Created June 2, 2025 09:04 — forked from boxabirds/.cursorrules
Rock solid: turn Cursor into a rock-solid software engineering companion
# Project Policy
This policy provides a single, authoritative, and machine-readable source of truth for AI coding agents and humans, ensuring that all work is governed by clear, unambiguous rules and workflows. It aims to eliminate ambiguity, reduce supervision needs, and facilitate automation while maintaining accountability and compliance with best practices.
# 1. Introduction
> Rationale: Sets the context, actors, and compliance requirements for the policy, ensuring all participants understand their roles and responsibilities.
## 1.1 Actors
@pAulseperformance
pAulseperformance / ⏰ Daily Productivity Stats - 2020-12-20
Last active December 22, 2020 06:25
Daily Productivity Stats - Rescue Time
⏰ Stats for December 20th 2020
Productivity Pulse 4h 53m ███████▏░░ 72%
All Productive 4h 30m █████████▏ 92%
All Distracting 1m 49s ░░░░░░░░░░ 1%
Neutral 21m 20s ▋░░░░░░░░░ 7%
@pAulseperformance
pAulseperformance / gist:2a34572967d85fcf2d4bbd989138d7cf
Last active December 6, 2020 21:05
Weekly Development WakaTime Stats
We couldn’t find that file to show.
@pAulseperformance
pAulseperformance / pinescript_matrix_permutation.py
Created October 17, 2019 16:22
String Permutations For Pinescript Matrix
# https://www.mathsisfun.com/combinatorics/combinations-permutations-calculator.html
b1 = 'b1'
b2= 'b2'
b3='b3'
b4='b4'
b5='b5'
b6='b6'
a1 = [b1],[b2],[b3],[b4],[b5],[b6]
a2 = [b1,b2],[b1,b3],[b1,b4],[b1,b5],[b1,b6],[b2,b3],[b2,b4],[b2,b5],[b2,b6],[b3,b4],[b3,b5],[b3,b6],[b4,b5],[b4,b6],[b5,b6]
@pAulseperformance
pAulseperformance / selenium_tools.py
Last active June 19, 2019 00:24
Useful Selenium Techniques with python
# Download entire webpage including all javascript, html, css of webpage. Replicates ctrl+s when on a webpage.
from selenium.webdriver.common.action_chains import ActionChains
from selenium.webdriver.common.keys import Keys
def save_current_page():
ActionChains(browser).send_keys(Keys.CONTROL, "s").perform()
@pAulseperformance
pAulseperformance / gmail_email.py
Created April 11, 2019 22:37
Simple Gmail Notification Function for Python standard library
import smtplib, ssl
import settings
message = """\
Subject: Here I am.
This message was sent from Python."""
def send_gmail(message):
port = 465 # For SSL
import pandas as pd
import sqlite3
conn = sqlite3.connect('/path/to/where/you/want/to/store/your/db')
c = conn.cursor()
df = pd.DataFrame([{'Column1':'Data','Column2':'Base'}])
df.to_sql("SQLDatabase", conn, if_exists="replace")