Home / Programming / Code Snippets

Code Snippets

All types of code solutions are included in code snippets


When you work for a user experience design company for as long as I have, you start to notice the cyclical nature of industry trends. Just like fashion or art, what goes out of style inevitably resurfaces a few years down the road, only to become adopted by the mainstream, …

Read More »

Remove pub2srv malware from your OpenCart or WordPress Website

We’ve been watching a specific malware infection targeting OpenCart & WordPress websites for several months. It’s commonly referred to as the pub2srv malware infection which redirects your website visitors to other malicious domains like go.pub2srv[.]com, go.mobisla[.]com, go.oclaserver[.com] Remove pub2srv malware, pub2srv, solve pub2srv    Screenshot of WordPress user request help in the forum, Remove …

Read More »

Programming Resources Links

Programming Resources Links, Programming resources, useful programs links

Codechef’s resource compilation: https://discuss.codechef.com/questions/48877/data-structures-and-algorithms Getting started with C++ STL: https://sites.google.com/site/smilitude/stl https://www.hackerrank.com/domains/cpp/stl http://acm.hust.edu.cn/vjudge/contest/view.action?cid=120013#overview Extended Euclid: https://web.facebook.com/groups/341771679363942/permalink/498491447025297/ nCr mod m: For non-prime m <= 10^4 and n, r <= 10^5 – https://web.facebook.com/groups/341771679363942/permalink/497216540486121/ For n, r, m <= 10^9 and Squarefree nonprime m with small prime factors – https://web.facebook.com/groups/341771679363942/permalink/498818073659301/ For n, r <= …

Read More »

Multicast Using Java Sockets

socket pogram

Java Socket APIs enable network communication where client-server communication can be established in three ways: one-to-one communication (client-server), one-to-all communication (broadcast), and one-to-many communication (multicast).   Basics: IPv4 uses 32-bit addressing and can be supported about 4.3 billion devices, IPv6 uses 64-bit addressing that can support about 3.4e104 devices! However, IPv4 is …

Read More »
Social Media Auto Publish Powered By : XYZScripts.com