kalvn's links
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 116 / 202
Let's Encrypt lance ACMEv2 et les certificats wildcard - Next INpact https://www.nextinpact.com/brief/let-s-encrypt-lance-acmev2-et-les-certificats-wildcard-3083.htm
15/03/2018 09:09:23

Let's Encrypt supporte maintenant les certificats wildcard de type *.mondomaine.fr. Très pratique pour n'avoir qu'un seul certificat à gérer pour une infinité de sous-domaines.

letsencrypt certificat https
Windows 7 – Comment réparer la mise à jour ? – Korben https://korben.info/windows-7-comment-reparer-la-mise-a-jour.html
15/03/2018 09:05:42

Sous le coude.

windows7 Windows update
How to use Log Analytics tool - Analytics Platform - Matomo https://matomo.org/docs/log-analytics-tool-how-to/
14/03/2018 21:10:04

Importer vos logs Apache dans Matomo (Piwik).

analytics log apache
Note: Vérifier l'encodage d'une chaîne de caractère en PHP /shaare/O2-Stw
14/03/2018 11:09:24

En utilisant le client HTTP Guzzle en PHP, je me suis aperçu que parfois le retour d'une requête GET n'est pas encodé en UTF-8. Et ça semble dépendre de l'environnement. Dans mon cas ça ne marchait pas en local mais sur le serveur oui. Et si vous vous contentez simplement de ne pas en tenir compte et d'ajouter utf8_encode sur la payload de la réponse, ça donne des choses bizarre.

Du coup voici une vérification que vous pouvez faire :

$body = (string) $res->getBody();

if (!preg_match('!!u', $body)) {
    $body = utf8_encode($body);
}

Source : https://stackoverflow.com/questions/4407854/how-to-detect-if-have-to-apply-utf8-decode-or-encode-on-a-string

encodage php HTTP
PHP Twitter Hashtag Validation Regex · GitHub https://gist.github.com/janogarcia/3946583
13/03/2018 15:30:20

Une regex pour valider un hashtag. Implémentation en PHP.

<?php
/**
* PHP Regex to validate a Twitter hashtag
* 
* Useful for validating a text input (an HTML form in your CMS or custom application) that must be a valid Twitter hashtag.
* Valid examples: #a, #_, #_1, #_a, #1a, #áéìôü, #123hàsh_täg446
* Invalid examples: #1, ##hashtag, #hash-tag, #hash.tag, #hash tag, #hashtag!, (any hashtag that is more than 140 characters long, hash symbol included)
* 
* Regex explanation:
* First, the lookahead assertion (?=.{2,140}$) checks the minimum and max length, as explained here http://stackoverflow.com/a/4223213/1441613
* A hash symbol must be the first character. The allowed values for the hash symbol can be expressed with any of the following subpatterns: (#|\\uff0){1}, (#|\x{ff03}){1}, or (#|#){1}.
* A hashtag can contain any UTF-8 alphanumeric character, plus the underscore symbol. That's expressed with the character class [0-9_\p{L}]*, based on http://stackoverflow.com/a/5767106/1441613
* A hashtag can't be only numeric, it must have at least one alpahanumeric character or the underscore symbol. That condition is checked by ([0-9_\p{L}]*[_\p{L}][0-9_\p{L}]*), similar to http://stackoverflow.com/a/1051998/1441613
* Finally, the modifier 'u' is added to ensure that the strings are treated as UTF-8.
*
* More info:
* https://github.com/twitter/twitter-text-conformance
* https://github.com/nojimage/twitter-text-php
* https://github.com/ngnpope/twitter-text-php
*/
preg_match('/^(?=.{2,140}$)(#|\x{ff03}){1}([0-9_\p{L}]*[_\p{L}][0-9_\p{L}]*)$/u', '#hashtag');
php regex hashtag
Cheapass Parallax - daverupert.com https://daverupert.com/2018/02/cheapass-parallax/
13/03/2018 13:51:41

L'effet parallaxe en 6 lignes de JS avec des variables CSS.

CSS JavaScript parallaxe scroll
CSS Colour Gradients with GradPad, beautiful CSS color gradient generator for your designs http://ourownthing.co.uk/gradpad.html
13/03/2018 13:39:33

Un générateur de gradient CSS. Très très bien fait !

Via https://www.creativejuiz.fr/blog/ressources-telechargements/les-ressources-du-web-37

gradient CSS
Scaling SQLite to 4M QPS on a Single Server (EC2 vs Bare Metal) « Expensify Blog https://blog.expensify.com/2018/01/08/scaling-sqlite-to-4m-qps-on-a-single-server/
13/03/2018 13:28:51
SQLite
Batterie des smartphones : cinq idées reçues passées au crible http://www.01net.com/actualites/batterie-des-smartphones-cinq-idees-recues-passees-au-crible-1390405.html
13/03/2018 13:08:07

Sous le coude parce qu'on entend tout et son contraire sur le sujet.

batterie
Mémoire vive, comment faire les bons choix ? Vitesse ou Latence ? - GinjFo https://www.ginjfo.com/dossiers/tests-materiel/composants/memoires/memoire-vive-comment-faire-les-bons-choix-vitesse-ou-latence-20150604
13/03/2018 10:16:39

Pas mal de réponses aux questions que vous vous posez peut-être sur la RAM.

ram hardware
Nettoyer une nouvelle installation de Windows 10 https://blog.leboeuf.me/2018/nettoyer-une-nouvelle-installation-de-windows-10.html
12/03/2018 22:53:10
Windows windows10 nettoyage install
Comprendre les lignes de commande git avec des dessins ! – mae & le web https://mae.ovh/blog/comprendre-commande-git-dessins/
12/03/2018 22:34:29
Git tuto
How to Create an Accessible Autocomplete Component with Vue.js ← Alligator.io https://alligator.io/vuejs/vue-a11y-autocomplete
09/03/2018 14:12:17

Créer un champ texte avec auto-completion avec Vue.js.

VueJS autocomplete
GitHub - bustle/mobiledoc-kit: A toolkit for building WYSIWYG editors with Mobiledoc https://github.com/bustle/mobiledoc-kit
09/03/2018 13:32:19

Une méthode pour stocker du texte formaté de manière fiable et indépendante de la manière dont vous l'affichez. Pas comme avec du HTML par exemple.

Particulièrement adapté si vous voulez réaliser un éditeur de texte riche.

wysiwyg editeur stockage format texte
Comment faire garder ses bagages quand on est en voyage ? – Korben https://korben.info/comment-faire-garder-ses-bagages-quand-on-est-en-voyage.html
09/03/2018 13:16:26

Sous le coude.

voyage
SVGator https://app.svgator.com/
09/03/2018 13:05:54

Un outil en ligne pour facilement animer du SVG.

SVG animation outil
Télécharger l’ISO de Windows 7, 8.1 et 10 gratuitement – Le Crabe Info https://lecrabeinfo.net/telecharger-iso-de-windows-7-8-1-et-10-gratuitement.html
09/03/2018 12:52:59
Windows windows10 download iso
Bludit - Flat-File CMS https://www.bludit.com/
09/03/2018 11:37:37

Un CMS sans base de données codé en PHP.

Assez standard en terme de fonctionnalités mais il a l'air assez propre.

cms php
a11y.css https://ffoodd.github.io/a11y.css/index.html
09/03/2018 11:27:01

Un bookmarklet CSS qui met en exergue tous les soucis d'accessibilité de votre site.

CSS bookmarklet accessibilité
tripmate [Wiki de sebsauvage.net] http://sebsauvage.net/wiki/doku.php?id=tripmate
09/03/2018 11:15:01

Une sorte de NAS de voyage qui fait :

  • Batterie 10 400 mAh
  • Routeur Wifi
  • Répéteur Wifi
  • Partage de fichiers
  • Support DLNA

Le tout pour 40€.

nas wifi voyage routeur batterie fichier partage
page 116 / 202
4159 links, including 129 private
Shaarli - The personal, minimalist, super fast, database-free, bookmarking service by the Shaarli community - Theme by kalvn