Skip to content

Tarik Billa

  • Web Development
    • html
    • vue.js
    • laravel
    • css
    • javascript
    • jquery
    • node.js
    • php
    • asp.net
  • Programming
    • python
    • java
    • c
    • c++
    • c#
  • git
  • android

embeddedwebserver

Setting environment variables with the built-in PHP web server

September 12, 2023 by Tarik
Categories php Tags embeddedwebserver, environment-variables, php Leave a comment

Print something in PHP built-in web server

August 20, 2023 by Tarik
Categories php Tags embeddedwebserver, php Leave a comment

How can I create an HttpListener class on a random port in C#?

August 7, 2023 by Tarik

TcpListener will find a random un-used port to listen on if you bind to port 0. public static int GetRandomUnusedPort() { var listener = new TcpListener(IPAddress.Any, 0); listener.Start(); var port = ((IPEndPoint)listener.LocalEndpoint).Port; listener.Stop(); return port; }

Categories c# Tags c++, embeddedwebserver, httplistener Leave a comment

What are the limitations of the flask built-in web server

May 13, 2023 by Tarik

There isn’t one right answer to this question, but here are some things to keep in mind: With the right amount of horizontal scaling, it is quite possible you could keep scaling out use of the debug server forever. When exactly you would need to start scaling (or switch to using a “real” web server) … Read more

Categories webserver Tags embeddedwebserver, flask, sysadmin, webserver Leave a comment

Tarik Billa

Software Engineer
tarikbilla@gmail.com
+8801884414000
  • Reuse a hash in YAMLApril 17, 2024
  • Dockerfile: how to redirect the output of a RUN command to a variable?April 16, 2024
  • How to cd to a directory with spaces in the directory name?April 16, 2024
  • Maximum MIME type length when storing the type in a databaseApril 16, 2024
  • What is the difference between Unit, Integration, Regression and Acceptance Testing?April 16, 2024
© 2026 Tarik Billa