Skip to content

Instantly share code, notes, and snippets.

Avatar
🎯
Happy Octocat

BK baladkb

🎯
Happy Octocat
  • Chennai ✈️ India
View GitHub Profile
View Place to visit
https://en.wikipedia.org/wiki/Giau_Pass
@baladkb
baladkb / My Fav Quotes
Last active Jul 16, 2019
My Fav Quotes :)
View 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 Mar 12, 2018
Get one year to today date in Java
View Get one year to today date in Java.md
```
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 Jan 22, 2018
Bootstrap double popup scrolling issue Fix!
View 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 Dec 27, 2017
How to find in-between date available or not(Start date and End date) using Moment Js
View find in-between date available or not
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 Oct 9, 2017
Image not loading issue in CSS (background-image:url())
View Image not loading issue.md

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 Sep 26, 2017
alisson-acioli/csvtojson
View alisson-acioli
https://github.com/alisson-acioli/csvtojson
View How to fix an Image in to circle for products or any Images(Circle Image - Bootstrap)?.md

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%;
}
View Quotes
Believes that the code should be as beautiful as the design.
@baladkb
baladkb / Find out max height of <li> in Jquery
Created Jul 6, 2017
Jquery function to find out max height of <li>
View Find out max height of <li> in Jquery
var max = -1;
$("li").each(function() {
var h = $(this).height();
max = h > max ? h : max;
});
alert(max);