I hereby claim:
- I am pierstoval on github.
- I am pierstoval (https://keybase.io/pierstoval) on keybase.
- I have a public key ASDMqGJzpJ2OMQa9tDDwznVYnbzPVW7K4oDlKUBliBawWAo
To claim this, I am signing this object:
RTDIR = ${REQUEST_TRACKER_DIR} | |
echo: | |
@echo "${WOW}" | |
## | |
## RequestTracker | |
## -------------- | |
## |
I hereby claim:
To claim this, I am signing this object:
<?php | |
declare(strict_types=1); | |
/* | |
* (c) Alexandre Rock Ancelet <pierstoval@gmail.com> and Studio Agate. | |
* | |
* Licensed with MIT | |
*/ |
# Change the current background according to a distant URL. | |
# Needs the "feh" package to work. | |
DISPLAY=:0 XAUTHORITY=$HOME/.Xauthority feh --bg-center http://rammb.cira.colostate.edu/ramsdis/online/images/latest/himawari-8/full_disk_ahi_natural_color.jpg | |
# Source: https://twitter.com/docteur_klein/status/1130730930031779840 |
<?php | |
declare(strict_types=1); | |
namespace Tests; | |
use Symfony\Bundle\FrameworkBundle\KernelBrowser; | |
use Symfony\Bundle\FrameworkBundle\Test\KernelTestCase as BaseWebTestCase; | |
use Symfony\Component\BrowserKit\Cookie; | |
use Symfony\Component\Security\Core\Authentication\Token\UsernamePasswordToken; |
<?php | |
$number = "\d*(?:\.\d+)?"; // It's a reference to use in other cases that matches any kind of number/float | |
$width = "(?<w>(?:$number)?%?)?"; // This is the first part, the width | |
$height = "(?:x(?<h>(?:$number)?%?))?"; // Here is the height, the same as "width" but starting with an "x" | |
$aspect = "[!><@^]"; // These are the different filters one can use to stretch, shrink, etc. | |
$size = "$width$height"; // To match any size we need width and height at least (aspect comes later) |
<?php | |
/** | |
* This file is part of the corahn_rin package. | |
* | |
* (c) Alexandre Rock Ancelet <alex@orbitale.io> | |
* | |
* For the full copyright and license information, please view the LICENSE | |
* file that was distributed with this source code. | |
*/ |
(function(){ | |
let list=document.querySelectorAll('.event--vote-stars'); | |
let score = 0; | |
for (let i=0,l=list.length;i<l;i++) { | |
let el=list[i]; | |
score+=el.querySelectorAll('a.star.is-selected').length; | |
} | |
console.info(score/list.length); | |
})(); |