Skip to content

Instantly share code, notes, and snippets.

View devinceble's full-sized avatar
💭
I may be slow to respond.

Leivince John Marte devinceble

💭
I may be slow to respond.
View GitHub Profile
@devinceble
devinceble / Installing MonoDevelop Ubuntu 13.04
Created July 29, 2013 13:05
Installing MonoDevelop Ubuntu 13.04
# Add this line to your software sources
deb http://debian.meebey.net/experimental/mono /
sudo apt-get update
# of course, apt-get remove mono-complete first...
sudo apt-get install mono-complete
# I installed monodevelop from apt just to get all the prereqs
sudo apt-get install monodevelop
@devinceble
devinceble / hackers_news_terminal.rb
Created August 8, 2013 11:23
Hackers New For Terminal Flexible Width
#!/usr/bin/env ruby
require "httparty"
require "nokogiri"
require "rainbow"
require "ostruct"
require "shorturl"
def show_latest
<VirtualHost *:80>
ServerAdmin webmaster@localhost
ServerName angelhack.local
DocumentRoot /home/devinceble/Projects/laravel-master/public/
<Directory />
Options FollowSymLinks
AllowOverride None
</Directory>
<Directory /home/devinceble/Projects/laravel-master/public/>
Options Indexes FollowSymLinks MultiViews
@devinceble
devinceble / .goproject
Last active March 14, 2018 17:19
Starting My Golang Project Adding To Path and Exporting $GOPATH
#!/usr/bin/env bash
function goproject {
export GOPATH=$(pwd)
add_to_path "$GOPATH/bin"
alias gocd="cd $GOPATH"
if [ -f goconf ]
then
lines=($(cat goconf))
cd ${lines[0]}
@devinceble
devinceble / .vimrc
Created March 1, 2014 05:19
My Vimrc File
set nocompatible " be iMproved
set number
filetype off " required!
set rtp+=~/.vim/bundle/vundle/
call vundle#rc()
" let Vundle manage Vundle
" required!
Bundle 'gmarik/vundle'
@devinceble
devinceble / atom-application.js
Last active August 29, 2015 14:04
atom-application.js
(function() {
var ApplicationMenu, AtomApplication, AtomProtocolHandler, AtomWindow, AutoUpdateManager, BrowserWindow, EventEmitter, Menu, app, dialog, fs, ipc, net, os, path, shell, socketPath, url, _,
__slice = [].slice;
AtomWindow = require('./atom-window');
//ApplicationMenu = require('./application-menu');
AtomProtocolHandler = require('./atom-protocol-handler');
@devinceble
devinceble / bowerup
Created October 10, 2014 08:42
Loop Update All Bower Lib's
#!/bin/bash
for dep in $(cat $1 | jq -r ".dependencies | to_entries | map(.key) | .[]")
do
bower install $dep --save
done
@devinceble
devinceble / add_apt
Last active August 29, 2015 14:21
Adding User on Docker Container
apt-get -y install python-software-properties
apt-get -y install software-properties-common
netsh interface tcp set global autotuning=disabled
@devinceble
devinceble / profile
Last active August 29, 2015 14:24 — forked from garthk/profile
wait4eth1() {
CNT=0
until ip a show eth1 | grep -q UP
do
[ $((CNT++)) -gt 60 ] && break || sleep 1
done
sleep 1
}
wait4eth1