Skip to content

Instantly share code, notes, and snippets.

View jacks0n9's full-sized avatar

Jackson jacks0n9

  • Null, null
View GitHub Profile
import requests
print("Preparing to slow down...")
while True:
x = requests.get('http://192.168.1.1')
print(x)
@jacks0n9
jacks0n9 / selferase.py
Last active August 2, 2020 14:47
A self erasing program, trying to make it self contained.
f = open('selferase.py','wb')
f.write()
#include <iostream>
using namespace std;
int calc(int first, int second, int op){
int result;
if(op == '-'){
result = first - second;
} else if(op == '+') {
@jacks0n9
jacks0n9 / guess.c
Last active October 15, 2020 01:42
#include <stdio.h>
#include <stdlib.h>
int main() {
int correct = 17;
int guess;
int guesses = 3;
int left = 3;
while(left != 0){
printf("Enter guess: ");
scanf("%i", &guess);
import praw
import pdb
import re
import os
reddit = praw.Reddit('bot1')
if not os.path.isfile("posts_replied_to.txt"):
posts_replied_to = []
with open("posts_replied_to.txt", "r") as f:
using System;
namespace bruhapp
{
class Program
{
private static void Main(string[] args)
{
Console.WriteLine("The first argument you passed into the app is {0}",args[0]);
Console.WriteLine("Hey bruh, what's ya name?");
https://gist.github.com/a6a25dfb5b0f5cf105ee179f3dda6d9e
https://gist.github.com/4f761bf440d92a5f094819148eed54ec
https://gist.github.com/599addd51cad8ed1ceba88a6eeed3aca
https://gist.github.com/c08dd2b64c4b685d4db6a2e56f9fba5d