Skip to content

Instantly share code, notes, and snippets.

View fastcodecoq's full-sized avatar

Fastcode fastcodecoq

View GitHub Profile
@Gazler
Gazler / Dockerfile
Last active October 21, 2016 05:36
Phoenix Dockerfile
FROM ubuntu
RUN apt-get update
RUN apt-get install -y wget unzip git make
RUN wget http://packages.erlang-solutions.com/erlang-solutions_1.0_all.deb
RUN dpkg -i erlang-solutions_1.0_all.deb
RUN apt-get update
RUN apt-get -y install erlang
@mickaelandrieu
mickaelandrieu / softaculous.php
Created November 1, 2013 21:05
Handle with Softaculous Api in PHP (don't do that at home)
<?php
$new = new Softaculous_API();
$new->login = 'https://user:[email protected]:2083/frontend/x3/softaculous/index.live.php';
// Domain Name
$data['softdomain'] = 'domain.com'; // OPTIONAL - By Default the primary domain will be used
// The directory is relative to your domain and should not exist. e.g. To install at http://mydomain/dir/ just type dir. To install only in http://mydomain/ leave this empty.
$data['softdirectory'] = 'wp887'; // OPTIONAL - By default it will be installed in the /public_html folder
@fastcodecoq
fastcodecoq / graph.php
Last active October 15, 2018 17:22
void graph() es una función Php para automatizar el proceso de inclusión de Open Graph en las páginas de nuestros sites
<?php
/*
void graph()
@params
String title