Skip to content

Instantly share code, notes, and snippets.

:<line number> # go to li
dd # delete line
shift+gg # to the end of file
@AhmedKammorah
AhmedKammorah / new_gist_file_0
Created December 13, 2013 23:44
humail error run arc
//normal
VALID_ARCHS = arm64 armv7 armv6 armv7s
//for ios 7 , ios 5
//:configuration = Debug
VALID_ARCHS = arm64 armv7 armv6
//:configuration = Release
VALID_ARCHS = arm64 armv7 armv6
//:completeSettings = some
Document
@AhmedKammorah
AhmedKammorah / BasicNodeDockerfile
Created October 29, 2015 23:43
Socker file for Basic Node js image
# inheret from ubuntu
FROM ubuntu:14.04
# author
MAINTAINER Ahmed Kammorah
RUN apt-get update
RUN apt-get install curl -y
# Setup with Ubuntu:
@AhmedKammorah
AhmedKammorah / docker_stop_remove_containers.sh
Created November 14, 2015 23:44
Docker stop and remove all containers
# Docker stop and remove all containers
docker stop $(docker ps -a -q)
docker rm $(docker ps -a -q)