I hereby claim:
- I am c4software on github.
- I am c4software (https://keybase.io/c4software) on keybase.
- I have a public key whose fingerprint is 96F9 8352 8758 20C2 E501 C3D3 ADDF 81C7 89CC F0F5
To claim this, I am signing this object:
<?php | |
/** | |
* Exemples d'utilisations | |
* $rest = new RestClient("http://10.40.1.9:8080/afone-webcallback-ws/",False); | |
* $result = $rest->prepare("gestioncommande/terminecommande")->get(array("idcmde"=>666)); | |
* TODO Fair des exemples. | |
*/ | |
class RestClient { |
Ctrl-B : | |
setw synchronize-panes on |
import asyncio | |
@asyncio.coroutine | |
def callback(reader, writer): | |
while True: | |
data = yield from reader.readline() | |
writer.write(data) | |
yield from writer.drain() | |
srv = asyncio.start_server(callback, '', 8000) |
I hereby claim:
To claim this, I am signing this object:
document.getElementsById("monBoutton").onclick = function () { | |
Notification.requestPermission(function (p) { | |
var n = new Notification("Univ-Angers", { | |
icon: "http://www.univ-angers.fr/skins/UnivAngers/resources/img/logo-angers.png", | |
body: "Test de notification" | |
}); | |
console.log(n); | |
}); | |
I hereby claim:
To claim this, I am signing this object:
.middle-centered { | |
display: flex; | |
align-items: center; | |
justify-content: center; | |
text-align: center; | |
min-height: inherit; | |
} |
gpg-connect-agent <<EOF | |
/hex | |
scd serialno | |
scd apdu 00 20 00 81 08 40 40 40 40 40 40 40 40 | |
scd apdu 00 20 00 81 08 40 40 40 40 40 40 40 40 | |
scd apdu 00 20 00 81 08 40 40 40 40 40 40 40 40 | |
scd apdu 00 20 00 81 08 40 40 40 40 40 40 40 40 | |
scd apdu 00 20 00 83 08 40 40 40 40 40 40 40 40 | |
scd apdu 00 20 00 83 08 40 40 40 40 40 40 40 40 | |
scd apdu 00 20 00 83 08 40 40 40 40 40 40 40 40 |
var zip = new JSZip(); | |
var count = 0; | |
var zipFilename = "zipFilename.zip"; | |
var urls = [ | |
'http://image-url-1', | |
'http://image-url-2', | |
'http://image-url-3' | |
]; | |
urls.forEach(function(url){ |
private boolean locationServiceEnabled() { | |
final LocationManager locationManager = (LocationManager) getSystemService(Context.LOCATION_SERVICE); | |
if (locationManager != null) { | |
try { | |
return locationManager.isProviderEnabled(LocationManager.GPS_PROVIDER) || | |
locationManager.isProviderEnabled(LocationManager.NETWORK_PROVIDER); | |
} catch (final Exception e) { | |
Timber.e(e); | |
return false; |