Skip to content

Instantly share code, notes, and snippets.

View Ahed91's full-sized avatar
🛩️
I want to fly

ʿAhed ʿid Ahed91

🛩️
I want to fly
View GitHub Profile
<?php
# written by https://github.com/ducktype
# https://github.com/composer/composer/issues/1906#issuecomment-260348383
error_reporting(E_ALL & ~E_NOTICE & ~E_USER_NOTICE & ~E_DEPRECATED & ~E_USER_DEPRECATED
& ~E_WARNING & ~E_CORE_WARNING & ~E_USER_WARNING & ~E_STRICT);
$composer_data = array(
'url' => 'https://getcomposer.org/composer.phar',
'dir' => __DIR__.'/.code',
@Ahed91
Ahed91 / container_shell_Dockerfile
Created March 24, 2017 17:32 — forked from PurpleBooth/container_shell_Dockerfile
A sensible PHP in Docker env
FROM php:5-cli
RUN apt-get update \
&& apt-get install -y \
git software-properties-common python-software-properties libicu-dev zlib1g-dev curl subversion bash \
&& rm -rf /var/lib/apt/lists/* \
&& docker-php-ext-configure zip \
&& docker-php-ext-install zip \
&& docker-php-ext-configure intl \
&& docker-php-ext-install intl \
@Ahed91
Ahed91 / bumpme
Last active January 2, 2017 10:47
concourse-tutorial 12
Mon Jan 2 10:46:56 UTC 2017
@Ahed91
Ahed91 / Details.js
Created March 24, 2016 08:50
Exercise for "Hacking with React" ch 20 "Refactoring our State Code: Passing Parameters in onClick"
import React from 'react';
import ajax from 'superagent';
class Detail extends React.Component {
constructor(props) {
super(props);
this.state = {
mode: 'commits',