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> | |
<span> | |
<slot name="ratio"></slot> | |
<i class="fa fa-star" aria-hidden="true" v-for="(i, index) in completeStarts()" :key="index"></i> | |
<i class="fa fa-star-half-o" aria-hidden="true" v-if="haveHalfStart()"></i> | |
<i class="fa fa-star-o" aria-hidden="true" v-for="(x, index) in incompleteStarts()" :key="index + 5"></i> | |
<slot></slot> | |
</span> | |
</template> |
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; | |
#Para usar ejecutar sh deploy_git.sh [Nombre proyecto] [Scripts a ejecutar luego de deploy] | |
cd /var/www; | |
mkdir $projectname; | |
cd /var; | |
mkdir repo; | |
cd repo; |
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
env_file = process.env.NODE_ENV ? process.env.NODE_ENV: 'local'; | |
const env = require('./enviroments/'+env_file); | |
const axios = require('axios'); | |
var routes; | |
let generatePlaces = async function () { | |
// Rutas a generar |
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
Conectar Mysql a Datastudio con MySql remote connection | |
#Modificar la configuración de Mysql para escuchar cualquier IP | |
sudo nano /etc/mysql/mysql.conf.d/mysqld.cnf | |
#Busca: | |
bind-address = 127.0.0.1 | |
#Cambialo por |
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
<?php | |
namespace App\Http\Services\User; | |
//Service Base | |
use App\Http\Services\ServiceBase; | |
use Illuminate\Support\Facades\Log; | |
/** | |
* Handles complex login and uses the model repo to connect to the db |
OlderNewer