Skip to content

Instantly share code, notes, and snippets.

@sergiocima
sergiocima / chatbot-per-scire.ipynb
Created April 2, 2023 23:01
Chatbot per Scire.ipynb
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
### Keybase proof
I hereby claim:
* I am sergiocima on github.
* I am sergiocima (https://keybase.io/sergiocima) on keybase.
* I have a public key ASBFogLCx7pXbSaci2ZrLAyHmnBlbDKn7MDXGnIdAErjgwo
To claim this, I am signing this object:
@sergiocima
sergiocima / Conspiracy theory
Last active August 29, 2015 14:10
Set di parole per ebola
ebola, ebola OR bigpharma, ebola OR #bigpharma, ebola OR falseflag, ebola OR #falseflag, ebola OR "false flag", ebola OR "big pharma", ebola OR PsyOp, ebola OR #PsyOp, ebola OR usrael, ebola OR #usrael, ebola OR stolen, ebola OR sheeple, ebola OR #sheeple, ebola OR lemmings, ebola OR #lemmings, ebola OR bio-weapon, ebola OR "bio weapon", ebola OR #bio-weapon, ebola OR #bioweapon
@sergiocima
sergiocima / 0_reuse_code.js
Last active August 29, 2015 14:10
Here are some things you can do with Gists in GistBox.
// Use Gists to store code you would like to remember later on
console.log(window); // log the "window" object to the console
@sergiocima
sergiocima / userid_to_screename
Created November 19, 2014 21:36
Convert userid to screename withTwython
from twython import Twython
#Auth steps
consumer_key = 'H4JOacuHuJ0RfdUnvsKb6tXge'
consumer_secret = 'jh9mLhQKImVG1SViD294pJWDql5cS5aHk2K3Lt7Z2pWeJmewRB'
twitter = Twython(consumer_key, consumer_secret)
samplefollower = []
#We create a comma separated string from the previous list
@sergiocima
sergiocima / Istogramma
Created October 31, 2014 08:35
Plottare una distribuzione con R
plot(hist(eta$eta), main = "Distribuzione dell'età dei deputati (marzo 2014)",
xlab = "Età", xlim = range(20:80), ylim = range(0:120), ylab = "Frequenza",
col = "#fc6500")