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
2661-2680 of 4386
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
DB Browser for SQLite http://sqlitebrowser.org/
08/03/2018 09:19:48

Une interface graphique pour gérer une base de données SQLite.

SQLite app
Secure memcached server to avoid DDoS amplification attacks - nixCraft https://www.cyberciti.biz/faq/secure-memcached-server-avoid-ddos-amplification/
06/03/2018 14:34:14

Sous le coude histoire d'éviter de participer à des attaques DDoS.

ddos memcached
Prise en main de la 8bitdo FC30 Pro, la manette Bluetooth qui fait tourner les têtes - FrAndroid http://www.frandroid.com/produits-android/accessoires/489842_prise-en-main-de-la-8bitdo-fc30-pro-la-manette-bluetooth-qui-fait-tourner-les-tetes
06/03/2018 10:09:41

Une manette bluetooth qui a l'air pas mal pour les émulateurs Android ou sur Raspberry.

manette hardware bluetooth JeuxVidéos
Muuri - Responsive, sortable, filterable and draggable grid layouts https://haltu.github.io/muuri/
04/03/2018 14:34:34

Tout est dit.

Github : https://github.com/haltu/muuri

responsive dragdrop filtre grid layout lib JavaScript
2661-2680 of 4386
Shaarli - The personal, minimalist, super fast, database-free, bookmarking service by the Shaarli community - Theme by kalvn