Skip to content

Instantly share code, notes, and snippets.

View baladkb's full-sized avatar
🎯
Happy Octocat

BK baladkb

🎯
Happy Octocat
  • Chennai ✈️ India
View GitHub Profile
@baladkb
baladkb / Place to visit
Created August 3, 2018 05:52
Place to visit
https://en.wikipedia.org/wiki/Giau_Pass
@baladkb
baladkb / My Fav Quotes
Last active July 16, 2019 08:59
My Fav Quotes :)
"He's sensation but he doesn't know it keep him on as a property man" - Charlie Chaplin(The Circus film)
"Failure is not an option, it's a requirement." -Dom Mazetti
"If you cannot find peace within yourself, you will never find it anywhere else." - Marvin Gaye
Before you start, be clear about what you want your reader to do after you end
“We realize the importance of our voices only when we are silenced.” Malala Yousafzai
@baladkb
baladkb / Get one year to today date in Java.md
Last active March 12, 2018 13:20
Get one year to today date in Java
```
import java.text.Format;
import java.text.SimpleDateFormat;
import java.util.Calendar;
import java.util.Date;
public class GetDate 
{
public static void main(String[] args) 
{
Format f = new SimpleDateFormat("yyyy-MM-dd");
@baladkb
baladkb / Bootstrap double popup scrolling issue Fix!
Created January 22, 2018 09:36
Bootstrap double popup scrolling issue Fix!
<!-- Button trigger modal -->
<button type="button" class="btn btn-primary btn-lg" data-toggle="modal" data-target="#myModal">
Launch demo modal
</button>
<!-- Modal -->
<div class="modal fade" id="myModal" tabindex="-1" role="dialog" aria-labelledby="myModalLabel" aria-hidden="true">
<div class="modal-dialog">
<div class="modal-content">
<div class="modal-header">
@baladkb
baladkb / find in-between date available or not
Created December 27, 2017 12:12
How to find in-between date available or not(Start date and End date) using Moment Js
var startDate = moment("2017-12-11");
var endDate = moment("2017-12-12");
var date = moment("2017-12-11");
if (startDate <= date && date <= endDate) {
alert("Yes");
} else {
alert("No! :(");
}
@baladkb
baladkb / Image not loading issue.md
Last active October 9, 2017 08:14
Image not loading issue in CSS (background-image:url())

Image not loading issue Fix

once we set background-image:url() and the url not working means how we can handel ?

if it Javascript means we can achieve easly but in CSS how ?

Answer :

.className
@baladkb
baladkb / alisson-acioli
Created September 26, 2017 10:41
alisson-acioli/csvtojson
https://github.com/alisson-acioli/csvtojson

How to fix an Image in to circle for products or any Images?

.caption div {
    box-shadow: 0 0 5px #C8C8C8;
    transition: all 0.3s ease 0s;
}
.img-circle {
    border-radius: 50%;
}
@baladkb
baladkb / Quotes
Created August 18, 2017 11:01
Quotes.md
Believes that the code should be as beautiful as the design.
@baladkb
baladkb / Find out max height of <li> in Jquery
Created July 6, 2017 13:24
Jquery function to find out max height of <li>
var max = -1;
$("li").each(function() {
var h = $(this).height();
max = h > max ? h : max;
});
alert(max);