Skip to content

Instantly share code, notes, and snippets.

🍴
Playing with Tide pods

Gary dos Santos LameLemon

Block or report user

Report or block LameLemon

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
@LameLemon
LameLemon / linfoxdomain-scraper.py
Created May 20, 2019
Downloads all flash games from linfoxdomain.com
View linfoxdomain-scraper.py
from time import sleep
from urllib.request import urlopen
from urllib.request import Request
from urllib.request import urlretrieve
import requests
from bs4 import BeautifulSoup as soup
import os
def scrape(category, down_path):
if not os.path.exists(down_path):
@LameLemon
LameLemon / http_server.c
Last active Jun 10, 2018
A simple HTTP Server in C
View http_server.c
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <sys/socket.h>
#include <sys/types.h>
#include <netinet/in.h>
int main() {
// Char array to hold html file text
@LameLemon
LameLemon / TwitterSubPoster.py
Last active Mar 15, 2018
Tweets hot posts from a given subreddit.
View TwitterSubPoster.py
import praw
import tweepy
from tweepy import OAuthHandler
import time
import sqlite3
'''
CONFIG INFORMATION
==================
This variables below can be put in a separate file but I've decided to keep
@LameLemon
LameLemon / TwitterPost.py
Created Feb 12, 2018
Comment on posts that have a tweet as a submission
View TwitterPost.py
import tweepy
from tweepy import OAuthHandler
import praw
# Reddit credentials go below
reddit = praw.Reddit(client_id = '',
client_secret= '',
user_agent= '',
username = '',
password = '')
You can’t perform that action at this time.