Skip to content

Instantly share code, notes, and snippets.

View mtali's full-sized avatar
Coding + Learning

Emmanuel Mtali mtali

Coding + Learning
View GitHub Profile
View gist:0b28c51e5254687bd31ff9fa48cc429d
# If you use the Odoo Database utility to change the master password be aware
# that the formatting of this file WILL be LOST! A copy of this file named
# /etc/odoo/openerp-server.conf.template has been made in case this happens
# Note that the copy does not have any first boot changes
# Odoo Server Config File - TurnKey Linux
mtali /
Last active September 4, 2018 12:28
My implementation of AsyncTaskLoader to avoid possible Memory Leak
* Copyright (C) 2016 The Android Open Source Project
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
* Unless required by applicable law or agreed to in writing, software
mtali / Fragment
Created August 31, 2018 23:18
Fixing a bug for a friend
View Fragment
package com.example.goodluck.unishop1;
import android.content.Context;
import android.os.Bundle;
import android.view.LayoutInflater;
import android.view.View;
import android.view.ViewGroup;