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 / How to apply onclick function for dynamic class's and id's ?
Created September 3, 2018 11:28
How to apply onclick function for dynamic class's and id's ?
<input type="checkbox" class="ck_filter">
$(document).ready(function() {
$(document).on( 'click', '.ck_filter', function () { ... });
});
@baladkb
baladkb / Place to visit
Created August 3, 2018 05:52
Place to visit
https://en.wikipedia.org/wiki/Giau_Pass
@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! :(");
}

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 / 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
@baladkb
baladkb / Quotes
Created August 18, 2017 11:01
Quotes.md
Believes that the code should be as beautiful as the design.