Senger CodeLab 🚀

: All Posts

Android Split string

Android Split string

I have a string called CurrentString and is in the form of something like this Fruit they taste good I would like to split up the CurrentString using the as

Read more →

Aws ecs fargate ResourceInitializationError unable to pull secrets or registry auth

Aws ecs fargate ResourceInitializationError unable to pull secrets or registry auth

I am trying to run a private repository on awsecsfargate140 platform For private repository authentication I have followed the docs and it was working well

Read more →

Batch file Find if substring is in string not in a file

Batch file Find if substring is in string not in a file

In a batch file I have a string abcdefg I want to check if bcd is in the string Unfortunately it seems all of the solutions Im finding search a file for a

Read more →

Call getLayoutInflater in places not in activity

Call getLayoutInflater in places not in activity

What does need to be imported or how can I call the Layout inflater in places other than activity public static void methodContext context this doesnt work the

Read more →

Can we omit parentheses when creating an object using the new operator

Can we omit parentheses when creating an object using the new operator

I have seen objects being created this way const obj new Foo But I thought that the parentheses are not optional when creating an object const obj new Foo Is

Read more →

Concatenating two lists - difference between  and extend

Concatenating two lists - difference between and extend

Ive seen there are actually two maybe more ways to concatenate lists in Python One way is to use the extend method a 1 2 b 2 3 bextenda the other to use the

Read more →

Configuring diff tool with gitconfig

Configuring diff tool with gitconfig

How do I configure Git to use a different tool for diffing with the gitconfig file I have this in my gitconfig diff tool gitchdiff also tried bingitchdiff It

Read more →

Converting Storyboard from iPhone to iPad

Converting Storyboard from iPhone to iPad

I have an iPhone application which has a storyboard Now I want to provide an iPad application too So I asked me whether there is a function which helps me

Read more →

Create a directly-executable cross-platform GUI app using Python

Create a directly-executable cross-platform GUI app using Python

Python works on multiple platforms and can be used for desktop and web applications thus I conclude that there is some way to compile it into an executable for

Read more →