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 | |
$weeks = get_week_dates('2021-01'); | |
var_dump($weeks); | |
// Output: | |
// array(5) { | |
// [0]=> | |
// array(2) { |
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
<div class="row expert-wrap"> | |
<div class="col-md-6 form-group"> | |
<input type="text" id="expert-field_1" class="form-control" name="expert-field[]" placeholder="Misal: Ahli Teknik Sipil"> | |
</div> | |
<div class="col-md-6 expert-name-wrap"> | |
<div class="form-group"> | |
<select name="expert-name[]" id="expert-name_1" class="form-control select2"> | |
<option value=""></option> | |
<option value="1">Option 1</option> | |
<option value="2">Option 2</option> |
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
#!/bin/bash | |
helpFunction() | |
{ | |
echo "" | |
echo "Usage: $0 -s source -d destination" | |
echo -e "\t-s Source folder" | |
echo -e "\t-d Destination folder" | |
echo "" | |
echo -e "Notes:\t- All files in .gitignore will be ignored" |
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
-- master table | |
create table transactions ( | |
id int auto_increment primary key, | |
code varchar(60) not null unique, | |
date integer not null, | |
value decimal(15,2) default 0, | |
remarks text | |
); | |
-- details table without generated column |
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 gulp = require('gulp'); | |
var pug = require('gulp-pug'); | |
var sass = require('gulp-sass'); | |
var browserSync = require('browser-sync').create(); | |
// Compile pug files into HTML | |
gulp.task('pug', function () { | |
return gulp.src('src/pug/*.pug') | |
.pipe(pug()) |
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
{"lastUpload":"2018-04-26T00:54:27.440Z","extensionVersion":"v2.9.0"} |
NewerOlder