Instantly share code, notes, and snippets.

@simecek
simecek / Map+Your+Twitter+Followers.ipynb
Last active May 1, 2018
Map your Twitter followers
View Map+Your+Twitter+Followers.ipynb
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
View facebook_mining.r
# go to 'https://developers.facebook.com/tools/explorer' to get your access token
access_token <- "******************* INPUT YOUR ACCESS TOKEN ******************************"
require(RCurl)
require(rjson)
# Facebook json function copied from original (Romain Francois) post
facebook <- function( path = "me", access_token, options){
if( !missing(options) ){
options <- sprintf( "?%s", paste( names(options), "=", unlist(options), collapse = "&", sep = "" ) )
@simecek
simecek / 1-mnist-with-keras.ipynb
Created May 15, 2018
1-mnist-with-keras.ipynb
View 1-mnist-with-keras.ipynb
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
View draw_board.R
if (!require(tidyverse)) {
install.packages("tidyverse")
library(tidyverse)
}
# Game of Life visualisation
draw_board <- function(board) {
# number of rows and columns
M = nrow(board)
@simecek
simecek / timeline_scraping.ipynb
Created Aug 27, 2018
Timeline_scraping.ipynb
View timeline_scraping.ipynb
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
View lru_cache-decorator.ipynb
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@simecek
simecek / a-simple-animation-the-magic-triangle.ipynb
Last active Oct 11, 2018
A Simple Animation: The Magic Triangle
View a-simple-animation-the-magic-triangle.ipynb
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@simecek
simecek / print-is-a-function-now.ipynb
Created Jul 31, 2018
Print is a function now.ipynb
View print-is-a-function-now.ipynb
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
View gif_imageio.ipynb
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
View reprlibdemo.ipynb
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.