Skip to content

Instantly share code, notes, and snippets.

View nidhog's full-sized avatar
🍫
eating chocolate

Ismail E. nidhog

🍫
eating chocolate
View GitHub Profile
@nidhog
nidhog / get_schwifty.sh
Created July 23, 2018 13:48
Get schwifty rick morty show me what you got cli matrix
clear
echo "\n\n\n ___\n . -^ '--, \n /# ========='-_ \n /# (--====___====\ \n /# .- --. . --.| \n/## | * ) ( * ),\n|## \ /\ \ / | \n|### --- \ --- | \n|#### ___) #| \n|###### ##| \n \##### ---------- / \n \#### ( \n '\### | \n \### | \n \## | \n \###. .) \n '======/"
sleep 1
clear
echo "\n\n\n ___\n . -^ '--, \n /# ========='-_ \n /# (--====___====\ \n /# .- --. . --.| \n/## | * ) ( * ),\n|## \ /\ \ / | _____________________________\n|### --- \ --- | / \\ \n|#### ___) #| / SHOW ME WHAT YOU GOT! |\n|###### ##| /________________________________/\n \##### ---------- / \n \#### ( \n '\### | \n \### | \n \## | \n
@simecek
simecek / facebook_mining.r
Created January 18, 2012 18:26
Facebook Mining
# 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 = "" ) )