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
using System; | |
using System.Data; | |
using System.IO; | |
using System.Text; | |
public static class Extensions | |
{ | |
public static string ToCSV(this DataTable table) | |
{ | |
var result = new StringBuilder(); |
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
let startDate = new Date('2022/12/25 8:00'); | |
let endDate = new Date('2022/12/27 9:30'); | |
function calculateBusinessDays(startDate, endDate) { | |
var minutesWorked = 0; | |
var holidays = ['2022/12/25', '2022/12/26'] | |
var workHoursStart = 8; | |
var workHoursEnd = 17; |
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
### Flutter Generated | |
# Miscellaneous | |
*.class | |
*.lock | |
*.log | |
*.pyc | |
*.swp | |
.DS_Store | |
.atom/ |
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
Creating my first gist. |