Skip to content

Instantly share code, notes, and snippets.

View ratacibernetica's full-sized avatar

Martín Roldán-Araujo ratacibernetica

View GitHub Profile
@ratacibernetica
ratacibernetica / agreement.md
Created July 21, 2020 23:50
Moderation Agreement

OpenBazaar Moderation Agreement

Author Version Last Updated
Tyler Smith 0.1.0 2016-04-18

Based on the moderation policy of @serp.

Goal

@ratacibernetica
ratacibernetica / EnsureQueueListenerIsRunning.php
Last active May 28, 2019 22:20 — forked from ivanvermeyen/EnsureQueueListenerIsRunning.php
Ensure that the Laravel queue listener is running with "php artisan queue:checkup" and restart it if necessary. You can run this automatically with a cron job: http://laravel.com/docs/scheduling
<?php
namespace App\Console\Commands;
use Illuminate\Console\Command;
class EnsureQueueListenerIsRunning extends Command
{
/**
* The name and signature of the console command.
@ratacibernetica
ratacibernetica / memo_install_zsh.sh
Last active May 28, 2018 16:40 — forked from nukesaq88/memo_install_zsh.sh
zsh install memo on CentOS6 (with zsh-autosuggestions)
#
echo installing zsh
sudo yum -y install zsh
#update possibly needed in centos
#yum update -y nss curl libcurl
#install oh-my-zsh
#git clone git://github.com/robbyrussell/oh-my-zsh.git ~/.oh-my-zsh
#cp ~/.oh-my-zsh/templates/zshrc.zsh-template ~/.zshrc
#change login shell
#chsh -s zsh
@ratacibernetica
ratacibernetica / xampp_php7_xdebug.md
Created October 16, 2017 18:04 — forked from odan/xampp_php7_xdebug.md
Installing Xdebug for XAMPP
@ratacibernetica
ratacibernetica / phpcs-mac-os-howto.md
Created July 28, 2017 03:45 — forked from klederson/phpcs-mac-os-howto.md
How to setup PHP CodeSniffer into PHP Storm with Mac OSX

Good Practices

PHP CodeSniffer into PHP Storm

Install PHPCS in mac

sudo cp /private/etc/php.ini.default /private/etc/php.ini;
sudo php /usr/lib/php/install-pear-nozlib.phar;
pear config-set php_ini /private/etc/php.ini;