Coding Brewery

  • Blog
  • Software development
    • Clean Code
    • C++
    • Python
    • Java
    • Devops
      • Docker
      • Linux
  • Machine learning
    • Maths
      • Median absolute deviation (MAD) of Errors
      • R-Squared/Coefficient of determination
      • Distribution of error functions
      • Logarithmic loss (or cross-entropy)
      • Receiver operating characteristic (ROC ) curve
      • Confusion Matrix
      • Maths 101: Part 8: Hypothesis testing
      • Distribution of error functions
      • Maths 101 : Part 7: Estimating Confidence Intervals
    • Data Science Libraries
    • Dimensionality Reduction
  • Career Advice
  • Home
    • Contact Us
    • About

Blog

Java

Multithreading in Java

There are several key terms which one must know to get a picture of how multithreading works in Java. The post deals mostly with the java multithreading classes that come builtin with java. Runnable A Runnable is basically a type Read more

Like this:

Like Loading...
By Deepanshu Lulla, 8 yearsAugust 19, 2018 ago
Devops

Useful Docker Commands(Cheatsheet)

Useful docker commands that we may use daily 1.List all running containers $ docker ps -a  2. List all running containers (only IDs) $ docker ps -aq 3. Pull an image $ docker pull <image_name> 4. Start/Run a container $ Read more

Like this:

Like Loading...
By Deepanshu Lulla, 8 yearsJune 21, 2018 ago
Software development

Go Routines

Goroutines are functions that are created and scheduled to be run independently by the Go scheduler. The Go scheduler is responsible for the management and execution of goroutines. Notes Goroutines are functions that are scheduled to run independently. We must Read more

Like this:

Like Loading...
By Deepanshu Lulla, 8 yearsJune 15, 2018 ago
Algorithms

Minimum Window Substring

Question Given a string S and a string T, find the minimum window in S which will contain all the characters in T in complexity O(n). Example: Input: S = “ADOBECODEBANC”, T = “ABC” Output: “BANC” Note: If there is Read more

Like this:

Like Loading...
By Deepanshu Lulla, 8 yearsMarch 19, 2018 ago
Java

SDK Man useful commands

SDK man is an awesome tool to install dependencies in Spring boot applications. I found it pretty useful for installing and uninstalling groovy and scala. Refer this link for more such commands To find out sdk man version one is Read more

Like this:

Like Loading...
By Deepanshu Lulla, 8 yearsFebruary 19, 2018 ago
Linux

Linux commands to Tar and Untar ball a file

Here is a self note to how to tar ball and untar ball a file. To compress a directory use the following syntax: # tar -zcvf archive_name.tar.gz directory_to_compress To decompress an archive use the following syntax: # tar -zxvf archive_name.tar.gz

Like this:

Like Loading...
By Deepanshu Lulla, 8 yearsJanuary 12, 2018 ago
Java

Java Spring boot, maven and gradle commands

Here are few of the spring boot,maven and gradle commands I find pretty useful. They are mostly used for building jars and running them. Package into Jar $spring jar myapp.jar app.grovy To see contents of jar $jar tf my-app.jar Run Read more

Like this:

Like Loading...
By Deepanshu Lulla, 8 yearsDecember 21, 2017 ago
Devops

Useful Chef commands

Here is my shortcut list for some of the chef commands. Not all of these work in AWS opsworks. Generating cookbooks named apache chef generate cookbook cookbooks/apache   Generating recipes named server.rb   chef generate recipe cookbooks/apache/ server Check syntax Read more

Like this:

Like Loading...
By Deepanshu Lulla, 8 yearsDecember 11, 2017 ago
Devops

Installing Jenkins with java 1.8 using java tar ball

For installing jenkins on Ubuntu 14.04 using Java RPM do the following steps. Step 1: Download java tar ball file from http://www.oracle.com/technetwork/java/javase/downloads/jdk8-downloads-2133151.html Step 2: Scp the files from your local machine to your server Step 3: Install java sudo tar Read more

Like this:

Like Loading...
By Deepanshu Lulla, 8 yearsNovember 30, 2017 ago
Devops

SRE vs Devops: What top tech gurus have to say?

Why this debate. SRE and DevOps have truly changed the way traditionally operations have been done. One thing all the prominent bloggers, tech leaders, and enthusiasts agree that SRE is not a glorified sysadmin. Read more here However many companies Read more

Like this:

Like Loading...
By Deepanshu Lulla, 8 yearsNovember 19, 2017 ago

Posts pagination

Previous 1 … 6 7
Hestia | Developed by ThemeIsle
%d