Skip to content

Instantly share code, notes, and snippets.

import random
import string
import cherrypy
import spongy
import pickle
import urllib2
count = 0
class Tahlia(object):
@cherrypy.expose
import random
import string
import cherrypy
import spongy
import pickle
import urllib2
count = 0
class Tahlia(object):
@cherrypy.expose
#!/usr/bin/python
from selenium import webdriver
import time
#firefoxProfile = webdriver.FirefoxProfile()
from bs4 import BeautifulSoup
import subprocess
import random
import requests
import os
#from selenium.webdriver.support import expected_conditions as EC
@abeeku
abeeku / spongedown.py
Created October 15, 2017 06:31
Spongebob Squarepants
#!/usr/bin/python2
from selenium import webdriver
import time
firefoxProfile = webdriver.FirefoxProfile()
from bs4 import BeautifulSoup
import subprocess
import random
import requests
from selenium.webdriver.support import expected_conditions as EC
from selenium.webdriver.support.wait import WebDriverWait
from ctypes import *
import pythoncom
import pyHook
import win32clipboard
user32 = windll.user32
kernel32 = windll.kernel32
psapi = windll.psapi
@abeeku
abeeku / header.inc.php
Created February 20, 2013 22:20
My new social networking header
<?
include ("inc/scripts/mysql_connect.inc.php");
session_start();
$user = $_SESSION["user_login"];
?>
<!DOCTYPE html>
<html>
@abeeku
abeeku / audio_test.rb
Created May 14, 2011 17:22 — forked from tobytripp/audio_test.rb
Play a given audio file in Ruby
#!/usr/bin/env ruby
require 'rubygame'
include Rubygame
# Stuff that I had to do to get this running:
#
# brew install sdl sdl_mixer
# gem install rubygame rsdl
# Let's start by trying to play a random mp3 passed as an argument