Skip to content
View tentacode's full-sized avatar
🐙
tentacoding
🐙
tentacoding

Highlights

  • Pro
Block or Report

Block or report tentacode

Block user

Prevent this user from interacting with your repositories and sending you notifications. Learn more about blocking users.

You must be logged in to block users.

Please don't include any personal information such as legal names or email addresses. Maximum 100 characters, markdown supported. This note will be visible to only you.
Report abuse

Contact GitHub support about this user’s behavior. Learn more about reporting abuse.

Report abuse
tentacode/README.md

test workflow Twitter @tentacode

tentacode's github stats

tentacode's github trophy

<?php

final class Tentacode
{
    public function __construct(
        private string $fullName = "Gabriel Pillet",
        private string $twitterHandle = "@tentacode",
        private string $portfolioUrl = "https://tentacode.dev",
        private array $favoriteEmojis = ['🐙', '✨', '🤖', '🤗'],
    ) {}

    public function  sayHello(): void
    {
        $greetingMessage = <<<BONJOUR
            Bonjour! {$this->favoriteEmojis[array_rand($this->favoriteEmojis)]}
            My name is {$this->fullName}.

            Check my portfolio at {$this->portfolioUrl}
            Or my twitter profile at https://twitter.com/{$this->twitterHandle}
            BONJOUR;

        print $greetingMessage . PHP_EOL;
    }
}

try { 
    (new Tentacode)->sayHello();
} catch (\Throwable $e) {
    echo "Oops, nobody is perfect I guess…". PHP_EOL . $e->getMessage();
    die(42);
}

Pinned

  1. tentacode tentacode Public

    🐙 My portfolio

    PHP 4

  2. mario mario Public

    Forked from web-id-fr/mario

    🆙 MacOS Ansibles Recipes : Indepotent & Omnipotent (it setups a local environment for devs @ https://web-id.fr)

    Jinja 1

  3. curriculum curriculum Public

    🏆 My curriculum vitae in French.

    HTML 4 2

  4. PhatFishes PhatFishes Public

    🐡 A party game with puffer fishes, made all by myself under 72 hours.

    C# 6

  5. lyonmoji lyonmoji Public

    🦁 Pixel art Lyon Emojis, royalty free.

    Shell 14

  6. Cubyrinth Cubyrinth Public

    🎲 An experimental VR game for Oculus where you ride a gigantic Rubik's cube, made in under 72 hours.

    C# 7 1