Skip to content

Instantly share code, notes, and snippets.

View sxshateri's full-sized avatar
👩‍💻
Happily Coding

Shahin Shateri sxshateri

👩‍💻
Happily Coding
View GitHub Profile
@sxshateri
sxshateri / python-hashtag-download-rest.py
Last active July 27, 2022 07:55
This is a python script to download all the tweets of a hashtag into a csv file.
import tweepy
import csv
import pandas as pd
import sys
# API credentials here
consumer_key = 'INSERT CONSUMER KEY HERE'
consumer_secret = 'INSERT CONSUMER SECRET HERE'
access_token = 'INSERT ACCESS TOKEN HERE'
access_token_secret = 'INSERT ACCESS TOKEN SECRET HERE'
@sxshateri
sxshateri / visual-composer-rtl-fix.js
Created July 30, 2019 16:05 — forked from aliaghdam/visual-composer-rtl-fix.js
WordPress Visual Composer full width row ( stretche row ) fix for RTL
jQuery(document).ready(function() {
function bs_fix_vc_full_width_row(){
var $elements = jQuery('[data-vc-full-width="true"]');
jQuery.each($elements, function () {
var $el = jQuery(this);
$el.css('right', $el.css('left')).css('left', '');
});
}
@sxshateri
sxshateri / ESP8266_web_server.ino
Created February 16, 2020 14:08
ESP8266 Relay Controller Web Serve
/*********
Shahin Shateri
ESP8266 Relay Controller Web Serve
*********/
// Load Wi-Fi library
#include <ESP8266WiFi.h>
#include <WiFiClient.h>
#include <ESP8266WebServer.h>
@sxshateri
sxshateri / gist:d9caeb653afc3e2453681047f7b9a20f
Created November 7, 2022 16:27
Autobiography of Shahin Shateri
My name is Shahin Shateri and I was born on the 6th of December, 1987 in Tehran, Iran. My parents are Rahim Shateri and Minoo Zahirfard. Both of my parents are still alive. I am the oldest among 3 boys as well as the oldest grandchild.
Dad is a retired Oil and Petroleum Engineer and Mom is a psychologist.
My early childhood was a typical middle-class environment circa the 1980’s. My dad worked for Iran National Oil Company and my mom worked for a hospital as a clinical psychologist. I had a happy, normal childhood as the oldest and first child and grandchild, leaving me somewhat spoiled. My mom and dad divorced when I was fourteen years old and neither of them got remarried again though they are still very good friends.
Growing up with split parents was not especially difficult since each of my parents kept me out of their divorce and they got along fine at events where both of them were present. I lived with my mom until I was 22 and in college. I moved to the Philippines and started a new path in life in a