Skip to content

Instantly share code, notes, and snippets.

@ironico
ironico / gist:078ffcffee92cad866a2
Created March 2, 2016 18:09
Yandex traslating
https://translate.yandex.net/api/v1.5/tr.json/detect?key=trnsl.1.1.20160302T175255Z.b9475ce3cda21118.9c7ab3ad141538b251419bfd8bcd7db791d3af62&text=ciao%20questa%20%C3%A8%20una%20frase%20da%20capire
https://translate.yandex.net/api/v1.5/tr.json/translate ?lang=ru-en&format=plain&key=trnsl.1.1.20160302T175255Z.b9475ce3cda21118.9c7ab3ad141538b251419bfd8bcd7db791d3af62&text=
Harry,Sally,1.2
Harry,Mario,1.3
Sarah,Alice,0.2
Eveie,Alice,0.5
Peter,Alice,1.6
Mario,Alice,0.4
James,Alice,0.6
Harry,Carol,0.7
Harry,Nicky,0.8
Bobby,Frank,0.8
@ironico
ironico / facebook-sample.php
Last active October 8, 2015 13:48 — forked from daaku/facebook-sample.php
A simple Facebook PHP example.
<?php
/**
* A simple Facebook PHP example.
*
* - This is not a "Facebook SDK".
* - This example uses Curl, Hash, JSON, Session extensions.
* - This does not use the JavaScript SDK, nor the cookie set by it.
* - This works with Canvas, Page Tabs with IFrames, the Registration Plugin
* and with any other flow which uses the signed_request.