Skip to content

Instantly share code, notes, and snippets.

Keybase proof

I hereby claim:

  • I am elfadiliy on github.
  • I am elfadili (https://keybase.io/elfadili) on keybase.
  • I have a public key ASDSpgKxvPCBKfm2fvpUtLbZukIKFjaOn2GkYfr5kgQdCgo

To claim this, I am signing this object:

@ElFadiliY
ElFadiliY / README.md
Created December 16, 2017 16:02
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

Start Ups/Business:
Thinking, Fast and Slow by Daniel Kahneman
The Four Steps to the Epiphany by Steve Blank
The Art of the Start: The Time-Tested, Battle-Hardened Guide for Anyone Starting Anything by Guy Kawasaki
Founders at Work: Stories of Startups' Early Days by Jessica Livingston
The Lean Startup: How Today's Entrepreneurs Use Continuous Innovation to Create Radically Successful Businesses by Eric Ries
Rework by 37signals
The E-Myth Revisited: Why Most Small Businesses Don't Work and What to Do About It by Michael Gerber
The Black Swan: Second Edition: The Impact of the Highly Improbable: With a new section: "On Robustness and Fragility" (Incerto) by Nassim Nicholas Taleb
Delivering Happiness: A Path to Profits, Passion, and Purpose by Tony Hsieh
@ElFadiliY
ElFadiliY / silence_install_apk
Created July 31, 2017 00:08 — forked from Jiezhi/silence_install_apk
install apk just in silence
/**
* Don't forget to add <uses-permission android:name="android.permission.INSTALL_PACKAGES" /> in AndroidManifest.xml
* I bind this function with Button
* referenced with http://www.trinea.cn/android/android-install-silent/
* @param view
*/
public void installAPK(View view) {
// assume there is a apk file in /sdcard/ path
String filePath = "/sdcard/RootExplorer_99.apk";
String[] args = {"pm", "install", "-r", filePath};
#!/bin/bash
################################################################################
# Script for installing Odoo V9 on Ubuntu 14.04 LTS
# Author: El Fadili Yassine
# Company: CITEL Technology
#-------------------------------------------------------------------------------
# This script will install Odoo on clean Ubuntu 14.04 server. It can install multiple Odoo instances
# in one Ubuntu because of the different xmlrpc_ports
#-------------------------------------------------------------------------------
# USAGE:
#!/bin/bash
################################################################################
# Script for Installation: ODOO V8 server on Ubuntu 14.04 LTS
# Author: Yassine El Fadili
#-------------------------------------------------------------------------------
#
# This script will install ODOO Server on
# clean Ubuntu 14.04 Server
#-------------------------------------------------------------------------------
# USAGE:
ActiveRecord cheat sheet / EXAMPLES
INSTALL
=======
$ gem install activerecord
in GEMFILE: gem ‘activerecord’
REQUIRE
=======
require ‘active_record’
@ElFadiliY
ElFadiliY / build.xml
Last active August 29, 2015 14:09
A lovely little Ant task that not only makes one jar out of many (merge), it can also change package names of certain classes in byte-code! Ant Task using jarjar to rebuild jar packages https://code.google.com/p/jarjar
<project name="generate-jarjar">
<property name="jarjarfile" value="elfadili.jar"/>
<path id="classpath">
<pathelement location="jarjar-1.4.jar"/>
<pathelement location="asm-2.2.3.jar"/>
</path>
<taskdef name="jarjar" classname="com.tonicsystems.jarjar.JarJarTask" classpathref="classpath"/>
<delete file="${jarjarfile}"/>
<jarjar destfile="${jarjarfile}">
<zipfileset src="xyz.jar"/>
##################### ElasticSearch Configuration Example #####################
# This file contains an overview of various configuration settings,
# targeted at operations staff. Application developers should
# consult the guide at <http://elasticsearch.org/guide>.
#
# The installation procedure is covered at
# <http://elasticsearch.org/guide/en/elasticsearch/reference/current/setup.html>.
#
# ElasticSearch comes with reasonable defaults for most settings,
@ElFadiliY
ElFadiliY / elfadili-pc.md
Last active November 5, 2015 13:23
Applications and configuration on elfadili-pc's operating system (Ubuntu 14.04 LTS)

#Applications

Install VLC media player

sudo apt-get install vlc browser-plugin-vlc

Enable and install Gufw Firewall UI

sudo ufw enable
sudo ufw status