Skip to content

Instantly share code, notes, and snippets.

View leo-isso's full-sized avatar
💻
Working!

Leonardo Isso leo-isso

💻
Working!
View GitHub Profile
@leo-isso
leo-isso / check_server.py
Created October 11, 2019 17:07
Check Telavita's Servers
import requests
import sys
from time import sleep
from datetime import datetime
servers = [
{
"value": 0,
"prefix": "",
@leo-isso
leo-isso / facebook_comment_script.js
Last active January 15, 2019 20:31
Looping comments on Facebook with timeout (so you don't get banned)
let randomString = () => Math.random().toString(36).substring(7)
let delay = 7000
let initialTimer = 7000
let loops = 3500
fetchData = () => {
/**
* COPY THE FETCH HERE
* IDENTIFY THE TEST STRING
* OVERWRITE IT WITH THE randomString()
@leo-isso
leo-isso / grid.sass
Last active October 25, 2018 17:33
Dynamic grid width calc for SASS.
$gutter: 20%
=columns($ac, $tc: 12, $gp: $gutter)
// * $cw - column width
// * $tc - total columns
// * $ac - actual column (how many columns)
// * $oc - one column (width)
// * $tw - total width
$tw: 100%
@leo-isso
leo-isso / gmail_smtp.py
Created July 31, 2018 23:08
Python Simple Gmail SMTP
import smtplib
gmail_smtp = 'smtp.gmail.com:587'
from_mail = 'from_mail@gmail.com'
to_mail = 'to_mail@gmail.com'
mail_subject = 'Title/Subject'
mail_body = 'My email content...'
mail_content = "\r\n".join([
"From: " + from_mail,