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
<template> | |
<WdsButton @click="isOpen = true">open</WdsButton> | |
<WdsModal custom-size="866px" :show="isOpen" @cancel="isOpen = !isOpen" no-close-icon class=""> | |
<div> | |
<WdsButtonGhost secondary @click="isOpen = false"> | |
<WdsIcon :size="16" :name="WdsIconNameEnum.UNDO" /> | |
Cancel | |
</WdsButtonGhost> | |
<div class="tw-mt-4"> | |
<WdsHeading as="h1" type="display">Payment request</WdsHeading> |
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
import { defineStore } from 'pinia' | |
import { computed, ref } from 'vue' | |
import moment from 'moment/moment' | |
import { TimesheetType } from '@/components/PaymentRequest/TimesheetType' | |
import { PaymentRequestType } from '@/components/PaymentRequest/PaymentRequestType' | |
import { required, requiredUnless, requiredIf, helpers } from '@vuelidate/validators' | |
import { useVuelidate } from '@vuelidate/core' | |
export const usePaymentRequestStore = defineStore('payment-request', () => { | |
const paymentRequestType = ref(PaymentRequestType.TIME_X_RATE) |
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 | |
## just running on .vue files | |
for file in **/*.vue; do | |
path=$(dirname "$file") | |
filename=$(basename "$file" | awk -F - '{printf "%s", $1; for(i=2; i<=NF; i++) printf "%s", toupper(substr($i,1,1)) substr($i,2); print"";}' | awk '{$1=toupper(substr($1,0,1))substr($1,2)}1') | |
mv "$file" "$path/$filename" | |
done |
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
version: '2' | |
services: | |
api: | |
volumes: | |
- "nfsmount:${CONTAINER_DIR}" | |
volumes: | |
nfsmount: | |
driver: local | |
driver_opts: |
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 | |
#check if directory provided | |
if (( $# == 1 )) | |
then | |
google-chrome http://localhost:8080 && php -S localhost -t $1 | |
exit | |
fi | |
# choose folder | |
printf "Please select folder:\n" |