code
└───dev-packages
│ │
| └─── <vendor-name>
│ │ |
| | └─── <package-name>
│ │ | | README.md
This file contains hidden or 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
APP_KEY= | |
APP_ENV=local | |
APP_DEBUG=true | |
APP_URL=http://127.0.0.1:8000 | |
DB_CONNECTION=mysql | |
DB_HOST=127.0.0.1 | |
DB_PORT=3306 | |
DB_DATABASE=laravel | |
DB_USERNAME=root |
This file contains hidden or 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/sh | |
. /root/.nvm/nvm.sh | |
export WEBHOOK_URL="" | |
nameBot="Deploy" | |
project=frontend-web | |
curl -H "Content-Type: application/json" -d '{"username": "'"$nameBot"'", "content": "Deployando '"$project"'"}' $WEBHOOK_URL | |
mkdir /var/www/$project/builds/"build-$(date +"%Y%m%d%M%S")" | |
cd /var/www/$project/builds |
This file contains hidden or 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
const removeOverlay = () => { | |
const overlay = document.getElementById('signwall-app') | |
overlay.remove() | |
const body = document.querySelector('body') | |
body.classList.remove('overflow-hidden') | |
body.style.overflow = 'scroll' | |
const html = document.querySelector('html') | |
html.classList.remove('overflow-hidden') |
This file contains hidden or 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/sh | |
projectname=$1; | |
# sh deploy-node [name] | |
cd /var/www; | |
mkdir $projectname; | |
cd $projectname; | |
touch ".env"; | |
touch ".env"; | |
mkdir builds; |
This file contains hidden or 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> | |
<div class="card"> | |
<form action="#" class="form-monkey form-buy-membreship" id="culqi-card-form"> | |
<div class="row"> | |
<div class="block-form"> | |
<div class="col-sm-6"> | |
<div class="form-group"> | |
<label for="card[email]">Email</label> | |
<input type="text" class="form-control" placeholder="Correo electrónico" | |
v-model="user.email" |
This file contains hidden or 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
# ssh into the server | |
# go to the laravel project | |
$ php artisan tinker | |
# Example 1 , from view | |
$ Mail::send('errors.401',[],function($message){$message->to('[email protected]')->subject('this works!');}); | |
# Example 2, plain text | |
Mail::raw('Hi Mail Service',function($message){$message->to('[email protected]')->subject('this works!');}); |
This file contains hidden or 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
# SSH into droplet | |
# go to project | |
$ php artisan tinker | |
$ Mail::send('errors.401', [], function ($message) { $message->to('[email protected]')->subject('this works!'); }); | |
# check your mailbox |
This file contains hidden or 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
server { | |
listen 80 default_server; | |
listen [::]:80 default_server ipv6only=on; | |
root /var/www/laravel-project/public; | |
index index.php index.html index.htm; | |
server_name laravelProject.com www.laravelProject.com; | |
charset utf-8; | |
location /blog/index.php(/.*)?$ { |
Inspired by dannyfritz/commit-message-emoji
See also gitmoji.
Commit type | Emoji |
---|---|
Initial commit | 🎉 :tada: |
Version tag | 🔖 :bookmark: |
New feature | ✨ :sparkles: |
Bugfix | 🐛 :bug: |
NewerOlder