Skip to content

Instantly share code, notes, and snippets.

Dileepa Ameresekere doopz

Block or report user

Report or block doopz

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
doopz /
Created Aug 11, 2019
Laravel debugging
  • Show SQL

Add the following to the boot method in app/Providers/AppServiceProvider.php

    public function boot()
        \DB::listen(function ($query) {
            logger($query->sql, [
                'bindings' => $query->bindings,
doopz / Install Odoo 12
Last active Oct 19, 2019
Install Odoo 12 on Ubuntu 18.04 with Nginx and Letscrypt
View Install Odoo 12

Install Odoo 12 Instructions

Update OS

sudo apt update && sudo apt upgrade
sudo apt autoremove

Install Postgress

doopz /
Created Jul 15, 2019 — forked from PurpleBooth/
A template to make good

Project Title

One Paragraph of project description goes here

Getting Started

These instructions will get you a copy of the project up and running on your local machine for development and testing purposes. See deployment for notes on how to deploy the project on a live system.


doopz / obfuscate_email_address_basic_example.txt
Last active Feb 1, 2017
basic obfuscating an email address for the web
View obfuscate_email_address_basic_example.txt
* Obfuscating is not going to stop everyone but goes some way to protect your email address from some bots.
* This is a basic implementation which works for me.
* There are 3 parts to it which are as follows:
// css
.obfuscate {
unicode-bidi: bidi-override;
direction: rtl;
You can’t perform that action at this time.