Skip to content

Instantly share code, notes, and snippets.

View alexcambose's full-sized avatar
🦄

Alexandru Cambose alexcambose

🦄
View GitHub Profile
@alexcambose
alexcambose / index.html
Created July 9, 2017 20:32
Emmet login form. Just press TAB :)
div.container>div.row>div.col-md-6.col-md-offset-3>div.panel.panel-default>div.panel-body>form[method=post]>(div.form-group>label[for=email]{Your email}+input[type=email name=email]#email.form-control)+(div.form-group>label[for=password]{Your password}+input[type=password name=password]#password.form-control)+button[type=submit].btn.btn-primary{Login}
@alexcambose
alexcambose / domains.csv
Created July 24, 2017 16:10
One milion domain names
We can't make this file beautiful and searchable because it's too large.
1,google.com
2,youtube.com
3,facebook.com
4,baidu.com
5,yahoo.com
6,amazon.com
7,wikipedia.org
8,google.co.in
9,twitter.com
10,qq.com
@alexcambose
alexcambose / cities.json
Created July 24, 2017 16:11
13749 cities in Romania
This file has been truncated, but you can view the full file.
[
{
"X": 23.57,
"Y": 46.07,
"NUME": "Alba Iulia",
"JUDET": "Alba",
"JUDET AUTO": "AB"
},
{
"X": 23.58,
@alexcambose
alexcambose / counties
Created September 7, 2017 14:47
All 41 counties from romania
['Alba',
'Arad',
'Argeş',
'Bacău',
'Bihor',
'Bistriţ',
'Botoşani',
'Braşov',
'Brăila',
'Buzău',
@alexcambose
alexcambose / Android Privacy Policy
Last active September 16, 2017 10:22 — forked from alphamu/Android Privacy Policy Template
Rapoarte Drumuri Privacy Policy
<html>
<body>
<h2>Privacy Policy</h2>
<p>Alexandru Cambose built the Rapoarte Drumuri app as a open source app. This SERVICE is provided by Alexandru Cambose at no cost and is intended
for use as is.</p>
<p>This page is used to inform website visitors regarding my policies with the collection, use, and
disclosure of Personal Information if anyone decided to use my Service.</p>
<p>If you choose to use my Service, then you agree to the collection and use of information in
relation with this policy. The Personal Information that I collect are used for providing and
improving the Service. I will not use or share your information with anyone except as described
'Abrud', 'Adjud', 'Agnita', 'Aiud', 'Alba Iulia', 'Aleșd', 'Alexandria', 'Amara', 'Anina', 'Aninoasa', 'Arad', 'Ardud', 'Avrig', 'Azuga', 'Babadag', 'Băbeni', 'Bacău', 'Baia de Aramă',
'Baia de Arieș', 'Baia Mare', 'Baia Sprie', 'Băicoi', 'Băile Govora', 'Băile Herculane', 'Băile Olănești', 'Băile Tușnad', 'Băilești', 'Bălan', 'Bălcești', 'Balș', 'Băneasa', 'Baraolt',
'Bârlad', 'Bechet', 'Beclean', 'Beiuș', 'Berbești', 'Berești', 'Bicaz', 'Bistrița', 'Blaj', 'Bocșa', 'Boldești-Scăeni', 'Bolintin-Vale', 'Borșa', 'Borsec', 'Botoșani', 'Brad', 'Bragadiru',
'Brăila', 'Brașov', 'Breaza', 'Brezoi', 'Broșteni', 'Bucecea', 'București', 'Budești', 'Buftea', 'Buhuși', 'Bumbești-Jiu', 'Bușteni', 'Buzău', 'Buziaș', 'Cajvana', 'Calafat', 'Călan',
'Călărași', 'Călimănești', 'Câmpeni', 'Câmpia Turzii', 'Câmpina', 'Câmpulung Moldovenesc', 'Câmpulung', 'Caracal', 'Caransebeș', 'Carei', 'Cavnic', 'Căzănești', 'Cehu Silvaniei',
'Cernavodă', 'Chișineu-Criș', 'Chitila', 'Ciacova', 'Cisnădie', 'Cluj-Napoca', 'Codlea', 'Comănești',
@alexcambose
alexcambose / numToBase.js
Created November 23, 2017 07:07
Convert any number to any base
const numToBase = (number, base) => {
let newNum = 0;
let p10 = 1;
while(number) {
newNum = newNum + (number % base) * p10;
p10 *= 10;
number = Math.floor(number / base);
}
return newNum;
@alexcambose
alexcambose / first_names.txt
Created February 19, 2018 21:33
List of first names
AAFILE
AANEI
AARSHAT
ABA
ABABEI
ABABI
ABABIE
ABADAL
ABADI
ABADY
@alexcambose
alexcambose / last_names.txt
Created February 19, 2018 21:33
List of last names
This file has been truncated, but you can view the full file.
AAMAR
AANCUTE
AANCUTEI
AANDRIESEI
AANEGROAE
AANEI
AANI
AANICAI
AANII
AANITAI
import threading
import time
import urllib.request
global x;
x=0
def workf():
global x;
while True:
urllib.request.urlopen('http://')
x=x+1