This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import sleekxmpp | |
import logging | |
from chatterbotapi import ChatterBotFactory, ChatterBotType | |
factory = ChatterBotFactory() | |
bot1 = factory.create(ChatterBotType.CLEVERBOT) | |
bot1session = bot1.create_session() | |
logging.basicConfig(level=logging.DEBUG) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/python3 | |
# -*- coding: utf-8 -*- | |
# pip3 install pyquery requests reportlab | |
import json | |
import pyquery | |
import re | |
import requests | |
import reportlab.lib.utils |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import pygame | |
from pygame.locals import QUIT, KEYDOWN, K_ESCAPE, K_RETURN, \ | |
K_TAB, K_BACKSPACE, K_UP, K_LEFT, K_DOWN, K_RIGHT, K_EQUALS, K_MINUS | |
from math import sqrt, cos, sin, pi | |
from random import randint as random | |
from random import shuffle | |
from os import listdir | |
from os.path import join, isdir, isfile, expanduser | |
from mimetypes import guess_type |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# 2048.py | |
# Written in python / pygame by DavidSousaRJ - david.sousarj@gmail.com | |
# License: Creative Commons | |
# Sorry about some comments in portuguese! | |
import os | |
import sys | |
import pygame | |
from pygame.locals import * | |
from random import randint |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
from selenium import webdriver | |
from bs4 import BeautifulSoup, SoupStrainer | |
from time import sleep | |
browser = webdriver.Chrome() | |
browser.get("https://volafile.io/r/kUFzLJ") | |
sleep(4) | |
element = browser.find_element_by_tag_name("div") |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
" | |
" ███████████████████████████ | |
" ███████▀▀▀░░░░░░░▀▀▀███████ | |
" ████▀░░░░░░░░░░░░░░░░░▀████ | |
" ███│░░░░░░░░░░░░░░░░░░░│███ | |
" ██▌│░░░░░░░░░░░░░░░░░░░│▐██ | |
" ██░└┐░░░░░░░░░░░░░░░░░┌┘░██ | |
" ██░░└┐░░░░░░░░░░░░░░░┌┘░░██ | |
" ██░░┌┘▄▄▄▄▄░░░░░▄▄▄▄▄└┐░░██ | |
" ██▌░│██████▌░░░▐██████│░▐██ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env bash | |
function exists { hash $1 2>/dev/null; } | |
function !exists { hash $1 >/dev/null 2>&1; } | |
function elevate{ | |
if [ $EUID != 0 ]; then | |
sudo "$0" "$@" | |
exit $? | |
fi |
OlderNewer