Skip to content

Instantly share code, notes, and snippets.

View rxlabz's full-sized avatar
🤖
Fluttering

Erick Ghaumez rxlabz

🤖
Fluttering
View GitHub Profile
@rxlabz
rxlabz / gist:0064a29160f8418a34d1437b5df93376
Created February 21, 2017 20:47
Cannot debug over WIFI - 2
[ ] /usr/local/bin/idevice_id
[ ] which ideviceinfo
[ +3 ms] Exit code 0 from: which ideviceinfo
[ ] /usr/local/bin/ideviceinfo
[ ] which iproxy
[ +3 ms] Exit code 0 from: which iproxy
[ ] /usr/local/bin/iproxy
[ ] which idevicedebug
[ +4 ms] Exit code 0 from: which idevicedebug
[ ] /usr/local/bin/idevicedebug
@rxlabz
rxlabz / gist:7bb9de93b919ef5f7531be7251265995
Created February 21, 2017 19:47
Flutter : cannot debug over wifi
[ +891 ms] /usr/bin/defaults read /Applications/Android Studio.app/Contents/Info CFBundleShortVersionString
[ +126 ms] Exit code 0 from: /usr/bin/defaults read /Applications/Android Studio.app/Contents/Info CFBundleShortVersionString
[ ] 2.2
[ +11 ms] /Users/rxlabz/Library/Android/sdk/platform-tools/adb devices -l
[ +11 ms] Exit code 0 from: /Users/rxlabz/Library/Android/sdk/platform-tools/adb devices -l
[ ] List of devices attached
622004271815 device usb:336592896X product:a3-a40_ww_gen1 model:A3_A40 device:acer_jetfirefhd
[ +3 ms] idevice_id -h
[ +5 ms] which idevice_id
[ +3 ms] Exit code 0 from: which idevice_id
@rxlabz
rxlabz / flutter-camera-plugin
Last active January 16, 2017 21:44
image only display the first loaded image
// Copyright 2016 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
import 'dart:async';
import 'dart:io';
import 'dart:math';
import 'package:flutter/material.dart';
<!doctype html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport"
content="width=device-width, user-scalable=no, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0">
<meta http-equiv="X-UA-Compatible" content="ie=edge">
<title>Document</title>
<script>
<?php
define('B',"<br/>");
define('H',"<hr/>");
class App{
private $chargeur;
public function __construct( ILoader $chargeur )
{
@rxlabz
rxlabz / s_transform.dart
Created December 7, 2016 17:13
Dart streamTransformer : - fromHandlers - implementing StreamTransformer
import 'dart:async';
void main() {
var st = new StreamTransformer.fromHandlers();
var s = new Stream.fromIterable([1, 2, 3])
..transform(new StreamTransformer.fromHandlers(handleData: doublr))
.listen((v) => print('main v ${v}'));
var s2 = new Stream.fromIterable([1, 2, 3])
<?php
class Boutique{
public $vueCatalogue;
public $vuePanier;
public function __construct( $url )
{
$this->import($url);
class Produit{
// private _nom;
get nom(){
return this._nom.toUpperCase();
}
set nom( value ){
if( value == '') return ;
<?php
class Produit{
public $tva = 0.2;
public $prixTTC;
private $_nom;
<!doctype html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport"
content="width=device-width, user-scalable=no, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0">
<meta http-equiv="X-UA-Compatible" content="ie=edge">
<title>Document</title>
<style>