I hereby claim:
- I am c4software on github.
- I am c4software (https://keybase.io/c4software) on keybase.
- I have a public key ASCpdflIgHubN9-gQayjyhCg1SY7ZmWdzOjSvu9XijX2nAo
To claim this, I am signing this object:
| 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; |
| 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){ |
| 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 |
| .middle-centered { | |
| display: flex; | |
| align-items: center; | |
| justify-content: center; | |
| text-align: center; | |
| min-height: inherit; | |
| } |
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:
| 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) |
| Ctrl-B : | |
| setw synchronize-panes on |
| <?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 { |