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
{ | |
"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 |
- Get node binary (node.exe) from http://nodejs.org/download/
- Create the folder where node will reside and move node.exe to it
- Download the last zip version of npm from http://nodejs.org/dist/npm
- Unpack the zip inside the node folder
- Download the last tgz version of npm from http://nodejs.org/dist/npm
- Open the tgz file and unpack only the file bin/npm (without extension) directly on the node folder.
- Add the the node folder and the packages/bin folder to PATH
- On a command prompt execute
npm install -g npm
to update npm to the latest version
Now you can use npm and node from windows cmd or from bash shell like Git Bash of msysgit.