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
// Extension: beautify, Material icon theme, Material theme, Atom one dark, vtuer | |
// Options: auto save enabled, Vue file formatting: "vetur.format.defaultFormatter.html": "js-beautify-html" (https://github.com/vuejs/vetur/issues/543) | |
------------------------------------------------------------------------------------------ | |
// setting from Japanese during working on igs - grow-academic-dashboard | |
{ | |
"editor.formatOnSave": true, | |
"workbench.colorTheme": "Atom One Dark", | |
"workbench.iconTheme": "material-icon-theme", | |
"editor.fontSize": 16, |
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
1. TypeScript - Handbook | |
2. iview UI | |
3. VueJS | |
4. Vuex | |
5. @package vue-property-decorator |
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
1. TypeScript - Handbook | |
2. iview UI | |
3. VueJS | |
4. Vuex | |
5. @package vue-property-decorator |
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
@ Packages: | |
# atom-beautify | |
# fonts: my favorite fonts: Source Code Pro Medium | |
# platformio-ide-terminal | |
# atom-typescript | |
# file-icons | |
@ My favorite themes: | |
# UI theme: One Light | |
# Syntax theme: One Light |
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
<?php | |
$attendanceArray = []; | |
$fp = fopen(request()->attendance, 'rb'); | |
while ( ($line = fgets($fp)) !== false) { | |
//echo "$line<br>"; | |
//$line = explode(' ', $line); | |
$line = explode("\t", $line); | |
array_push($attendanceArray, $line); |
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
var total = 1102688; | |
var totalToBDformat = total.toLocaleString('bn-BD', { minimumFractionDigits: 2 }); // ১১,০২,৬৮৮.০০ | |
var numbers = { | |
'০': 0, | |
'১': 1, | |
'২': 2, | |
'৩': 3, | |
'৪': 4, | |
'৫': 5, |
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
SELECT | |
s.date, | |
s.project_id, | |
pm.property_name, | |
s.stock_type, | |
s.category_id, | |
c.title, | |
s.sub_category_id, | |
sc.sub_category_name, | |
s.item_id, |
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
<?php | |
//method one | |
function taka_format($amount = 0) | |
{ | |
$tmp = explode('.', $amount); // for float or double values | |
$strMoney = ''; | |
$divide = 1000; | |
$amount = $tmp[0]; | |
$strMoney .= str_pad($amount % $divide, 3, '0', STR_PAD_LEFT); |
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
var slNo = 1; | |
$(function () { | |
$('#no_of_passenger').on('keyup', function (e) { | |
var noOfPassenger, | |
rowCount, | |
extraRow, | |
rowObj; |
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
function tally(selector, tdClass) { | |
$(selector).each(function () { | |
var total = 0, | |
column = $(this).siblings(selector).andSelf().index(this); | |
$(this).parents().prevUntil(':has(' + selector + ')').each(function () { | |
total += parseFloat($('td.'+ tdClass +':eq(' + column + ')', this).html()) || 0; | |
}) | |
$(this).html('<strong>' + total + '</strong>'); | |
}); | |
} |