Skip to content

Instantly share code, notes, and snippets.

Shahin Shateri sxshateri

Block or report user

Report or block sxshateri

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
@sxshateri
sxshateri / visual-composer-rtl-fix.js
Created Jul 30, 2019 — forked from aliaghdam/visual-composer-rtl-fix.js
WordPress Visual Composer full width row ( stretche row ) fix for RTL
View visual-composer-rtl-fix.js
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 / python-hashtag-download-rest.py
Last active Aug 25, 2019
This is a python script to download all the tweets of a hashtag into a csv file.
View python-hashtag-download-rest.py
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'
You can’t perform that action at this time.