Skip Navigation

Posts
6
Comments
16
Joined
3 yr. ago

IT enthusiast & web developer from Switzerland

  • what are your requirements? i love lenovo although i might change to frameworks or system76

  • why even buy that slop of hardware beforehand? if you dont want that feature, you might be happier with another brands laptop

  • Ohh please tell me this was written entirely by AI without a real person with a working brain going through it

  • haha yes sorry! my wireless wlan had some issues with my personal pc when i was etablishing a secure ssh connection. could also be an error with my dns system or with the http protocol.

  • not sure about the legal side because when you install windows you accept eula and much more shit so im sure there is a sentence 'only keys officially bought from and provided from microsoft shall be used.'

  • didnt know about massgrave until now. looks promising too.

  • you can activate any windows or office by using vlmcsd (https://github.com/Wind4/vlmcsd). you can selfhost it, choose any windows version like 11 pro or enterprise or office product like office 24 enterprise. activate it using your kms server and you can enter the matching licence key every so often to activate it. doesn't cost a cent except hosting on 512mb/1cpu. i think there are public kms servers with vlmcsd too. obviously JUST FOR TESTING PURPOSES ;)

  • $ sudo walk north

  • A whole library which was meant to to 10 things, but you only use one. And that for x libraries

  • Programmer Humor @programming.dev

    When Life Feels Like an HTTP Status Code

  • Hey thanks for the comment!The plugins don't get maintained by me, they're getting maintained by the Grav team. I'm not very good in PHP too.I plan to create an issue on GitHub if I know more and probably identified the code causing the problem.

  • Every shortcode is a PHP class and looks like this:

     php
        
    <?php
    
    namespace Grav\Plugin\Shortcodes;
    
    use Grav\Common\Utils;
    use Thunder\Shortcode\Shortcode\ShortcodeInterface;
    
    class ClearBothShortcode extends Shortcode
    {
        public function init()
        {
            $this->shortcode->getHandlers()->add('clearboth', function (ShortcodeInterface $sc) {
    
                // Get shortcode content and parameters
                $str = $sc->getContent();
    
                $output = '<div style="clear: both;"></div>';
    
                return $output;
    
            });
        }
    }
    
      

    with that, it should be possible to only call these classes.

  • Programming @programming.dev

    I just spent 6 hours of debugging some code, just to find out I had to delete a line in a .gitkeep file

    github.com /Crabston/grav-skeleton-hadron/commit/f874f5dcc8605f53106d00fb6c57aa438b6e732b
  • I'd just import it as TwitterIcon

  • Actual definitions (my opinion):

    • HTML is website
    • CSS is style
    • JS is everywhere
    • SQL is data
    • Python is simple
    • PHP is backend
    • Markdown is README
    • YAML is config
    • PHP is old
    • HTML is NOT A PROGRAMMING LANGUAGE!!!
    • CSS is︎ ︎ ︎ not alig-

    ︎ ︎ ︎ ned

    -

  • Programmer Humor @programming.dev

    Stop comparing programming languages

  • as a young IT with friends who dont know much about IT i have to say that most around 20 use reddit, instagram, ... cause its the only thing they know. everyone they know uses them and many of them want likes, ...

    if they would join the fediverse:

    1. they wouldnt understand how it works. what is a server? why choose an instance? its just too complicated
    2. all their friends dont use the fediverse. they would be alone and have nobody who they can share things to
    3. they would mostly see tech stuff and less in categories they are interested in
    4. none of the people they follow on instagram are here. the cant follow their celebrities, ... and see their content
    5. the fediverse still has to less users to be successful worldwide. its growing. and just like facebook in its first years, its growing slow.

    => give it a few more years and get your friends, family & collegues on here and see the fediverse grow

  • Programmer Humor @programming.dev

    Songs about Vim

  • Programmer Humor @programming.dev

    Touch a file in Linux

  • Fediverse @lemmy.world

    My change to the Fediversa