Skip to content

Instantly share code, notes, and snippets.

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

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

@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};
###########################
# Configuration
###########################
# use 256 term for pretty colors
set -g default-terminal "screen-256color"
# increase scroll-back history
set -g history-limit 5000
@ElFadiliY
ElFadiliY / elasticsearch.sh
Last active December 31, 2015 22:49
Install ElasticSearch on Ubuntu 13.10
cd ~
sudo apt-get update
sudo apt-get install openjdk-7-jre-headless -y
### Check http://www.elasticsearch.org/download/ for latest version of ElasticSearch and replace wget link below
# NEW WAY / EASY WAY
wget https://download.elasticsearch.org/elasticsearch/elasticsearch/elasticsearch-1.2.0.deb
sudo dpkg -i elasticsearch-1.2.0.deb
#!/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:
@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
#!/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’