Skip to content

Instantly share code, notes, and snippets.

View ValentinMerlet's full-sized avatar

Valentin Merlet ValentinMerlet

  • Akeneo
  • Nantes
View GitHub Profile
<?php
$input = "81827597793116617842489265377993134215656726894684959794894446986381824811432752482413692448689179473928166874161681861461322258513274238616868751793943291175384681799747355569382131691847347445978871491766579433675362883623115957873481348568724727328892621697699251631441583698561135468282189279398392275539557759285995996657432978769393424223315994784675727952393921784419434659949485845958279832679951257136529467397895592841695512721162423414349754672934868784431786424385923866532678441434961898583225922476185737138913363571181947696985458412358956616349179644216781589953978823711833921869913749753293249222694889236255493738149738946998134697199827164436294483988395396769866542731459243895818169763959463114299115632725741318662192336963246691883695127751942169526498694226178125641237771124582537941297887613426738479369475673224679973946472121544647797273788344561566475592344144178112893336958565592561525754849962887824212243497919796956997196137936775649988453743383921783572826379843187465431
<?php
$countRowsValid = 0;
$input = "oaoe rxeq vssdqtu xrk cjv yaoqp loo
mveua dogbam szydvri hyzk lbega abzqw xwjn wniug kwbre
npaoy uivpxwd oynpa rcdk uixpvdw
yserir iikzcm ieuroca iuwcfov rvb giti crdpdcv mxpps
spyuhgo lucasl ucllsa bymnjig yflbv nxitmlf
xlxyhwz xla mpye fvjegwg fezlfrt inetrh vhg xpvstx ydhvq
<?php
$input = "0
1
1
-2
-2
-2
-2
-4
<?php
$input = "0
1
1
-2
-2
-2
-2
-4
<?php
$input = "0
1
1
-2
-2
-2
-2
-4
<?php
$input = "czlmv (78)
fiwbd (57)
twxnswy (98)
dhrnu (62)
yptrqp (64)
vikplll (9)
lgxjcy (359) -> vsbfmt, kbdcl
tvisu (70)
<?php
$input = "11
11
13
7
0
15
5
5
@ValentinMerlet
ValentinMerlet / php_extensions.sh
Last active October 27, 2018 16:06
Extensions php dépendances Sf4
sudo apt install php-ext-xml
sudo apt install php-xml
sudo apt install php-curl
sudo apt install php-mbstring
sudo apt install php-zip
sudo apt install php7.2-sqlite3
alias git_pretty_log='git log --pretty="%C(Yellow)%h %C(reset)%ad (%C(Green)%cr%C(reset))%x09 %C(Cyan)%an: %C(reset)%s" --date=short'
# Import dump in db container
cat ./cool-dump.sql | docker-compose exec -T db psql -U postgres