Code source de https://www.mobicoop.fr
Made with Symfony
Un court article pour partager une méthode bien pratique pour mettre à jour la page d'acceuil d'un forum ForumActif :
Contexte
Une association de jeux de rôle a mis en place un site ForumActif. Cet hébergeur inclus dans ses forums phpBB la possibilité de créer des pages HTML statiques, et de …
Kanboard focuses on simplicity and minimalism
Can connect to your LDAP/Active Directory server or use any OAuth2 provider (Google, GitHub, GitLab...).
Turns out PHP standard crc32
method is non-standard (while crc32b
is).
Here is how to implement it in Python:
def php_crc32(a):
'''
References:
- https://www.php.net/manual/en/function.hash-file.php#104836
- https://stackoverflow.com/a/50843127/636849
'''
crc = 0xffffffff
for x in a:
crc ^= x << 24;
for k in range(8):
crc = (crc << 1) ^ 0x04c11db7 if crc & 0x80000000 else crc << 1
crc = ~crc
crc &= 0xffffffff
# Convert from big endian to little endian:
return int.from_bytes(crc.to_bytes(4, 'big'), 'little')
I used to think Open Source was amazing. I've since come to realize just how awful it is.
My code is free — my time is not.
vendor-neutral open source library for metric collection and tracing. OpenCensus is built to add minimal overhead and be deployed fleet wide, especially for microservice-based architectures.
OpenCensus currently supports Prometheus, SignalFX, Stackdriver, Zipkin, Datadog, and Azure App Insights.
A single set of libraries for many languages, including Java, C++, Go, .Net, Python, PHP, Node.js, Erlang, and Ruby.
designed for microservices, cloud native and container-based (Docker, K8s, Mesos) architectures. Underlying technology is a distributed tracing system.
- Provide high performance Java agent, no need to CHANGE any application source code.
Only increase extra 10% cpu cost in 5000+ tps application, even when collect all traces. - Manual instrumentation
- As an OpenTracing supported tracer
- Use @Trace annotation for any methods you want to trace.
- Integrate traceId into logs for log4j, log4j2 and logback.
Our mission is to remove the pain of handling servers, application stacks, software dependencies and databases.
Focus on your app development and deploy it in 2 minutes. No server to manage, hosting becomes instant and easy!
Looks very similar to Heroku
Quelques avantages:
- il est vraiment très rapide (il exploite les multi-cœurs).
- il ne met à jour que ce qui est nécessaire.
- la navigation js est vraiment très bien (avec le thème colorbox).
- on peut naviguer dans la galerie au clavier (flèches droite/gauche).
- le thème colorbox passe remarquablement bien sur mobiles.
- on peut commenter les galeries en markdown.
- on peut lui faire afficher un lien vers l'image originale (j'y tiens).
Une limitation : sigal
n'affiche pour le moment aucune miniature dans les dossiers contenant des medias et des sous-dossiers #408
Il n'est pas non plus possible d'uploader des fichiers via l'interface web.
Cela reste néanmoins un excellent outil, testé & approuvé de mon côté !
Alternatives :
- https://github.com/sebsauvage/MinigalNano : KISS, PHP, JS Lightbox
- https://www.files.gallery : single-file PHP app that can be dropped into any folder - FROM: https://sebsauvage.net/links/?y_HVuQ
3v4l.org (leetspeak for eval) is an online shell that allows you to run your code on my server.
Output from all released PHP and HHVM versions
Performance (time and memory) of every version
Supported languages:
.NET, Adobe Air, Android, Cold Fusion, Drupal, Go, iOS, Java, JavaScript, Python, macOS, Nancy, Node.js, PHP, Ruby on Rails, Unity, WordPress
Closed-source server backend
https://airbrake.io/languages :
Ruby, Rails, Java, Javascript, Magento, Php, .NET, Python, Django, Node.js, Swift, Android, Go, Sinatra, Angularjs, Flask, Ember, Express, Hapi
Open-source server backend of Airbrake (which has a closed-source backend)
How Drupal works: a plain(ish) English guide
Exists for Drupal 8 too
First, install PHP debugging extensions for gdb
, for example:
debuginfo-install php-5.6.8 # if you use yum
aptitude install php5-dbg # if you use aptitude
Then simply:
php_version=5.6.8
php_script_pid=$(pgrep -f $php_script_name)
curl https://raw.githubusercontent.com/php/php-src/PHP-$php_version/.gdbinit >> ~/.gdbinit
gdb …
Store, publish and A/B test your website or app's content with prismic.io, use a simple API to display your content without traditional CMS programming and design constraints.
Features based development workflow Antonio De Marco Andrea Pescetti antonio@nuvole.org andrea@nuvole.org