Skip to content

Instantly share code, notes, and snippets.

View mahbub-shohag's full-sized avatar

Mahbub Alam Shohag mahbub-shohag

  • Jagannath university
  • Mohammadpur,Dhaka
View GitHub Profile
DataSource.groovy
dataSource {
pooled = true
jmxExport = true
driverClassName = "oracle.jdbc.driver.OracleDriver"
dialect = org.hibernate.dialect.Oracle10gDialect
username = "SUERP"
password = "SoftRithm5University9ERPDb82"
}
[
{
"divisionId":1,
"divisionName":"Barisal",
"divisionBnName":"বরিশাল",
"districtId":34,
"districtName":"Barguna",
"districtBnName":"বরগুনা",
"upazilaId":6,
"upazilaName":"Taltali ",
<!DOCTYPE html>
<html ng-app="addressApp" ng-controller="addressController">
<head>
<title></title>
<script
src="https://code.jquery.com/jquery-2.2.4.min.js"
integrity="sha256-BbhdlvQf/xTY9gja0Dq3HiwQF8LaCRTXxZKRutelT44="
crossorigin="anonymous"></script>
<script src="https://ajax.googleapis.com/ajax/libs/angularjs/1.6.4/angular.min.js"></script>
</head>
1.XAMPP INSTALLATILON :
wget https://www.apachefriends.org/xampp-files/5.6.20/xampp-linux-x64-5.6.20-0-installer.run
sudo su
chmod +x xampp-linux-x64-5.6.20-0-installer.run
./xampp-linux-x64-5.6.20-0-installer.run
2.Tomcat Installation :
sudo apt-get update
sudo apt-get install tomcat7
sudo nano /etc/default/tomcat7
--windows + X -> opent command promt admin -> typw -> net.exe stop "Windows search"
-- permently disable windows search -> services.msc -> windows search -> disable
-- windows + x ->open cmd -> net.exe stop superfetch
see detail of the link : https://www.drivereasy.com/knowledge/fix-100-disk-usage-in-task-manager-improve-pc-performance-on-windows-10/
--open cmd
--diskpart
--list disk
--select the disk that need to be formatted
--open diskmanagement
--select the disk
--allocate the disk
Date Picker :
1.to embed jquery datepicker firstly add the following jquery files in header part
<link rel="stylesheet" href="//code.jquery.com/ui/1.11.1/themes/smoothness/jquery-ui.css">
<script src="~/Scripts/jquery-3.2.1.js"></script>
<script src="~/Scripts/jquery-ui-1.12.1.js"></script>
2.<script>
$(document).ready(function () {
$('#PossibleStartDate').datepicker(); --this is the id field of the datefield
$('#PossibleEndDate').datepicker();
$('#PossibleEndDate').on('leave', function () {
NID : 19925917411000133
Birth : 199905917406013044
BICC : https://erecruitment.bcc.gov.bd/exam/dashboard/dashboard
TIPS :
--To add any folder / directory in asp.net mvc project one should not copy and past the directory in the project directly like in php.One must
add a folder in the directory manually and the add classes by adding existing item.otherwise the project will not know the folder and there
will arise issues.