I hereby claim:
- I am edne on github.
- I am edne (https://keybase.io/edne) on keybase.
- I have a public key whose fingerprint is 23E4 BBA2 82CC B767 184B 90E7 F532 8D6D F593 04E2
To claim this, I am signing this object:
I hereby claim:
To claim this, I am signing this object:
#! /usr/bin/env hy | |
(import [sh [cat du rm youtube-dl]] | |
[soundcloud [Client]]) | |
(def SIZE 700) | |
(def MIN_BPM 170) | |
(def MAX_DURATION 10) | |
(def GENRE "jump up") |
(define-syntax defmacro | |
(syntax-rules | |
() | |
((defmacro (name . args) | |
(body ...)) | |
(define-syntax name | |
(syntax-rules | |
() | |
((name . args) (body ...))))))) |
import Control.Monad.State -- to use get and put | |
main :: IO () | |
main = do | |
print $ test $ DoubleStack [1,2,3] [4,5,6] | |
print $ test $ DoubleStack [] [4,5,6] | |
where | |
-- the test function | |
test :: DoubleStack Integer -> Maybe Integer |
# Politecnico Open unix Labs (https://poul.org) | |
# Edoardo Negri (http://edne.net) | |
from tweepy import OAuthHandler | |
from tweepy.streaming import StreamListener | |
from tweepy import Stream | |
import json | |
# per poter usare le API di Twitter è necessario registare l'app |