Skip to content

Instantly share code, notes, and snippets.

View bokarios's full-sized avatar
💻
Convert coffee into code

Abubaker Elsayed Abuelhassan bokarios

💻
Convert coffee into code
View GitHub Profile
@bokarios
bokarios / laravel-github-action-ssh.yml
Created October 6, 2022 08:24
Templates for github actions for number of frameworks
name: Deploy Laravel Backend
on:
push:
branches:
- [branch-name]
jobs:
// if your want to test first
test-backend:
<script setup>
import { watch } from "vue";
import { useDropzone } from "vue3-dropzone";
import BaseButton from "../components/BaseButton.vue";
const props = defineProps({
resetFiles: {
type: Boolean,
default: false,
},
@bokarios
bokarios / DropZone.vue
Last active September 29, 2022 09:54
Drag and Drop Uploader
<template>
<div
:data-active="active"
@dragenter.prevent="setActive"
@dragover.prevent="setActive"
@dragleave.prevent="setInactive"
@drop.prevent="onDrop"
>
<slot :dropZoneActive="active"></slot>
</div>