Skip to content

Instantly share code, notes, and snippets.

Avatar
:octocat:
FOCUS

Mohamed Alouane alouanemed

:octocat:
FOCUS
View GitHub Profile
@alouanemed
alouanemed / gist:9212a27a9c40ccaabe1c
Created Nov 22, 2014
==> default: Error executing action `install` on resource 'rbenv_gem[2.1.5::bundler (vagrant)] (vagrant)'
View gist:9212a27a9c40ccaabe1c
==> 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: ============================================================================
View gist:8f6a47fe1313869148bd
=> 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
View CollapsingTitleLayout.java
/*
* 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 Oct 12, 2018
takeUntil implementation
View ApiService.java
@GET(ApiConstants.GET_QUESTIONS_URL) Observable<RequestResponse> getQuestions();
View questions.json
{
"id": "13f0678",
"title": "test",
"objective": "",
"questions": [
{
"id": "0476b2f7",
"designation": "What the ?",
"gender": "",
"has_image": false,
View questions.json
{
"id": "13f0678",
"title": "test",
"objective": "",
"questions": [
{
"id": "0476b2f7",
"designation": "What the ?",
"gender": "",
"has_image": false,
View tmate-client
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
View Books to read
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 Sep 2, 2017
udacity gradle file for Android 26
View Project.gradle
// 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'
}
}