This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
public class BMRLogger { | |
public static final String EVENT_TAG_APP_EVENT = "app_event"; | |
public static final String PUSH_EVENT = "push_event"; | |
public static final String PAGE_OPEN_EVENT = "page_open"; | |
public static final String CLICK_EVENT = "click"; | |
public static final String FORM_SUBMIT_EVENT = "form_submit"; | |
private BMRLogger() { | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@Configuration | |
public class AppConfig { | |
@Bean | |
public CorsFilter corsFilter() { | |
UrlBasedCorsConfigurationSource source = new UrlBasedCorsConfigurationSource(); | |
CorsConfiguration config = new CorsConfiguration(); | |
config.setAllowCredentials(true); | |
config.addAllowedOrigin("*"); | |
config.addAllowedHeader("*"); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/** | |
* Created by sayem on 14-Jul-17. | |
*/ | |
public class PasswordUtil { | |
public static int PASS_MIN_SIZE = 6; | |
public static final int CRYPTO_STRENGTH = 512; | |
public enum EncType {SHA_ENCODER, BCRYPT_ENCODER} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[ | |
{ | |
"date":"May 18, 2018", | |
"sehri" : "3:44 AM", | |
"iftar" : "6:45 PM" | |
}, | |
{ | |
"date":"May 19, 2018", | |
"sehri" : "3:45 AM", | |
"iftar" : "6:46 PM" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[ | |
{ | |
"event" : "পহেলা বৈশাখের কথকতা", | |
"description" : "পহেলা বৈশাখ আমাদের বাংলা পঞ্জিকার প্রথম মাস বৈশাখের ১ তারিখ বা প্রথম দিন। গ্রেগরিয়ান বর্ষপঞ্জি অনুসারে পহেলা বৈশাখ পালন করা হয় ১৪ এপ্রিল। আর তা নির্ধারণ করে দিয়েছে বাংলা একাডেমি কর্তৃপক্ষ-ই।হিন্দু সৌরপঞ্জিকা শুরু হতো গ্রেগরিয়ান পঞ্জিকায় উল্লিখিত এপ্রিল মাসের মাঝামাঝি সময়ে। তবে এই সৌরপঞ্জিকাতে বাংলার বারটি মাস অনেক বছর আগে থেকেই পালিত হয়ে আসছিল বলে দাবি করেছেন অনেক ইতিহাসবিদ। হিন্দু সৌরপঞ্জিকার আমলেও নববর্ষ বা পহেলা বৈশাখে উৎসব পালন করা হত। তবে সে উৎসব ছিল ঋতুধর্মীয় উৎসব। মূলত তখনকার কৃষিকাজ-ভিত্তিক সমাজেই নিহিত ছিল এই উৎসবের তাৎপর্য। বঙ্গ, নেপাল, ত্রিপুরা, আসাম, উড়িষ্যা, কেরালা, মনিপুর, পাঞ্জাব, তামিলনাড়ুর অধিবাসীরা পালন করত এ উৎসব। পালন করত তাদের নিজস্ব সংস্কৃতির এক অপরিহার্য অংশ হিসেবেই।", | |
"wikiLink" : "http://traditionscustoms.com/lifestyle/pohela-boishakh", | |
"date" : "1491199200000", | |
"image1" : "http://www.allbanglanewsportal.com/wp-content/uploads/2015/03/pohela_boishakh___bengali_new_year__greeting_card_by_mostafiz28-d4 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[ | |
{ | |
"id": "1", | |
"divisionId": "1", | |
"nameEn": "BARGUNA", | |
"nameBn": "বরগুনা" | |
}, | |
{ | |
"id": "2", | |
"divisionId": "1", |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[ | |
{ | |
"id": "1", | |
"nameEn": "Barisal", | |
"nameBn": "বরিশাল" | |
}, | |
{ | |
"id": "2", | |
"nameEn": "Chittagong", | |
"nameBn": "চট্টগ্রাম" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[ | |
{ | |
"id": "1", | |
"divisionId": "5", | |
"districtId": "45", | |
"upazilaId": "329", | |
"nameEn": "ADAM DIGHI", | |
"nameBn": "আদমদিঘি" | |
}, | |
{ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* | |
Source: http://www.littlerobots.nl/blog/Handle-Android-RecyclerView-Clicks/ | |
USAGE: | |
ItemClickSupport.addTo(mRecyclerView).setOnItemClickListener(new ItemClickSupport.OnItemClickListener() { | |
@Override | |
public void onItemClicked(RecyclerView recyclerView, int position, View v) { | |
// do it | |
} | |
}); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[ | |
{ | |
"name": "Asus Zenfone 5", | |
"url" : "http://tinyurl.com/hnftups", | |
"price" : 10000 | |
}, | |
{ | |
"name": "Symbalerphony 4x", | |
"url" : "http://bd.priceinasia.com/res/product/symphony-xplorer-zi.jpg", | |
"price" : 8000 |
NewerOlder