Les Partages de Memiks
Tag cloud
Picture wall
Daily
RSS Feed
  • RSS Feed
  • Daily Feed
  • Weekly Feed
  • Monthly Feed
Filters

Links per page

  • 20 links
  • 50 links
  • 100 links

Filters

Untagged links
page 56 / 155
Use variable in the trigger section - Domoticz https://www.domoticz.com/forum/viewtopic.php?t=20560
Sat Mar 24 00:45:00 2018 archive.org
QRCode
thumbnail

return {
on = timer = {
function(domoticz)
-- use domoticz.variables(..) here and return true when the timer should go off
end
},
execute = function(domoticz, timer, triggerInfo)

    end

}

domoticz variable dzevent
The Krita 4 Preset Bundle — Krita Documentation https://docs.krita.org/The_Krita_4_Preset_Bundle
Fri Mar 23 17:48:00 2018 archive.org
QRCode
thumbnail

Merci pour ce lien ! ( via https://shaar.libox.fr/?oEo7eA )

c'est vraiment facile d'apprendre les différents outils avec cette page ;)

krita dessin outils preset
Phabricator & MySQL Permissions (Example) https://coderwall.com/p/ne1thg/phabricator-mysql-permissions
Tue Mar 20 23:14:09 2018 archive.org
QRCode
thumbnail

Setting Up New Permissions

The new permissions structure is simple. Instead of creating a new permission GRANT for every database, we are just going to GRANT the user basic access to the namespace. MySQL has two wildcard characters: and %. If you need them to be interpreted literally, just escape them with . The following command will grant the necessary permissions to the MySQL user to access and update all the databases in the phabricator namespace.

GRANT SELECT, INSERT, UPDATE, DELETE, EXECUTE, SHOW VIEW ON `phabricator\_%`.* TO 'phabric'@'localhost';

Great, now whenever a new Phabricator upgrade comes along that changes the database structure, there shouldn't be much that needs to be done in terms of granting and deleting permissions.

2 Format d'un ``E-mail'' - RFC 822 http://wawadeb.crdp.ac-caen.fr/iso/tmp/ressources/linux/reseau/www.laissus.fr/cours/node154.html
Tue Mar 20 18:37:36 2018 archive.org
QRCode
thumbnail

https://www.w3.org/Protocols/rfc822/

rfc822 rfc email
Comment faire une terminaison avec un connecteur RJ45 ? http://cableorganizer.fr/learning-center/article/comment-faire-une-terminaison-avec-un-connecteur-rj45.html
Tue Mar 20 17:20:27 2018 archive.org
QRCode
thumbnail

et aussi :
http://www.commentcamarche.com/faq/652-comment-sertir-un-cable-rj45

https://openclassrooms.com/courses/choisissez-et-ou-fabriquez-votre-cable-rj45

https://blog-du-grouik.tinad.fr/post/2012/05/21/Tutoriel%3A-Sertir-des-cables-r%C3%A9seau

cable rj45 sertir ethernet réseau
How it feels to learn JavaScript in 2016 – Hacker Noon https://hackernoon.com/how-it-feels-to-learn-javascript-in-2016-d3a717dd577f
Fri Mar 16 22:11:48 2018 archive.org
QRCode
thumbnail

Cela explique pourquoi je suis toujours sur PHP ou .net core, ou Java, ou...(remplacer par vrai langage)
et que j’aime toujours autant les moteurs de template

et pourquoi je ne comprends pas les sites avec 25JS pour afficher du HTML simple, sans formulaires, sans carroussels, etc.

bref… je suis un vieux… devenu Architecte et mon boulot :
« et j’aimerai faire cela, regarde c’est trop cool, bla bla bla
Moi: c’est bien mais “bla bla bla” c’est déjà géré par l’application X et celle-ci gère en plus …
Eux: ah oui, mais on est en 2018, l’application X elle est trop moche »

…

JS php
openbox [linuxpedia.fr] http://www.linuxpedia.fr/doku.php/openbox
Mon Mar 12 18:54:25 2018 archive.org
QRCode
thumbnail
Gestion des bureaux virtuels. Variables: valeurs numériques et nominales. 2 # Nombre de bureaux (2 par défaut même si il y en a 4 préconfigurés en dessous) 1 # Le premier bureau actif au démarrage 1 # Nom du premier bureau 2 # Nom du second bureau 3 # Nom du troisième bureau 4 # Nom du quatrième bureau 875 # Temps que la pop-up reste affichée (1000=1seconde; 0=désactivé)
openbox tint2
Tint2 - ArchWiki https://wiki.archlinux.org/index.php/tint2
Wed Feb 21 22:35:51 2018 archive.org
QRCode
thumbnail

If Xcompmgr is used solely to provide tint2 with transparency effects it can be run at boot by changing the autostart section in ~/.config/openbox/autostart to this:

Launch Xcomppmgr and tint2 with openbox

if which tint2 >/dev/null 2>&1; then
(sleep 2 && xcompmgr) &
(sleep 2 && tint2) &
fi

Other (better) ways to make Xcompmgr run at startup are discussed in the Openbox article.
Fullscreen/Overlay

To force tint2 to stay on top of the application (overlay), you need to set the panel_layer option appropriately. This can be helpful when you switch from a fullscreen window to a normal application using Alt-Tab. There is a discussion on this at Crunchbang Forum

#Panel
panel_layer = top
strut_policy = follow_size

tint2 arch openbox
Tint2, une barre de tâches / Wiki / Debian-facile https://debian-facile.org/doc:environnements:x11:tint2
Wed Feb 21 22:33:11 2018 archive.org
QRCode
thumbnail

Tint2 se présente sous forme d'une barre de tâches très légère et facile à configurer.

Il inclut une zone de notification (systray).

Son installation et sa configuration sont faciles à réaliser en éditant son fichier “tint2rc”.

Cependant, un utilitaire graphique permet de le faire tintwizard.

debian tint2 openbox
Enabling Compiz Fusion On A Debian Squeeze Desktop (Nvidia GeForce 8200) https://www.howtoforge.com/enabling-compiz-fusion-on-a-debian-squeeze-desktop-nvidia-geforce-8200
Tue Feb 20 18:45:04 2018 archive.org
QRCode
thumbnail
compiz debian fusion
Compiz Debian http://compiz-debian.tuxfamily.org/
Tue Feb 20 18:13:55 2018 archive.org
QRCode
thumbnail

Donc en gros sous débian :

  • sudo -i
  • wget -q http://download.tuxfamily.org/compiz/apt/key.pub -O- | apt-key add - && echo "deb http://download.tuxfamily.org/compiz/debian $(lsb_release -sc) main" | tee /etc/apt/sources.list.d/compiz-debian.list && apt-get update
  • apt install compiz-reloaded emerald fusion-icon emerald-themes simple-ccsm-reloaded compiz-reloaded-plugins-extra
compiz emerald debian
Batch : Afficher la date et l'heure dans un script (partie 1) - ProgMatique http://www.progmatique.fr/article-122-Batch-date-heure.html
Sat Feb 17 22:43:57 2018 archive.org
QRCode
thumbnail

format aaaa-mm-jj
echo %date:~6,4%-%date:~3,2%-%date:~0,2%

bat windows date
Perte de connection radio de mon RFLINK merci udev https://wiki.debian.org/fr/udev
Thu Feb 15 23:03:28 2018 archive.org
QRCode

Bonjour,

J'ai installé mon serveur en débian9, celui-ci utilise domoticz et un rflink pour gérer ma domotique...

depuis l'installation j'avais des pertes d'informations...
j'ai d'abord pensé aux piles de mes sondes.... mais non...
c'était le serveur

et oui après un certains temps le port USB est mis en "basse consommation" par linux et donc moins de puissances pour la réception / envoi d'information.

donc j'ai ajouté une rêgle dans UDEV:

  • filtrage sur le vendor et le product id
  • ajout d'un lien "rflink" dans /dev
  • passage de la gestion de la consommation de ce device à "on" pour la désactiver

SUBSYSTEM=="usb", ATTR{idProduct}=="7523", ATTR{idVendor}=="1a86", SYMLINK+="rflink", TEST=="power/control" ATTR{power/control}="on"

udev linux power usb rflink
Power Management for USB — The Linux Kernel documentation https://www.kernel.org/doc/html/v4.13/driver-api/usb/power-management.html
Thu Feb 15 18:19:47 2018 archive.org
QRCode
thumbnail

The user interface for dynamic PM

The user interface for controlling dynamic PM is located in the power/ subdirectory of each USB device’s sysfs directory, that is, in /sys/bus/usb/devices/.../power/ where ”...” is the device’s ID. The relevant attribute files are: wakeup, control, and autosuspend_delay_ms. (There may also be a file named level; this file was deprecated as of the 2.6.35 kernel and replaced by the control file. In 2.6.38 the autosuspend file will be deprecated and replaced by the autosuspend_delay_ms file. The only difference is that the newer file expresses the delay in milliseconds whereas the older file uses seconds. Confusingly, both files are present in 2.6.37 but only autosuspend works.)

power/wakeup

    This file is empty if the device does not support remote wakeup. Otherwise the file contains either the word enabled or the word disabled, and you can write those words to the file. The setting determines whether or not remote wakeup will be enabled when the device is next suspended. (If the setting is changed while the device is suspended, the change won’t take effect until the following suspend.)

power/control

    This file contains one of two words: on or auto. You can write those words to the file to change the device’s setting.

        on means that the device should be resumed and autosuspend is not allowed. (Of course, system suspends are still allowed.)
        auto is the normal state in which the kernel is allowed to autosuspend and autoresume the device.

    (In kernels up to 2.6.32, you could also specify suspend, meaning that the device should remain suspended and autoresume was not allowed. This setting is no longer supported.)

power/autosuspend_delay_ms

    This file contains an integer value, which is the number of milliseconds the device should remain idle before the kernel will autosuspend it (the idle-delay time). The default is 2000. 0 means to autosuspend as soon as the device becomes idle, and negative values mean never to autosuspend. You can write a number to the file to change the autosuspend idle-delay time.
usb linux power
Domoticz compatibility with debian 9 stretch - Domoticz https://www.domoticz.com/forum/viewtopic.php?t=18020
Wed Feb 14 19:16:44 2018 archive.org
QRCode
thumbnail

/domoticz/domoticz: error while loading shared libraries: libssl.so.1.0.0: cannot open shared object file: No such file or directory

In stretch, libssl is at version 1.1.0. 

Solution for me (64bit Debian Stretch):
1) Download https://packages.debian.org/jessie/amd64/libssl1.0.0/download
2) dpkg -i libssl1.0.0*

domoticz libssl debian9
PartitioningSchemes - Community Help Wiki https://help.ubuntu.com/community/PartitioningSchemes
Wed Feb 14 00:46:43 2018 archive.org
QRCode
thumbnail

Partitioning Scheme for SSD

Better leave all read-only files on SSD and use hard disk for everything else

https://wiki.debian.org/ReadonlyRoot should clarify which parts of the filesystem tree can be read-only: moving /usr to read-only would be the most significant thing (greatest space required) I guess but you have to ensure it is remounted as required when doing apt-get install or remove. See that page for more info.
ubuntu ssd partition install
GitHub - kantord/just-dashboard: Create dashboards using YAML/JSON files https://github.com/kantord/just-dashboard
Mon Feb 12 22:11:52 2018 archive.org
QRCode
thumbnail

Create dashboards using YAML/JSON files to transform gist into dynamic dashboard

github gist dashboard yaml json
Solid https://solid.mit.edu/
Mon Feb 12 15:31:15 2018 archive.org
QRCode
thumbnail

Solid (derived from "social linked data") is a proposed set of conventions and tools for building decentralized social applications based on Linked Data principles. Solid is modular and extensible and it relies as much as possible on existing W3C standards and protocols.

solid fwk web base W3C
Films pour enfants https://films-pour-enfants.com/
Mon Feb 12 15:24:38 2018 archive.org
QRCode
thumbnail

Des listes de petits films pour enfants.

film enfant court metrage
TODO - xoreos Wiki https://wiki.xoreos.org/index.php?title=TODO
Thu Feb 8 19:39:39 2018 archive.org
QRCode
thumbnail

xoreos is an open source implementation of Bioware's Aurora engine and its derivatives, licensed under the terms of the GNU General Public License version 3 (or later).

In order to accurately reimplement these games, we need to research how all of the mechanics work. If you feel like crawling deep into the bowels of the Aurora engine, or have already done so, please feel free to document your newly gained understandings here.

page 56 / 155
5001 links, including 1907 private
Shaarli - The personal, minimalist, super-fast, database free, bookmarking service by the Shaarli community - Theme by kalvn