Skip to content

Instantly share code, notes, and snippets.

@doopz
doopz / Install Odoo 12 Instructions.md
Last active November 2, 2021 22:45
Install Odoo 12 on Ubuntu 18.04 with Nginx and Letscrypt

Install Odoo 12 Instructions

Update OS

sudo apt update && sudo apt upgrade
sudo apt autoremove

Install Postgress

@doopz
doopz / Laravel_Debug.md
Created August 11, 2019 00:46
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
doopz / README-Template.md
Created July 15, 2019 14:17 — forked from PurpleBooth/README-Template.md
A template to make good README.md

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.

Prerequisites

@doopz
doopz / obfuscate_email_address_basic_example.txt
Last active February 1, 2017 11:43
basic obfuscating an email address for the web
* 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;
}