Skip to content

Instantly share code, notes, and snippets.

View make-cert.bat
@echo off
SETLOCAL EnableDelayedExpansion
set /p domain="Enter Domain: "
set OPENSSL_CONF=../conf/openssl.cnf
set tmp_cert_conf=cert_%domain%.conf
del %tmp_cert_conf%
ifranco88 / search-query-example.vue
Last active Feb 18, 2020
A simple vue component for input typing with delay.
View search-query-example.vue
<vue-input-typer placeholder="Type here" class="form-control" @typed="typedInput"></vue-input-typer>
import VueInputTyper from '@/components/input-typer.vue';
const CancelToken = axios.CancelToken;
const source = CancelToken.source();
ifranco88 / app.js
Last active Feb 4, 2020
Vuejs container pagination
View app.js
// Se necesita instalar: npm install vuejs-paginate --save
import VuePaginationContainer from '@/components/vue-pagination-container';
Vue.component('vue-pagination-container', VuePaginationContainer);
import VuePagination from '@/components/vue-pagination';
Vue.component('vue-pagination', VuePagination);
ifranco88 / PDORepository.php
Created Mar 29, 2019
A simple PDO Repository PHP Class
View PDORepository.php
use Carbon\Carbon;
use PDO;
* Class PDORepository
abstract class PDORepository
ifranco88 /
Last active Apr 21, 2018
Enable SSL Signed Certificate with Apache on Ubuntu 16.04

Enable SSL Signed Certificate with Apache on Ubuntu 16.04

Let's Encrypt certificates it is a service that provides certificates via the Certbot client software running on your server.

Installing the Let's Encrypt Client

Add the repository

$ sudo add-apt-repository ppa:certbot/certbot
ifranco88 /
Created Jul 13, 2017
phpunit file test method execution
phpunit --filter methodNameTest path/reference/fileName.php
ifranco88 /
Last active Jul 3, 2017
Find all git commits from a file
git log --follow relative_path_filename