Note: I advice you to write every thursday (at the end of the workday week)
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
<!DOCTYPE html> | |
<html> | |
<head> | |
<title>Google Maps Example</title> | |
<meta name="viewport" content="initial-scale=1.0"> | |
<meta charset="utf-8"> | |
<style> | |
#map { | |
height: 400px; | |
width: 100%; |
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
{ | |
"object": "whatsapp_business_account", | |
"entry": [ | |
{ | |
"id": "*****************", | |
"changes": [ | |
{ | |
"value": { | |
"messaging_product": "whatsapp", | |
"metadata": { |
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 { defineConfig } from 'vite'; | |
import laravel from 'laravel-vite-plugin'; | |
export default defineConfig({ | |
plugins: [ | |
laravel({ | |
input: [ | |
'resources/css/app.css', | |
'resources/js/app.js', | |
], |
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
<!DOCTYPE html> | |
<html> | |
<head> | |
<title>Choose Your Location</title> | |
</head> | |
<body> | |
<!-- A div to contain the map --> | |
<div id="map" style="height: 400px; width: 100%;"></div> |
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
# Git | |
alias gi="git init" | |
alias ga="git add" | |
alias gaa="git add ." | |
alias gc="git commit -m" | |
alias gp="git push" | |
alias gs="git status" | |
alias gl="git log" | |
alias gigaa="git init && git add ." | |
alias gigaagc="git init && git add . && git commit -m" |
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
name: Auto Deployment | |
on: | |
push: | |
branches: | |
- production | |
# on: [workflow_dispatch] | |
jobs: | |
prepare-servers-connection: | |
name: "Connecting to: ${{ vars.SERVER_NAME }}" |
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
name: Production Deployment | |
# on: | |
# push: | |
# branches: | |
# - production | |
on: [workflow_dispatch] | |
jobs: | |
prepare-servers-connection: | |
name: "Connecting to: ${{ vars.SERVER_NAME }}" |
layout |
---|
doc |
If you have an account on bitbucket.org, this article may help you
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 | |
namespace App\Exceptions; | |
use Exception; | |
// usage | |
// throw new \App\Exceptions\ApiException('your data goes here') | |
class ApiException extends Exception |