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
Create a link in /var/www like this: | |
sudo ln -s /usr/share/phpmyadmin /var/www/ | |
Note: since 14.04 you may want to use /var/www/html/ instead of /var/www/ | |
If that's not working for you, you need to include PHPMyAdmin inside apache configuration. | |
Open apache.conf using your favorite editor, mine is vim :) |
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
/* RECIBE LA RESPUESTA DE CULQI Y LA GUARDA EN UNA VARIABLE GLOBAL */ | |
if(process.browser) { | |
window.culqi = function (token) { | |
window.__culqi_token = token | |
}; | |
} | |
export default class Culqi { | |
constructor (codigoComercio) { | |
if(process.browser) { |
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
@extends('templates.masterlrtv') | |
@php | |
$id = (isset($data['nid'])) ? $data['nid'] : ''; | |
$sectionid = ( isset( $data['colSection'][0]['tid'] ) ) ? $data['colSection'][0]['tid'] : ''; | |
@endphp | |
@php | |
$og_type = 'article'; | |
$article_published_time = \App\Facades\HelperLibero::getFormatDateSpanishNews($data['updateDateCarbon'],$format=5); |
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
import ScrollClass from '../../components/lrtvvideos/com_scroll_class_vanilla'; | |
import NavButtonsInputs from '../../components/lrtvvideos/com_nav_buttons_inputs'; | |
import Carousel from '../../vendor/carrousel-vainilla/vainilla-js-carouselSwiper.min'; | |
import LazyLoad from '../../vendor/lazyload/dist/8.2.0/lazyload.min'; | |
import ScrollFix from '../../components/com_scroll_fixed_animation'; | |
import AudioPlayer from '../../components/com_AudioPlayer'; | |
import BackLink from '../../components/com_BackLink'; | |
//import SwipePages from '../../components/com_SwipePages'; | |
require('classlist-polyfill'); |
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
mysqldump --user=christian --password=christian3k creexapp2 > /var/www/appcreex/public/dump.sql |
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/bash | |
## Bash Script to clear cached memory on (Ubuntu/Debian) Linux | |
## By Philipp Klaus | |
## see <http://blog.philippklaus.de/2011/02/clear-cached-memory-on-ubuntu/> | |
if [ "$(whoami)" != "root" ] | |
then | |
echo "You have to run this script as Superuser!" | |
exit 1 | |
fi |
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
## | |
# You should look at the following URL's in order to grasp a solid understanding | |
# of Nginx configuration files in order to fully unleash the power of Nginx. | |
# http://wiki.nginx.org/Pitfalls | |
# http://wiki.nginx.org/QuickStart | |
# http://wiki.nginx.org/Configuration | |
# | |
# Generally, you will want to move this file somewhere, and start with a clean | |
# file but keep this around for reference. Or just disable in sites-enabled. | |
# |
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
var htmlCupon = ""; | |
htmlCupon += "<div id=\"MiCuponYujuTech\" class=\"divfondo\" >"; | |
htmlCupon += "<table cellpadding=\"0\" cellspacing=\"0\" border=\"0\">"; | |
htmlCupon += "<tr>"; | |
htmlCupon += "<td>"; | |
htmlCupon += "<a href=\"javascript:CerrarCupon();\" class=\"a-nodeseo\">"; | |
htmlCupon += "<img src=\"img/x.png\" class=\"img-cupon\" border=\"0\" />"; | |
htmlCupon += "<span class=\"txt-nodeseo\">NO DESEO ESTA RECOMPENSA</span>"; | |
htmlCupon += "</a>"; | |
htmlCupon += "</td>"; |
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
composer require jenssegers/mongodb --ignore-platform-reqs |