Senger CodeLab 🚀

: All Posts

Simplest way to detect a mobile device in PHP

Simplest way to detect a mobile device in PHP

What is the simplest way to tell if a user is using a mobile device to browse my site using PHP I have come across many classes that you can use but I was

Read more →

Visual Studio 2010 - recommended extensions closed

Visual Studio 2010 - recommended extensions closed

As it currently stands this question is not a good fit for our QampA format We expect answers to be supported by facts references or expertise but this

Read more →

What are the differences between poll and select

What are the differences between poll and select

I am referring to the POSIX standard select and poll system C API

Read more →

What do I need to do to get Internet Explorer 8 to accept a self signed certificate

What do I need to do to get Internet Explorer 8 to accept a self signed certificate

We use self signed certificates on our intranet What do I need to do to get Internet Explorer 8 to accept them without showing an error message to the user

Read more →

What is out keyword in kotlin

What is out keyword in kotlin

I am not able to understand and I couldnt find the meaning of out keyword in kotlin You can check example here Listltout Tgt If any one can explain the meaning

Read more →

What is the advantage of GCCs builtinexpect in if else statements

What is the advantage of GCCs builtinexpect in if else statements

I came across a define in which they use builtinexpect The documentation says Builtin Function long builtinexpect long exp long c You may use builtinexpect to

Read more →

What is the best way to pass AWS credentials to a Docker container

What is the best way to pass AWS credentials to a Docker container

I am running dockercontainer on Amazon EC2 Currently I have added AWS Credentials to Dockerfile Could you please let me know the best way to do

Read more →

What is the difference between ArrayListclear and ArrayListremoveAll

What is the difference between ArrayListclear and ArrayListremoveAll

Assuming that arraylist is defined as ArrayListltStringgt arraylist is arraylistremoveAllarraylist equivalent to arraylistclear If so can I assume that the

Read more →

Whats the difference between squash and fixup in GitGit Extension

Whats the difference between squash and fixup in GitGit Extension

Ive been using Git Extensions for a while now its awesome but I havent found a simple answer to the following Sometimes when typing a commit message a make a

Read more →