Skip to content

Instantly share code, notes, and snippets.

View reuf's full-sized avatar

Muhamed Halilovic reuf

View GitHub Profile
# Django #
*.log
*.pot
*.pyc
__pycache__
db.sqlite3
media
# Backup files #
*.bak
import tabula
import pandas as pd
import openpyxl
import glob, os
os.chdir("./")
table1991Census = pd.read_csv('1991CensusNoKB.csv', header=None, encoding = "ISO-8859-1", sep='\t', low_memory=False)
table1991Census.set_axis(["id", "address_id", "nas", "name", "national_id", "birthdate"], axis=1, inplace=True)
table1991Census.to_csv('1991CensusNoKB.csv', index=False)
#import tabula
#pages=[212,213]
#df = tabula.read_pdf('Knjiga_mrtvih.pdf', pages = '212')[0]
#df.columns = df.columns.str.replace('\r', ' ')
#data = df.dropna()
#print(df)
#data.to_excel('data.xlsx')
from tabula import read_pdf
from sqlalchemy import create_engine
import pymysql
import pandas as pd
table = pd.read_excel("Sarajevo.xlsx")
table2 = pd.read_excel("SrebrenicaAll.xlsx")
tableName = "knjiga_mrtvih_sarajevo"
tableName2 = "knjiga_mrtvih_srebrenica"
0.0.0.0 www.twitter.com
0.0.0.0 www.twittter.com
0.0.0.0 www.twttr.com
0.0.0.0 www.twitter.fr
0.0.0.0 www.twitter.jp
0.0.0.0 www.twitter.rs
0.0.0.0 www.twitter.uz
0.0.0.0 twitter.biz
0.0.0.0 twitter.dk
0.0.0.0 twitter.events
@reuf
reuf / gist:3265b9d5918bf70ac4ef7293612e2db8
Last active October 23, 2019 02:34
Blokada satanizirane stoke + FB + Insta + YT
# Blokada satanizirane stoke
127.0.0.1 localhost
127.0.0.1 novosti.rs
127.0.0.1 www.novosti.rs
127.0.0.1 faktor.ba
127.0.0.1 www.faktor.ba
127.0.0.1 www.quora.com
127.0.0.1 quora.com
127.0.0.1 www.9gag.tv
127.0.0.1 9gag.tv
# https://www.w3resource.com/python-exercises/python-basic-exercise-73.php
import math
x1, y1 = float(input("x1 = ")), float(input("y1 = "))
x2, y2 = float(input("x2 = ")), float(input("y2 = "))
p1 = [x1, y1]
p2 = [x2, y2]
mid = [(x1+x2)/2, (y1+y2)/2]
print(mid)
# https://www.w3resource.com/python-exercises/python-basic-exercises.php
# 68. Write a Python program to calculate the sum of the digits in an integer.
def sumOfDigsInInt(integer):
sum = 0
# Method 1:
# counter = integer
# while counter > 0:
# if int(integer/10) > 0:
@reuf
reuf / suppliers.txt
Created August 30, 2019 22:19 — forked from antoniocampos/suppliers.txt
DropShipping List
Here are 30 different suppliers:
1 – Oberlo verified suppliers or US
2 – DX .com– A.K.A. Deal Extreme has been around for many years and has some amazing products that you could sell with great margins.
3 – WholesaleCentral .com– One of the most comprehensive list of free drop shippers which you could find in virtually any niche. They are also free.
4 – FragranceNet – This is a great source if you are looking to sell perfumes and fragrances.
5 – Vitabase– A great source to supply vitamins for skin, health and beauty drop shipped products.
6 – DressLink .com– A great source if you plan on selling dresses with amazing margins.
7 – Tiny Deal – Similar to DX but you could find unique products as well.
8 – Milanoo– A great supplier of wedding dresses, prom dresses.
9 – Dino Direct – Another awesome source for electronic products and gadgets.
I am answering this question in a hope Phishing attackers on Quora, who are upvoting my answers in an attempt to get me to click on their profile and visit their phishing website, will read it (and upvote it of course). The answer will be fun, keep on reading.
I will answer as if I am acutally speakig to the phisher who is trying to take me on.
Yo phisher, my friend, your tactic is shitty.
Your phishing attack on Quora(also on FB, Instagram, etc.) goes like this:
You are a “girl”, with a generic name, e.g. “Kimberly Armstrong”, looking 20–25, and having scanty photo of some random girl, and you upvote my answer.
On your profile there are zeros on all your stats. There is only a link to your webpage.