Skip to content

Instantly share code, notes, and snippets.

View guilhermesilveira's full-sized avatar

Guilherme Silveira guilhermesilveira

View GitHub Profile
{
"transfer": "Transfer",
"transaction_feed": "Transaction Feed",
"change_name": "Change Name"
}
We can't make this file beautiful and searchable because it's too large.
color,director_name,num_critic_for_reviews,duration,director_facebook_likes,actor_3_facebook_likes,actor_2_name,actor_1_facebook_likes,gross,genres,actor_1_name,movie_title,num_voted_users,cast_total_facebook_likes,actor_3_name,facenumber_in_poster,plot_keywords,movie_imdb_link,num_user_for_reviews,language,country,content_rating,budget,title_year,actor_2_facebook_likes,imdb_score,aspect_ratio,movie_facebook_likes
Color,James Cameron,723,178,0,855,Joel David Moore,1000,760505847,Action|Adventure|Fantasy|Sci-Fi,CCH Pounder,Avatar ,886204,4834,Wes Studi,0,avatar|future|marine|native|paraplegic,http://www.imdb.com/title/tt0499549/?ref_=fn_tt_tt_1,3054,English,USA,PG-13,237000000,2009,936,7.9,1.78,33000
< HCI Command: LE Set Scan Parameters (0x08|0x000b) plen 7 #9 [hci0] 15.240172
Type: Passive (0x00)
Interval: 60.000 msec (0x0060)
Window: 30.000 msec (0x0030)
Own address type: Public (0x00)
Filter policy: Ignore not in white list (0x01)
> HCI Event: Command Complete (0x0e) plen 4 #10 [hci0] 15.241998
LE Set Scan Parameters (0x08|0x000b) ncmd 1
Status: Success (0x00)
@guilhermesilveira
guilhermesilveira / covid_19_data.csv
Created February 27, 2020 16:27
coronavirus from john hopkins
SNo ObservationDate Province/State Country/Region Last Update Confirmed Deaths Recovered
1 01/22/2020 Anhui Mainland China 1/22/2020 17:00 1.0 0.0 0.0
2 01/22/2020 Beijing Mainland China 1/22/2020 17:00 14.0 0.0 0.0
3 01/22/2020 Chongqing Mainland China 1/22/2020 17:00 6.0 0.0 0.0
4 01/22/2020 Fujian Mainland China 1/22/2020 17:00 1.0 0.0 0.0
5 01/22/2020 Gansu Mainland China 1/22/2020 17:00 0.0 0.0 0.0
6 01/22/2020 Guangdong Mainland China 1/22/2020 17:00 26.0 0.0 0.0
7 01/22/2020 Guangxi Mainland China 1/22/2020 17:00 2.0 0.0 0.0
8 01/22/2020 Guizhou Mainland China 1/22/2020 17:00 1.0 0.0 0.0
9 01/22/2020 Hainan Mainland China 1/22/2020 17:00 4.0 0.0 0.0
We can't make this file beautiful and searchable because it's too large.
id,date,price,bedrooms,bathrooms,sqft_living,sqft_lot,floors,waterfront,view,condition,grade,sqft_above,sqft_basement,yr_built,yr_renovated,zipcode,lat,long,sqft_living15,sqft_lot15
"7129300520","20141013T000000",221900,3,1,1180,5650,"1",0,0,3,7,1180,0,1955,0,"98178",47.5112,-122.257,1340,5650
"6414100192","20141209T000000",538000,3,2.25,2570,7242,"2",0,0,3,7,2170,400,1951,1991,"98125",47.721,-122.319,1690,7639
"5631500400","20150225T000000",180000,2,1,770,10000,"1",0,0,3,6,770,0,1933,0,"98028",47.7379,-122.233,2720,8062
"2487200875","20141209T000000",604000,4,3,1960,5000,"1",0,0,5,7,1050,910,1965,0,"98136",47.5208,-122.393,1360,5000
"1954400510","20150218T000000",510000,3,2,1680,8080,"1",0,0,3,8,1680,0,1987,0,"98074",47.6168,-122.045,1800,7503
"7237550310","20140512T000000",1.225e+006,4,4.5,5420,101930,"1",0,0,3,11,3890,1530,2001,0,"98053",47.6561,-122.005,4760,101930
"1321400060","20140627T000000",257500,3,2.25,1715,6819,"2",0,0,3,7,1715,0,1995,0,"98003",47.3097,-122.327,2238,6819
Frota TAG Data-Hora PositionX PositionY PositionZ Speed Heading Direction FieldStatTypeCode Km/h
KOM 830E CA20 15/12/18 19:00:00 552435,1146 9360647,538 178 0 2438 0 D3 0
KOM 830E CA02 15/12/18 19:00:00 550663,0835 9359936,589 453 0 1324 0 D3 0
KOM 830E CA06 15/12/18 19:00:00 551143,5274 9360771,431 274 0 832 0 D3 0
KOM 830E CA12 15/12/18 19:01:00 550650,8462 9360016,437 436 0 945 0 D3 0
KOM 830E CA07 15/12/18 19:01:00 551229,6275 9360756,007 264 0 2841 0 D3 0
KOM 830E CA15 15/12/18 18:53:00 550623,1625 9360010,318 430 331 224 0 D3 11,92
KOM 830E CA15 15/12/18 18:55:00 550629,2911 9359982,677 429 0 2584 0 D3 0
KOM 830E CA15 15/12/18 18:58:00 550795,2865 9359887,351 431 626 1520 0 D3 22,54
KOM 830E CA15 15/12/18 19:00:00 551019,7265 9359807,331 365 502 1499 0 D3 18,07
@guilhermesilveira
guilhermesilveira / gist:5e2f3ae4f60a2929897f8ef4da99a73e
Created August 19, 2018 11:26
Talos normalizer returning 1000
import talos
import tensorflow.keras as keras
talos.models.lr_normalizer(1000, keras.optimizers.Adam)
// passo 3: pedir demais: 5 itens
recommendations = recommender.recommend(2, 5);
for (RecommendedItem recommendation : recommendations) {
System.out.println(recommendation);
}
// passo 4: nao ter o usuario, e ai?
// passo 5: adicionar o usuario...
// passo 6: nao recomendou nada... pegar os mais antigos
recommendations = recommender.recommend(6, 5);
# aqui estao as definicoes de funcoes
def da_boas_vindas
puts "Bem-vindo ao jogo de adivinhação"
puts "Qual é o seu nome?"
nome = gets
puts "\n\n\n\n\n\n"
puts "Começaremos o jogo para você, #{nome}"
end
def sorteia_numero_secreto