Daily Weekly Monthly

Monthly Shaarli

All links of one month in a single page.

July, 2018

Trending videos - Skeptikón

vidéo sympa qui démonte les théories du buzz..

via https://www.ecirtam.net/links/?S7mpMA
(merci :) )

méthode lafay

Un peu de musculation ?

Vous avez un avis sur cette méthode ?

Using Curl commands with Webdav | QED42

Curl is a command line tool for doing all sorts of URL manipulations and transfers, but this particular post will focus on how to use curl for managing (read/ delete/ rename/ upload) files on Webdav Server. While the second part of the post will cover implementation of Two Factor Authentication for the same. I'll assume that you know how to execute 'curl' command using terminal and invoke 'curl --help' or 'curl --manual' to get basic information about it.

Assume we have following Data:

Webdav URL: https://example.com/webdav
Username: user
Password: pass

Note: It is recommended to read article completely (both management and curl options) before implementation.

WebDAV Client API’s — Nextcloud Developer Manual 12 documentation

This document provides a quick overview of the WebDAV operations supported in Nextcloud, to keep things readable it won’t go into many details for each operation, further information for each operation can be found in the corresponding rfc where applicable

Different ways to access your Nextcloud files – Own your bits

WebDAV is an extension to HTTP/1.1, and it is defined in RFC 4918. It extends the HTTP primitives in order to allow for file manipulation and colaborative authoring.

Some of these primitives include ( from Wikipedia )

COPY copy a resource from one URI to another
LOCK put a lock on a resource. WebDAV supports both shared and exclusive locks.
MKCOL create collections (a.k.a. a directory)
MOVE move a resource from one URI to another
PROPFIND retrieve properties, stored as XML, from a web resource. It is also overloaded to allow one to retrieve the collection structure (also known as directory hierarchy) of a remote system.
PROPPATCH change and delete multiple properties on a resource in a single atomic act
UNLOCK remove a lock from a resource
I created the exact same app in React and Vue. Here are the differences.

React vs Vue. Finally, a side-by-side code comparison between Vue and React! 🎉

ZM::Template - Merges runtime data with static HTML or Plain Text template file. - metacpan.org

In an ideal web system, the HTML used to build a web page would be kept distinct from the application logic populating the web page. This module tries to achieve this by taking over the chore of merging runtime data with a static html template. Template can contain SSI derectives like and It is used ZM::SSI for SSI parsing. If module ZM::SSI not installed SSI derectives will be ignoring.

The ZM::Template module can address the following template scenarios :

Single values assigned to tokens

Multiple values assigned to tokens (as in html table rows)

Single pages built from multiple templates (ie: header, footer, body)

html tables with runtime determined number of columns

An template consists of 2 parts; the boilerplate and the tokens (place holders) where the variable data will sit.

How can I compile my Perl script so it can be executed on systems without perl installed? - Stack Overflow
  • Install PAR::Packer. Example for *nix:

sudo cpan -i PAR::Packer

  • For Strawberry Perl for Windows or for ActivePerl and MSVC installed:

cpan -i PAR::Packer

  • Pack it with pp. It will create an executable named "example" or "example.exe" on Windows.

pp -o example example.pl

This would work only on the OS where it was built.

Sync to gdrive! - MobileRead Forums

The attached archive contains the following files:

Installation:

1) Create a "EbookSync" folder on your gdrive, set as readable from all those which have the link. This is the folder where you will put your ebooks to send them to the reader.

2) explode the archive on your kobo sdcard

3) to authorize the kobo on your gdrive you have to:

4) Lauch it. If you have kfmon installed you should be able to do it from the provided icon, otherwise you will have to hack your preferred launcher to start /mnt/onboard/.drive/sync_gdrive.sh On the first run it should create a gdrive folder on your kobo, with a .gd subfolder needed to authenticate the client on your GDrive.

After syncing the script will fake an USB connection / disconnection to force the kobo to update the library. You have to push the "connect" button or the new ebooks won't be added to the nickel catalog.

Utilisez et étendez PhotoRec pour récupérer vos données perdues / GLMF-210 / GNU/Linux Magazine / Connect - Edition Diamond

Si vous avez voulu récupérer des données perdues, vous avez sans doute croisé le nom de PhotoRec. Il s’agit sans doute du logiciel libre de récupération de données le plus populaire. Bien que développé depuis quinze ans et connaissant plus de 400 formats de fichiers, il peut être nécessaire de lui apprendre à reconnaître un autre format de fichiers, celui utilisé par vos précieuses données. Après avoir vu son utilisation, découvrez comment étendre PhotoRec.

S'organiser numériquement avec un planning, des contacts et des tâches · Olivier Dᴏꜱꜱᴍᴀɴɴ
  • Vos contacts s’amoncèlent ?
  • Les tâches se perdent parmi un tas de post-its sur votre bureau ?
  • Et vous oubliez constamment vos rendez-vous ?

C’est ce qui m’arrive constamment car je n’utilise pas les outils à ma portée pour m’organiser !
Et devinez quoi ? J’ai décidé d’en changer.

Et pour cela, j’ai pris mon Web à deux mains, j’ai secoué, et voici ce qu’il en est ressorti.

Synchronisation des agendas et des tâches avec Thunderbird — Wiki de la mère Zaclys
  • Avoir installé l'extension Lightningdans Thunderbird.
  • Avoir préalablement créé les agendas à synchroniser en passant par l'interface Web de Nextcloud.
  • Avoir récupéré les liens Caldav de ces calendriers
Show tasks with DUE date in calendar · Issue #28 · nextcloud/calendar · GitHub
  • per-user config option to enable this feature
  • only available when tasks app is enabled
  • tasks have a checkbox in front of them, clicking this checkbox will mark the task as done.
  • clicking the task itself should take the user to the task app
    • when going back to the calendar: get back to the same time-range?
Year 2038 problem - Wikipedia

The Year 2038 problem relates to representing time in many digital systems as number of seconds passed since 1 January 1970 and storing it as a signed 32-bit integer. Such implementations cannot encode times after 03:14:07 UTC on 19 January 2038. Just like the Y2K problem, the Year 2038 problem is caused by insufficient capacity of the chosen storage unit.

Kakoune // /home/lord

Découverte de kakoune un éditeur de texte TUI modal inspiré par Vi.

GitHub - donnemartin/system-design-primer: Learn how to design large-scale systems. Prep for the system design interview. Includes Anki flashcards.

system-design-primer - Learn how to design large-scale systems. Prep for the system design interview. Includes Anki flashcards.

crosstool-NG

Crosstool-NG is a versatile (cross) toolchain generator. It supports many architectures and components and has a simple yet powerful menuconfig-style interface. Please read the introduction and refer to the documentation for more information.

GitHub - dockcross/dockcross: Cross compiling toolchains in Docker images

Cross compiling toolchains in Docker images

Audio-livres - Liens en vrac de sebsauvage

Hello Seb, merci pour le poisson (euh non la liste)

Je te recommande aussi l'application poscast de Radio France tu peux télécharger les podcasts en mode hors ligne pour les lire même quand tu as pas de réseau (coucou le RER).

sinon je lis aussi les podcasts en bluetooth sur mon autoradio du coup.

je te recommande notamment : Jean Claude Ameisen "sur les épaules de Darwin"
https://www.franceinter.fr/emissions/sur-les-epaules-de-darwin

===================
http://audible.fr
https://www.bookdoreille.com/
https://www.audiocite.net/
https://www.kobo.com/ww/fr/audiobooks
http://librivox.org
http://www.litteratureaudio.com/notre-bibliotheque-de-livres-audio-gratuits
https://archive.org/details/AuFilDesLectures
http://www.bibliboom.com/
(après y'a aussi les tipiaks ;o)

GraphQL | A query language for your API

Humm... j'ai envie de faire un petit POC de :

pour une ou deux applications a venir...

Avantage:

  • apprendre rust
  • tester GraphQL dont j'entends parler pour les API Rest
  • refaire un peu de code

@Shaarli des avis ? Merci.

https://framapiaf.org/@memiks/100349177541613597

GitHub - digidem/filehub-config: Hacking the RAVPower Filehub to automate SD card transfers and harddrive backups

The RAVPower Filehub runs embedded Linux, which is a cut-down version of Linux with a low memory footprint. Most of the filesystem is read-only apart from the contents of /etc and /tmp, but changes are not persisted across reboots.

The easiest way to "hack" / modify the configuration of the embedded Linux is to create a script EnterRouterMode.sh on an SD card and put the card in the Filehub. The current firmware (2.000.004) will execute a script with this name with root permissions when the SD card is mounted.

The EnterRouterMode.sh script modifies scripts within /etc and persists changes by running /usr/sbin/etc_tools p.

To use, download the EnterRouterMode.sh script, copy it to the top-level folder of an SD card, and insert it into the filehub device.

https://github.com/dmgeurts/filehub-config
https://github.com/dmgeurts/filehub-config/blob/master/doc/Firmwares.md

https://github.com/m42u/filehub-config

Comment optimiser les performances de MySQL (InnoDB)

Les bases de données SQL et plus particulièrement MySQL restent une des pierres angulaires de l’immense majorité des sites internet. MySQL fonctionne très bien out of the box, cependant, dès que la base se trouve assez sollicitée, on s’aperçoit que les réglages par défaut méritent une petite optimisation. Jetons un œil à tout ça !

Sauvegarder et restaurer des index dans Elasticsearch - Zwindler's Reflection

Un développeur s’est dit « J’ai BESOIN d’Elasticsearch ! » Et ce qui devait arriver, arriva. Du jour au lendemain, vous n’avez pas eu le temps de dire « ouf » et vous avez déjà une base Elasticsearch à maintenir en production ! Dure vie des #Ops 😉 On va apprendre comment sauvegarder et restaurer des données dans ELK …

RE for Beginners | Reverse Engineering

Hey there!

If you have been searching for a place to get started with
Reverse Engineering and get your hands dirty - you are in the right place :)

ebook-convert — calibre 3.26.1 documentation

Convert an e-book from one format to another.

input_file is the input and output_file is the output. Both must be specified as the first two arguments to the command.

The output e-book format is guessed from the file extension of output_file. output_file can also be of the special format .EXT where EXT is the output file extension. In this case, the name of the output file is derived from the name of the input file. Note that the filenames must not start with a hyphen. Finally, if output_file has no extension, then it is treated as a directory and an “open e-book” (OEB) consisting of HTML files is written to that directory. These files are the files that would normally have been passed to the output plugin.

After specifying the input and output file you can customize the conversion by specifying various options. The available options depend on the input and output file types. To get help on them specify the input and output file and then use the -h option.

For full documentation of the conversion system see E-book conversion

Whenever you pass arguments to ebook-convert that have spaces in them, enclose the arguments in quotation marks. For example: “/some path/with spaces”

The options and default values for the options change depending on both the input and output formats, so you should always check with:

ebook-convert myfile.input_format myfile.output_format -h

Editeur Epub Sigil — EduTech Wiki

Sigil est un outil open source qui permet d'éditer et de créer des e-books.

L'édition est pratique grâce à la possibilité d'afficher soit le code HTML (XHTML en réalité), soit le texte du fichier, soit les deux en même temps, les deux étant éditables. Il y a également les fonctions rechercher et remplacer qui sont bien développées et qui permettent d'ajouter des liens à l'ensemble des termes d'un document, par exemple, pour créer un glossaire. De plus, on peut éditer les métadonnées, ainsi que la table des matières. C'est un outil très simple et efficace.

Sigil est destiné à la création de fichier en format EPub2, il est compatible avec le format Epub3 également mais dans une moindre mesure.

En ce qui concerne l'archivage ou le téléchargement de ressources, il comporte moins de fonctionnalités que Calibre, notamment concernant l'archivage ou le téléchargement de ressources: le logiciel est spécialisé dans la création et l'édition d'e-books.