Skip to content

Instantly share code, notes, and snippets.

View alouanemed's full-sized avatar
:octocat:
FOCUS

Mohamed Alouane alouanemed

:octocat:
FOCUS
View GitHub Profile
@alouanemed
alouanemed / gist:9212a27a9c40ccaabe1c
Created November 22, 2014 13:11
==> default: Error executing action `install` on resource 'rbenv_gem[2.1.5::bundler (vagrant)] (vagrant)'
==> default: [2014-11-22T12:54:27+00:00] ERROR: rbenv_gem[2.1.5::bundler (vagrant)] (vagrant) (rbenv::user line 63) had an error: Mixlib::ShellOut::ShellCommandFailed: Expected process to exit with [0], but received '127'
==> default: ---- Begin output of export RBENV_ROOT="/home/vagrant/.rbenv" && export PATH="$RBENV_ROOT/bin:$RBENV_ROOT/shims:$PATH" && export RBENV_VERSION="2.1.5" && $RBENV_ROOT/shims/gem env gempath ----
==> default: STDOUT:
==> default: STDERR: sh: 1: /home/vagrant/.rbenv/shims/gem: not found
==> default: ---- End output of export RBENV_ROOT="/home/vagrant/.rbenv" && export PATH="$RBENV_ROOT/bin:$RBENV_ROOT/shims:$PATH" && export RBENV_VERSION="2.1.5" && $RBENV_ROOT/shims/gem env gempath ----
==> default: Ran export RBENV_ROOT="/home/vagrant/.rbenv" && export PATH="$RBENV_ROOT/bin:$RBENV_ROOT/shims:$PATH" && export RBENV_VERSION="2.1.5" && $RBENV_ROOT/shims/gem env gempath returned 127
==> default:
==> default: ============================================================================
=> default: [2014-12-03T13:50:21+00:00] INFO: file[/var/lib/apt/periodic/update-success-stamp] deleted file at /var/lib/apt/periodic/update-success-stamp
==> default: [2014-12-03T13:50:21+00:00] INFO: file[/etc/apt/sources.list.d/node.js.list] sending run action to execute[apt-get update] (immediate)
==> default: [2014-12-03T13:50:27+00:00] INFO: execute[apt-get update] ran successfully
==> default: [2014-12-03T13:50:27+00:00] INFO: execute[apt-get update] sending run action to execute[apt-cache gencaches] (immediate)
==> default: [2014-12-03T13:50:28+00:00] INFO: execute[apt-cache gencaches] ran successfully
==> default: [2014-12-03T13:51:52+00:00] INFO: package[ncurses-dev] is a virtual package, actually acting on package[libncurses5-dev]
==> default: [2014-12-03T13:52:46+00:00] INFO: git[/var/chef/cache/ruby-build] cloning repo https://github.com/sstephenson/ruby-build.git to /var/chef/cache/ruby-build
==> default: [2014-12-03T13:53:02+00:00] INFO: git[/var/chef/cache/ruby-build] checked out branch: master
/*
* Copyright 2014 Chris Banes
*
* 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
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
@alouanemed
alouanemed / ApiService.java
Last active October 12, 2018 23:23
takeUntil implementation
@GET(ApiConstants.GET_QUESTIONS_URL) Observable<RequestResponse> getQuestions();
{
"id": "13f0678",
"title": "test",
"objective": "",
"questions": [
{
"id": "0476b2f7",
"designation": "What the ?",
"gender": "",
"has_image": false,
{
"id": "13f0678",
"title": "test",
"objective": "",
"questions": [
{
"id": "0476b2f7",
"designation": "What the ?",
"gender": "",
"has_image": false,
1492464119.184842 client started (3949): socket /tmp/tmate-1000/O4bCvh, protocol 8
1492464119.184866 on Linux 4.8.0-46-generic #49~16.04.1-Ubuntu SMP Fri Mar 31 14:51:03 UTC 2017; libevent 2.0.21-stable (epoll)
1492464119.184883 socket is /tmp/tmate-1000/O4bCvh
1492464119.184890 trying connect
1492464119.184915 connect failed: No such file or directory
1492464119.184924 lock file is /tmp/tmate-1000/O4bCvh.lock
1492464119.184941 flock succeeded
1492464119.184948 got lock (7)
1492464119.184952 trying connect
1492464119.184959 connect failed: No such file or directory
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
@alouanemed
alouanemed / Project.gradle
Created September 2, 2017 21:42
udacity gradle file for Android 26
// Top-level build file where you can add configuration options common to all sub-projects/modules.
buildscript {
repositories {
jcenter()
maven {
url 'https://maven.google.com/'
name 'Google'
}
}