This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
A: Scusate, signora, mi può aiutare? Mi sono persa. Vorrei andare a casa mia, ma non sono sicura come.. | |
B: Buon giorno! Certo ti voglio aiutare! Non sono di qui, ma conosco il quartiere bene perche lavoro qui vicino. Qual'è il nome della strada che vorrebbe trovare? | |
A: Il luogo si chiama Largo Luigi Antonelli. Lo conosce? | |
B: Hm, non sono sicura. Mi dica, è forse quello vicino all'Agenzia delle Entrate? | |
A: Si, esattamente! Mi può spiegare come la trovo? | |
A: Si, certo! Siamo a Viale Ferdinando Baldelli. Alla nostra sinistra c’è la basilica San Paolo. Davanti a noi c’è la stazione di Metro con lo stesso nome, Basilica San Paolo. Giusto? | |
B: Si, giusto. | |
A: Bene, quindi, vada avanti sotto il cavalcavia, e quando vede una piccola frutteria alla sua sinistra, gira a destra e vada avanti, a Via Gabriello Chiabrera. Dipende da quale lato della strada è, passi la gelateria Danielgelo o la pasticceria Il Forno Da Leandro. Mi sta seguendo? | |
A: Si, si, grazie, prego! | |
B: Allora, all'incrocio gira a sinistra, e inizia a salire |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Di solito mi sveglio presto la mattina. | |
Dal lunedì al venerdì il mio allarme suona alle sei, mentre di sabato e domenica di solito dormo fino alle otto. | |
Quando mi sveglio, apro gli occhi, mi (strido ?!?!?WHAT?!) e mi alzo. | |
Per prima cosa vado al bagno, mi lavo i denti e la faccia. | |
Dopo vado in cucina, dove mi preparo la collazione e faccio il thè. | |
Per collazione io quasi sempre mangio una macedonia e un po’ di frutta secca. | |
Dopo mi vesto, mi pettino e mi trucco. | |
Prima di andare al lavoro, prendo un caffè senza latte e senza zucchero, | |
mi metto le mie scarpe, il cappotto e la mia sciarpa viola, prendo le chiave della macchina ed esco di casa. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import os | |
def findfiles(files, test = lambda path: os.path.splitext(path)[1].lower() == '.xlsx'): | |
if isinstance(files, str): | |
files = [files] | |
for path in files: | |
if os.path.isdir(path): | |
for root, dirs, files in os.walk(path): |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2+2 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
from PIL import Image | |
import io | |
from wolframclient.language import wlexpr, wl | |
from wolframclient.evaluation import WolframLanguageSession | |
import numpy as np | |
def CurvatureFlowFilter(session, img): | |
data = session.evaluate(wl.CurvatureFlowFilter(img, 50)) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env python | |
import asyncio | |
import websockets | |
import aiohttp | |
async def hello(): | |
async with aiohttp.ClientSession() as session: |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
const StompJs = require("@stomp/stompjs"); | |
const client = new StompJs.Client({ | |
brokerURL: "ws://localhost:15674/ws", | |
connectHeaders: { | |
login: "user_1", | |
passcode: | |
"eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJtb2RlIiA6ICJydyIsICJjaGFubmVsIiA6ICIxIiwgInJvbGUiIDogIndlYnVzZXIiLCAidXNlcl9pZCIgOiAxLCAiZXhwIiA6IDE1OTkzNDUzNzJ9.HLYr22YUZ6XjocHo0EuxuWuhX6AT7qygOrkB4GZo1nY" | |
}, | |
debug: str => console.log(str), |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
def addtwo(a): | |
return a + 2 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
SELECT 21 as AGE |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var square = function(x){ return x*x;}; | |
var cube = function(x){ return x*x*x;}; |
OlderNewer