Skip to content

Instantly share code, notes, and snippets.

View anandchakru's full-sized avatar

Anand Rockzz anandchakru

View GitHub Profile
anandchakru / webp2png.html
Created August 22, 2023 19:23
webp to png bulk upload/download
<!DOCTYPE html>
<meta charset="utf-8" />
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
<title>Bulk convert WebP to png created by anandchakru</title>
<meta name="viewport" content="width=device-width, initial-scale=1" />
body {
font-family: Arial, sans-serif;
import java.util.Collections;
import java.util.HashMap;
import java.util.Map;
public class LRUCache<T> {
private int maxItems;
private Node top = new Node("", null);
private Node btm = new Node("", null);
private Map<String, Node> hm = Collections.synchronizedMap(new HashMap<String, Node>());

Spring boot questions

Spring dependency injection

Fundamental concept in spring framework. Spring injects dependencies into other objects enabling loose coupling of components and easy to manage/change/test dependencies.

Spring Inversion of control/Dependency injection

It is a process by which objects define their dependencies through external ways such as constructors, factory methods, properties, annotations.

What these interface used for?

We can make this file beautiful and searchable if this error is corrected: No commas found in this CSV file in line 0.
a19e23ba-e45e-4652-b56d-e3538a04b237|UID|8dc25100-c9f7-4f03-8227-b7f6c9181fca|5|PENDING|2021-08-16|2021-03-28|2021-09-11|1700.08|DIGITAL|Guatemala City|false
anandchakru / index.html
Created May 27, 2019 01:13
SVG Loader Animation
<h1>Pure <b>SVG</b> Loader</h1>
<!-- Loader1 -->
<svg version="1.1" id="L1" xmlns="" xmlns:xlink="" x="0px" y="0px" viewBox="0 0 100 100" enable-background="new 0 0 100 100" xml:space="preserve">
<circle fill="none" stroke="#fff" stroke-width="6" stroke-miterlimit="15" stroke-dasharray="14.2472,14.2472" cx="50" cy="50" r="47" >
anandchakru /
Created January 5, 2019 05:37 — forked from TomyJaya/
Spring Data REST - Useful notes

How To change baseUri:

in add:
  • or -

in application.yml add:

anandchakru /
Created January 30, 2018 01:17
How Recover local windows 10 password using usb bootable


  • works on local user accounts only
  • works on usb bootable computers only

What you will need

  • Another working computer
  • A usb thumb drive
  • Basic cmd skills


anandchakru /
Last active July 24, 2017 20:21
Github notes

Clone remote repo

git clone

Stage all new/modified files from current dir

git add .