Senger CodeLab 🚀

: All Posts

CSS-only masonry layout

CSS-only masonry layout

I need to implement a masonry layout However for a number of reasons I dont want to use JavaScript to do it Parameters All elements have the same width

Read more →

Delete files older than 15 days using PowerShell

Delete files older than 15 days using PowerShell

I would like to delete only the files that were created more than 15 days ago in a particular folder How could I do this using

Read more →

Difference between angle bracket   and double quotes   while including header files in C duplicate

Difference between angle bracket and double quotes while including header files in C duplicate

This question already has answers here Closed 14 years ago Possible Duplicate What is the difference between include ltfilenamegt and include filename What is

Read more →

Difference between Observer PubSub and Data Binding

Difference between Observer PubSub and Data Binding

What is the difference between the Observer Pattern PublishSubscribe and Data Binding I searched around a bit on Stack Overflow and did not find any good

Read more →

Fastest way to check a string contain another substring in JavaScript

Fastest way to check a string contain another substring in JavaScript

Im working with a performance issue on JavaScript So I just want to ask what is the fastest way to check whether a string contains another substring I just

Read more →

Finding median of list in Python

Finding median of list in Python

How do you find the median of a list in Python The list can be of any size and the numbers are not guaranteed to be in any particular order If the list

Read more →

Form inside a form is that alright duplicate

Form inside a form is that alright duplicate

This question already has answers here Can you nest HTML forms 20 answers Closed 10 years ago Whether we can have a form inside another form Is there any

Read more →

Get hostname of current request in nodejs Express

Get hostname of current request in nodejs Express

So I may be missing something simple here but I cant seem to find a way to get the hostname that a request object Im sending a response to was requested from

Read more →

git clone through ssh

git clone through ssh

I have a project on which I created a git repository cd myproject git init git add git commit I the wanted to create a bare clone on another machine cd git

Read more →