May 14, 2019

Do you have a small-technical problem to solve?

Vokail

I've said before I'm currently looking for ideas to start a side project, so what I ask to IH community.
Do you have a technical-problem (better small) do you want to be solved?

I don't promise anything, just asking

My bio:

  • frontend developer: angular/angularjs mostly, old java jsp/jsf stuff
  • backend developer: rest services, api integration, mostly with java
  • product owner: product design, problem analysis, task description and breakdown
  1. 1

    Yeah, have a small PHP issue in WordPress (probably not what you are after haha).

    1. 1

      Happy to help you out on this one! Check out https://257fixes.com

    2. 1

      I think is more suited for a proper consulting ?

      And maybe require some access to your wordpress instance :D

      Well, you can explain your problem here, maybe someone can help you

  2. 1

    I'd like to click on a button from my desktop to :

    • Login to my server

    • Enter the correct directory

    • Enter "ng build --prod --aot"

    • Logout

    I guess this does exist but dont have the faith to look for it :P But this would be sick for me :D

    1. 1

      Thanks for sharing.

      Nice scenario, simple, I like it!

      Which OS do you use ? Linux, Windows, Mac ?

      At first sight a small bash script that:

      1. login to your server using ssh (do you user/psw ? or some kind of key credential?)

      2. simply cd correct directory

      3. ng build stuff

      4. logout

      What do you think ?

      I can elaborate if you want

      1. 1

        I login to my digital ocean Debian 9 server using Putty on Windows 7 and user/pw indeed :)

        You're free to do it :P That would make my day :P

        1. 1

          Hard to test with correct setup, my best find for now:

          Rem ----------------------------

          Rem Remember to setup your script!

          Rem

          Rem 1) download plink from here: https://www.chiark.greenend.org.uk/~sgtatham/putty/latest.html

          Rem 2) set env variables down below

          Rem 3) define commands file with commands you want to execute on server

          Rem ----------------------------

          set PLINK_GANDALFLIFE_DIR=

          set HOST_GANDALFLIFE=

          set SERVER_GANDALFLIFE_CORRECT_DIRECTORY=/

          set USER_GANDALFLIFE=

          set PSW_GANDALFLIFE=

          cd %PLINK_DIR%

          plink.exe %USER_GANDALFLIFE%@%HOST_GANDALFLIFE% -m c:\commands.txt

          ---------

          Or mabye install and use https://www.digitalocean.com/community/tutorials/how-to-use-doctl-the-official-digitalocean-command-line-client ?

          1. 1

            Haha thanks dude! You rock!

            1. 1

              you welcome :D