I hereby claim:
- I am louisbl on github.
- I am louisbl (https://keybase.io/louisbl) on keybase.
- I have a public key ASAmhVNma7ee32rPBpI2bhj4LwAUtgBmlP6Y3PeHo8Qyzwo
To claim this, I am signing this object:
I hereby claim:
To claim this, I am signing this object:
| data: | |
| image: debian:jessie | |
| user: www-data | |
| volumes: | |
| - ./src:/var/www/ | |
| web: | |
| image: php:5.6-apache | |
| links: | |
| - db |
| package fr.louisbl.datas; | |
| import android.content.Context; | |
| import android.support.design.widget.CoordinatorLayout; | |
| import android.support.design.widget.FloatingActionButton; | |
| import android.support.v4.view.ViewCompat; | |
| import android.util.AttributeSet; | |
| import android.view.View; | |
| public class ScrollAwareFABBehavior extends FloatingActionButton.Behavior { |
| var flat = require('flat'); | |
| var de = require('./flat.json'); | |
| var fs = require('fs'); | |
| fs.writeFile('./unflat.json', JSON.stringify(flat.unflatten(de))); |
| package; | |
| import android.app.Activity; | |
| import android.content.Context; | |
| import android.location.Location; | |
| import android.location.LocationListener; | |
| import android.location.LocationManager; | |
| import android.os.Bundle; | |
| import android.support.v4.app.Fragment; | |
| import android.util.Log; |
| public class SplashActivity extends FragmentActivity { | |
| private static final int SPLASH_TIME_OUT = 1500; | |
| @Override | |
| protected void onCreate(Bundle savedInstanceState) { | |
| super.onCreate(savedInstanceState); | |
| setContentView(R.layout.activity_splash); | |
| new Handler().postDelayed(new Runnable() { |
| docker rm -f $(docker ps -a -q) |
| <?xml version='1.0' encoding='utf-8'?> | |
| <widget | |
| xmlns="http://www.w3.org/ns/widgets" | |
| xmlns:cdv="http://cordova.apache.org/ns/1.0" | |
| xmlns:gap = "http://phonegap.com/ns/1.0" | |
| id="com.example.app" | |
| version="1.2.3" | |
| versionCode="705"> | |
| <gap:platform name="ios" /> |
| AlertDialog.Builder builder = new AlertDialog.Builder(this); | |
| builder.setPositiveButton("OK", new DialogInterface.OnClickListener() { | |
| @Override | |
| public void onClick(DialogInterface dialog, int which) { | |
| } | |
| }); | |
| builder.setNegativeButton("CANCEL", null); | |
| TextView view = new TextView(this); | |
| view.setText("A dialog"); |
| // Notifications | |
| Intent resultIntent = new Intent(this, PlayListActivity.class); | |
| PendingIntent resultPendingIntent = | |
| PendingIntent.getActivity(this, | |
| 0, resultIntent, PendingIntent.FLAG_UPDATE_CURRENT | |
| ); | |
| NotificationCompat.Builder notifBuilder = | |
| new NotificationCompat.Builder(this) | |
| .setSmallIcon(android.R.drawable.ic_dialog_alert) |