Skip to content

Instantly share code, notes, and snippets.

View franck-paul's full-sized avatar
🏴‍☠️
Footer de merde

Franck Paul franck-paul

🏴‍☠️
Footer de merde
View GitHub Profile
@franck-paul
franck-paul / dcstore.php
Created March 22, 2023 06:33
Récupération version du module et version Dotclear minimale si existante dans le fichier dcstore.xml
<?php
$version = '';
$dcmin = '2.0';
if (file_exists('dcstore.xml')) {
if (file_exists('src/Define.php')) {
$df = file_get_contents('src/Define.php');
if (preg_match('/\$this-\>version(?:\s*?)=(?:\s.?)[\'\"](.*?)[\'\"]/s', $df, $matches)) {
if (isset($matches[1])) {
$version = $matches[1];
@franck-paul
franck-paul / keybase.md
Created April 11, 2017 05:15
keybase.md

Keybase proof

I hereby claim:

  • I am franck-paul on github.
  • I am franckpaul (https://keybase.io/franckpaul) on keybase.
  • I have a public key ASAJImM52cBUW9rrco9inj-4Ql-B0oT5lKgRvI0cYdD9eAo

To claim this, I am signing this object:

@franck-paul
franck-paul / gist:81d97cbded610437d637
Created February 1, 2016 15:14
Verifying that +franckpaul is my blockchain ID. https://onename.com/franckpaul
Verifying that +franckpaul is my blockchain ID. https://onename.com/franckpaul