Animation full CSS / HTML about Danbo, the Yotsuba&! & Amazon's famous character. In a 3D environment, totally realised by using LESS, attends the Danbo's awakening.
A Pen by Alexis Colin on CodePen.
| // Allow from any origin | |
| if (isset($_SERVER['HTTP_ORIGIN'])) { | |
| header("Access-Control-Allow-Origin: {$_SERVER['HTTP_ORIGIN']}"); | |
| header('Access-Control-Allow-Credentials: true'); | |
| header('Access-Control-Max-Age: 86400'); // cache for 1 day | |
| } | |
| // Access-Control headers are received during OPTIONS requests | |
| if ($_SERVER['REQUEST_METHOD'] == 'OPTIONS') { |
| function generateUuid () { | |
| return ([1e7]+-1e3+-4e3+-8e3+-1e11).replace(/[018]/g, c => | |
| (c ^ crypto.getRandomValues(new Uint8Array(1))[0] & 15 >> c / 4).toString(16) | |
| ) | |
| } |
| return (new Date().getTime() + Math.floor((Math.random()*10000)+1)).toString(16); |
| const reorderArray = (array, payload) => { | |
| const movedItem = array.find((item, index) => index === payload.oldIndex); | |
| const remainingItems = array.filter((item, index) => index !== payload.oldIndex); | |
| return [ | |
| ...remainingItems.slice(0, payload.newIndex), | |
| movedItem, | |
| ...remainingItems.slice(payload.newIndex) | |
| ]; |
| ffmpeg -i animated.gif -movflags faststart -pix_fmt yuv420p -vf "scale=trunc(iw/2)*2:trunc(ih/2)*2" video.mp4 |
| <?php | |
| echo (@fsockopen("in-v3.mailjet.com", 25, $errno, $errstr, 2))?'port 25 ouvert<br /><br />':'port 25 ferme<br />'.$errno.' '.$errstr.'<br /><br />'; | |
| echo (@fsockopen("in-v3.mailjet.com", 587, $errno, $errstr, 2))?'port 587 ouvert<br /><br />':'port 587 ferme<br />'.$errno.' '.$errstr.'<br /><br />'; | |
| echo (@fsockopen("ssl://in-v3.mailjet.com", 465, $errno, $errstr, 2))?'port 465 securise ssl ouvert<br /><br />':'port 465 securise ssl ferme<br />'.$errno.' '.$errstr.'<br /><br />'; | |
| echo (@fsockopen("tls://in-v3.mailjet.com", 465, $errno, $errstr, 2))?'port 465 securise tls ouvert<br /><br />':'port 465 securise tls ferme<br />'.$errno.' '.$errstr.'<br /><br />'; | |
| ?> |
Animation full CSS / HTML about Danbo, the Yotsuba&! & Amazon's famous character. In a 3D environment, totally realised by using LESS, attends the Danbo's awakening.
A Pen by Alexis Colin on CodePen.