Skip to content

Instantly share code, notes, and snippets.

View jcsumlin's full-sized avatar
👔
Working

Chat Sumlin jcsumlin

👔
Working
View GitHub Profile
@jcsumlin
jcsumlin / .zshrc
Created September 10, 2025 15:51
ohmyzsh config
export ZSH="$HOME/.oh-my-zsh"
ZSH_THEME="kphoen"
plugins=(
git
bundler
dotenv
macos
rake
@jcsumlin
jcsumlin / Borderlands-3-VIP-Code-Mass-Redeem.py
Last active October 11, 2019 17:38
This is not an exploit it just expedites the redemption of the currently valid BL3 VIP Codes. You still need to have a valid account and login for this to work.
"""
HOW TO GET 21450 VIP POINTS IN BL 3
1) go to https://borderlands.com/en-US/vip-codes/
2) Open browser Developer tools and open to the network tab
3) try and redeem a fake code ex: 123
4) Look in the network tab in the dev tools again
5) find the POST request to redeem?cid={some number here}
6) Copy the COOKIE from under the Request Headers of that specific request
7) Paste it in this script in the COOKIE variable
8) RUN
@jcsumlin
jcsumlin / isValidPassword.js
Created March 19, 2018 02:35
checks password against conditions.
# -*- coding: utf-8 -*-
"""
Created on Sat Mar 10 10:09:08 2018
@author: Chat
"""
password = None
newpass = input("Enter your new password: ")
confirmpass = input("Please confirm new password: ")
@jcsumlin
jcsumlin / sellOrNot.js
Created March 19, 2018 02:34
Takes in the target pricing of a stock and whether or not you should sell.
# -*- coding: utf-8 -*-
"""
Created on Sat Mar 10 10:03:18 2018
@author: Chat
"""
target = float(input("Enter target price: "))
current = float(input("Enter the current price: "))
while current < target:
@jcsumlin
jcsumlin / calculateDiscount.js
Created March 19, 2018 02:33
Function that takes in input of sales and details to calculate a discount if avaliable.
# -*- coding: utf-8 -*-
"""
Created on Sat Mar 10 13:02:49 2018
@author: Chat
"""
def discount(prices, isPet, nItems):
total = 0
if nItems >= 5:
# -*- coding: utf-8 -*-
"""
Created on Sat Mar 10 09:34:50 2018
@author: Chat
"""
status = input("Are you married or single (M or S)? ")
income = float(input("What is you income?"))
if status.lower() == "s" and income <= 8000:
taxrate = 0.1
{
"Version": "2012-10-17",
"Statement": [
{
"Sid": "PublicReadGetObject",
"Effect": "Allow",
"Principal": {
"AWS": "*"
},
"Action": "s3:GetObject",
@jcsumlin
jcsumlin / is-open-or-closed.html
Last active March 22, 2017 20:05
WEBSITE - Javascript: Is the restaurant open or closed?
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>Title</title>
</head>
<body>
<div id="sign"></div>
<script>
var q = new Date();