Skip to content

Instantly share code, notes, and snippets.

View romanbonapart's full-sized avatar
🐒
Busy

Roman Bonapart romanbonapart

🐒
Busy
View GitHub Profile
@romanbonapart
romanbonapart / Vagrantfile
Created January 4, 2017 06:29
Vagrantfile using private ip
# -*- mode: ruby -*-
# vi: set ft=ruby :
# General project settings
#################################
# IP Address for the host only network, change it to anything you like
# but please keep it within the IPv4 private network range
ip_address = "10.0.1.2"
@romanbonapart
romanbonapart / docker-kill
Created October 25, 2016 14:59
Kill all docker container
stop all containers:
docker kill $(docker ps -q)
remove all containers
docker rm $(docker ps -a -q)
remove all docker images
docker rmi $(docker images -q)
@romanbonapart
romanbonapart / source.list
Created March 17, 2016 05:02
Indonesian Ubuntu 14.04 Local repository list
Telkom
deb http://dl2.foss-id.web.id/ubuntu/ trusty main restricted universe multiverse
deb http://dl2.foss-id.web.id/ubuntu/ trusty-updates main restricted universe multiverse
deb http://dl2.foss-id.web.id/ubuntu/ trusty-security main restricted universe multiverse
deb http://dl2.foss-id.web.id/ubuntu/ trusty-backports main restricted universe multiverse
deb http://dl2.foss-id.web.id/ubuntu/ trusty-proposed main restricted universe multiverse
ITB
deb ftp://ftp.itb.ac.id/pub/ubuntu trusty main restricted universe multiverse
deb ftp://ftp.itb.ac.id/pub/ubuntu trusty-updates main restricted universe multiverse
@romanbonapart
romanbonapart / fixfailedmountdevsda3.sh
Last active December 12, 2017 18:31
Fix Unable to Mount /dev/sda3 on Ubuntu
# This problem appears after failed safe shutdown if you use windows beside Ubuntu,
# sometimes you need to logged in in windows then do a safe shut down.
# but, how if you cannot do these step just run this simple command on terminal.
$ sudo ntfsfix /dev/sda3