Pylint is an excellent tool to have good quality code. This post is not about how pylint works. Lets see most common pylint errors:
So, I have a Java project and dependencies are being managed through maven. I have installed all dependencies, and each library successfully downloaded, installed. Still, editor showing compilation error in red colors. This is annoying.
While running docker commands with some images, I started getting error:
unauthorized: incorrect username or password.
I was testing a bug where a field was limited to 255 characters only. I needed to generate a string of more than 255 characters.
So, on my mac, I’ev set timezone to my local city i.e. Delhi (India). Still, the name of months showing was strange like: “Saka”. I spent lot of time looking every single option to change it. But, could not do it.
If you are using Bootstrap, the default font that comes with the package is pretty simple and is not classy.
Note: This is based on bootstrap-4
Bootstrap has a simple solution to have sticky blocks in your html. I’ve given a simple example in my previous post: How to make sidebar as Sticky
In previous article: Effective Git Branching Strategy, I discussed Git branching strategy and how you can follow best practices to manage your code and builds.
Its essential to prepare a git branching strategy. This helps greatly in preparing a build management plan and deployment plans. You can also make a plan to test your new features, bug fixes and deploy it.
This post is applicable for those who has already an SSL certificate from Lets Encrypt. And, wants to renew them.
While doing code review of one of junior, I encountered following code:
class Test: logger = MyLogger.get_instance() def __init__(self): client = Jira.get_instance() def do_process(self): self.logger.info('Hey test') # some other code
Below are must have topics that you must know:
|Breadth First Search (BFS)||Linked Lists||Bit Manipulation|
|Depth First Search (DFS)||Binary Trees||Single Design Pattern|
|Binary Search||Tries||Factory Design pattern|
|Merge Sort||Stacks||Memory (Heap, Stack)|
|Trees Insert, find, delete etc||ArrayList, Vectors||Complexity, Big-O Notation|
It complains that you are using input string argument without normalize.
By normalizing means, do some refinement of the input. The rule says, never trust user input. Always do some check on that, and normalize them.
Drupal default installation comes with “Database logging” module enabled. Which facilitates you to see the logs on the website itself, with admin role. On the first looks awesome to see the logs in one place, you don’t need to move here and there.
Apache provides lot of libraries for common utility functions for Java. One such common library is FTP library which provides better functionality to do FTP and FTPS calls. The reference to apache ftp library is: Apache Ftp
Static websites have several advantages over dyanamic websites. If you are running your personal blog or portfolio or small websites. Static websites is the way to go.
It’s always a good practice to have a development environment and production environment for any kind of development. This post is for Drupal 8 development.
Curl is a wonderful tool for initiate REST APIs or calls. Or, you can literally open any web URL through it, and save files on public URLs through it. Its pretty light weight.