Skip to content

Instantly share code, notes, and snippets.

View arafatx's full-sized avatar
💭
Developing a project

MaXi32 arafatx

💭
Developing a project
View GitHub Profile
STEP #1 – change your company logo (let’s start from easy…)
Hover the big Odoo logo on the left side, click on “Edit company data” and give your company your own logo – this will replace the Odoo placeholder logo.
STEP#2 – remove “Powered by Odoo”
Open the view web.login_layout and comment out following lines:
<!-- <span class="oe_footer_seperator"> | </span> -->
<!-- <a href="https://www.odoo.com" target="_blank">Powered by <span>Odoo</span></a> -->
Open the view web.menu_secondary and comment out following line:
@arafatx
arafatx / script-with-options.sh
Created October 18, 2020 06:49 — forked from dgoguerra/script-with-options.sh
getopt handmade alternative in bash, supporting short and long options
#!/usr/bin/env bash
# File name
readonly PROGNAME=$(basename $0)
# File name, without the extension
readonly PROGBASENAME=${PROGNAME%.*}
# File directory
readonly PROGDIR=$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)
# Arguments
readonly ARGS="$@"
@arafatx
arafatx / debian-preseeded-iso.sh
Created March 27, 2021 05:34 — forked from zuzzas/debian-preseeded-iso.sh
Create Debian netinstall iso with preseed file
set -e
set -u
# hat-tips:
# - http://codeghar.wordpress.com/2011/12/14/automated-customized-debian-installation-using-preseed/
# - the gist
# required packages (apt-get install)
# xorriso
@arafatx
arafatx / DNSchecker.sh
Created August 22, 2021 05:21 — forked from rudolphos/DNSchecker.sh
A DNS propagation checker in Shell Script.
#!/bin/bash
#puck.sh
# A DNS propagation checker. Fetches in many DNS servers around
# the world for IPs assigned to a given domain.
#
# Author: José Lopes de Oliveira Júnior <http://joselop.es>
#
#