Month: January 2021

  • Doctrine migrations links

    Doctrine migrations links

    I have trouble navigating the Symfony documentation so I create lists of links here so I can just easily find what I need again later. MigrationsBundle link and info -> shows how to run migrations and all of the doctrine migration related commands Doctrine Symfony overview -> more information about doctrine and migrations.

  • It’s in my head it must be in yours. Why all documentation sucks ass!!!

    Most documentation sucks. It seems most authors have this idiotic idea that whatever is in their head, all their knowledge etc. magically transfers to the user as they read it. These are the same kind of idiots you meet in society that drone on about shit they understand to the totally uninitiated like they are […]

  • symfony how to start encore watch

    I use so many languages and tools, I can never even remember the most simple things about anything anymore . I actually use this daily thanks to my dyslexia getting the order of the words… out of order. LOL I always want to “yarn run encore –watch dev” or some variation. LOL This is how […]

  • How to create ssh keys for admin user login without passwords

    How to create ssh keys for admin  user login without passwords

    The idea is to have a way for an admins to SSH into a server without having to use passwords. This adds a level of security to your server setup. Without private keys you have to enter your user name and password. This can be less secure than generating SSH keys and adding your public […]

  • Why doesn’t bash script recognize aliases

    Here I won’t be doing much explaining, just listing links so people can read about this befuddling issue. It often boggles my mind how differently you must write shell scripts vs the command line commands. It is often very inconsistent, I hate inconsistencies. Basically Aliases within Linux shell are not recognized without some fancy hacky […]

  • Stupid linux issues.

    This is my collection of stupid. Top of the list Debian/Ubuntu removes apt-key support and doesn’t tell anyone they did it, doesn’t give anyone a single hint as to what to do. No just remove/deprecate shit and don’t tell a single soul on earth. This kind of stupid makes me want to leave the industry […]

  • Where does symfony php framework hide the errors?

    Where does symfony php framework hide the errors?

    I kept saying this over and over and looking everywhere for answers. I finally found this page through googling tons of terms and combos until I found it. I kept thinking my errors would be in the logs I set in my Nginx configs, or even in my PHP configs. But they were continually empty, […]

  • How to switch users in Linux Bash Shell script and execute multiple commands as different user

    How to switch users in Linux Bash Shell script and execute multiple commands as different user

    If you search you will find different answers to this. You can do this in multiple ways, here I will talk about 2 ways, single command and multiple commands. First the idea is to switch from say root user to a named user you created or was created for you on your Linux server to […]

  • What does prototypical Javascript look like?

    What does prototypical Javascript look like?

    Way back before modern times, like 10 years ago. Javascript had a much funkier way of defining objects. It was called prototypical inheritance. This is still how Javascript works, the classes, modules etc. were all recent additions to the language to make it easier to work with. It is not a very fun way to […]

  • How to configure php 7.4+ on Linux Ubuntu 20.04+

    How to configure php 7.4+ on Linux Ubuntu 20.04+

    Configuring php can be confusing. PHP uses multiple configuration files, but the main ones are both named php.ini. You see with php you can have separate configurations for the app and the command line aka cli. This may sound stupid at first but it is due to the fact that your command line is a […]