Files should be in custom folder
reload.sh search for class name given in the module path
./reload.sh modulepah [0|1]
reload module with module class name (eg: modFacture)
Files should be in custom folder
reload.sh search for class name given in the module path
./reload.sh modulepah [0|1]
reload module with module class name (eg: modFacture)
const fz = require("zigbee-herdsman-converters/converters/fromZigbee"); | |
const exposes = require("zigbee-herdsman-converters/lib/exposes"); | |
const constants = require("zigbee-herdsman-converters/lib/constants"); | |
const e = exposes.presets; | |
const ea = exposes.access; | |
let option_standard = () => exposes.binary(`standard`, ea.SET, true, false).withDescription(`Compteur avec la TIC en mode standard`) | |
let option_triphase = () => exposes.binary(`triphase`, ea.SET, true, false).withDescription(`Compteur triphase`) | |
let option_production = () => exposes.binary(`production`, ea.SET, true, false).withDescription(`Compteur avec de la production`) |
<?php | |
namespace App; | |
use Illuminate\Database\Eloquent\Model; | |
class FirstModel extends Model | |
{ | |
protected $table = 'FirstModels'; |
$key = $argv[1]; | |
$value = $argv[2]; | |
$path = dirname(__FILE__) . '/.env'; | |
$newContent = ''; | |
$content = fopen($path, 'r+'); | |
$found = false; | |
while (!feof($content)) { | |
$line = fgets($content); | |
if (!empty(trim($line))) { |
var elixir = require('laravel-elixir'); | |
var gulp = require('gulp'); | |
var Task = elixir.Task; | |
var uglify = require('gulp-uglify'); | |
elixir.extend('folder', function (folder, dest) { | |
if (!dest) { | |
dest = folder; | |
} | |
new Task('folder', function () { |
<?php | |
/* Copyright (C) 2002-2005 Rodolphe Quiedeville <[email protected]> | |
* Copyright (C) 2002-2003 Jean-Louis Bergamo <[email protected]> | |
* Copyright (C) 2004-2015 Laurent Destailleur <[email protected]> | |
* Copyright (C) 2004 Eric Seigne <[email protected]> | |
* Copyright (C) 2005-2015 Regis Houssin <[email protected]> | |
* Copyright (C) 2012 Juanjo Menent <jmenent@2byte.es> | |
* | |
* This program is free software; you can redistribute it and/or modify | |
* it under the terms of the GNU General Public License as published by |
<?php | |
/* Copyright (C) 2003 Rodolphe Quiedeville <[email protected]> | |
* Copyright (C) 2004-2013 Laurent Destailleur <[email protected]> | |
* Copyright (C) 2005-2013 Regis Houssin <[email protected]> | |
* Copyright (C) 2015 Alexandre Spangaro <[email protected]> | |
* | |
* This program is free software; you can redistribute it and/or modify | |
* it under the terms of the GNU General Public License as published by | |
* the Free Software Foundation; either version 3 of the License, or | |
* (at your option) any later version. |
<?php | |
//put this file in the root of language folder | |
define('IN_SCRIPT',1); | |
include 'en/text.php'; | |
$en_langs = $hesklang; | |
$hesklang = null; | |
include 'fr/text.php'; | |
print 'non trouvé dans en'; | |
$infr = array_diff_key($hesklang, $en_langs); | |
print '<pre>'; |