Skip to content

Instantly share code, notes, and snippets.

View crrapi's full-sized avatar

Christopher Rrapi crrapi

View GitHub Profile
@evantobin
evantobin / bofaaffinity.md
Last active May 7, 2024 07:25
bofa affinity card design list

About

Bank of America affinity cards allow you to get the benefits of the Customized Cash Rewards cards and Preferred Rewards without waiting 24 months between each application. There's tons of these cards out there so I thought I would make a list.

All of the BofA credit card apps use the same URL structure and just a different offer code so changing around the offer code you can uncover the designs. If you find another customized cash card let me know so I can add it and explore the nearby numbers.

You might notice duplicates. Those cards have different offer terms. Like some of the NEA cards give you an Amazon gift card as opposed to a $200 statement credit for the sign up bonus.

| name | applicationUrl | image

#!/bin/bash
COUNTER=1
SOURCE="source:/folder"
DESTINATION="destination:/folder"
while [ $COUNTER -lt 100 ]; do
@Snarp
Snarp / google-docs-copy.js
Last active June 25, 2024 06:29
Script to allow copying from a protected Google Doc
/*
<https://stackoverflow.com/questions/40296831/is-it-possible-to-force-a-copy-of-a-protected-google-doc>
NOTE - 2021-05-24
-----------------
The script below isn't the fastest way to copy-and-paste from a protected
Google Doc. Before trying it, I'd suggest following MikoFrosty's advice from
the comments:
@Naranbataar
Naranbataar / image.html
Last active May 9, 2020 18:32
discord.html working proof of concept (idk)
<body>
<div id='image'>
<h4 class='SITE'>$1</h1>
<h2 class='QUERY'>@:2</h1>
<h1 class='channel'>CTX[0]</h1>
<h4 class='id'>$channel</h1>
<input value='id'>
<form action='channel' method='get'></form>
@scragly
scragly / learning_dpy.md
Last active March 27, 2024 21:45
Learning discord.py
@Vexs
Vexs / emoji_map.json
Last active January 31, 2024 10:46
Discord emoji mapping. This is a JSON file! Please load it with json. Attempting to copy-paste it directly into python will not work! For diversity, see: https://gist.github.com/Vexs/9e4c14d41161590ca94d0d21e456fef0
{
"grinning": "\ud83d\ude00",
"smiley": "\ud83d\ude03",
"smile": "\ud83d\ude04",
"grin": "\ud83d\ude01",
"laughing": "\ud83d\ude06",
"satisfied": "\ud83d\ude06",
"face_holding_back_tears": "\ud83e\udd79",
"sweat_smile": "\ud83d\ude05",
"joy": "\ud83d\ude02",
@SeppPenner
SeppPenner / Installing Python 3.7.4 on Raspbian.rst
Last active May 9, 2024 21:52
Installing Python 3.7.4 on Raspbian

Installing Python 3.7.4 on Raspbian

As of July 2018, Raspbian does not yet include the latest Python release, Python 3.7.4. This means we will have to build it ourselves, and here is how to do it.

  1. Install the required build-tools (some might already be installed on your system).
@zthxxx
zthxxx / Activate Office 2019 for macOS VoL.md
Last active June 29, 2024 10:22
crack activate Office on mac with license file
@jegfish
jegfish / example_db.py
Last active March 19, 2024 03:26
Example code for connecting to and using a postgres database using discord.py and asyncpg.
# asyncpg docs: https://magicstack.github.io/asyncpg/current/
# This uses discord.py rewrite branch and .format(). If you are using the async branch of discord.py, it shouldn't matter much
# as only 'await ctx.send()' is something you should need to change. If you are using python 3.6+, you can use f strings as opposed to
# .format() for increased efficiency.
import discord
from discord.ext import commands
import asyncio
import asyncpg
@jagrosh
jagrosh / Github Webhook Tutorial.md
Last active June 28, 2024 03:43
Simple Github -> Discord webhook

Step 1 - Make a Discord Webhook

  1. Find the Discord channel in which you would like to send commits and other updates

  2. In the settings for that channel, find the Webhooks option and create a new webhook. Note: Do NOT give this URL out to the public. Anyone or service can post messages to this channel, without even needing to be in the server. Keep it safe! WebhookDiscord

Step 2 - Set up the webhook on Github

  1. Navigate to your repository on Github, and open the Settings Settings