Skip to content

Instantly share code, notes, and snippets.

Johnathan Mark Smith JohnathanMarkSmith

Block or report user

Report or block JohnathanMarkSmith

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
@JohnathanMarkSmith
JohnathanMarkSmith / gist:77b3cac7e56797110e8b
Created Nov 17, 2014
Jekyll install for Linux Mint 17
View gist:77b3cac7e56797110e8b
sudo apt-get install ruby ruby-dev make rake
sudo gem install jekyll --no-rdoc --no-ri
sudo apt-get install nodejs
@JohnathanMarkSmith
JohnathanMarkSmith / gist:2752c1f87e1e3496024c
Last active Aug 29, 2015
How to disable Firewalld on CentOS7
View gist:2752c1f87e1e3496024c
### Disable Firewalld Service.
systemctl mask firewalld
### Stop Firewalld Service.
systemctl stop firewalld
@JohnathanMarkSmith
JohnathanMarkSmith / installphpadmin
Created Oct 10, 2014
CentOS7 phpMyAdmin Install
View installphpadmin
sudo su -
sudo yum install epel-release
sudo yum install phpmyadmin
sudo nano /etc/httpd/conf.d/phpMyAdmin.conf
sudo systemctl restart httpd.service
@JohnathanMarkSmith
JohnathanMarkSmith / .gitconfig
Created Oct 9, 2014
I good starting point for a .gitconfig
View .gitconfig
# core {{{
[core]
editor = /usr/bin/vim
excludesfile = /Users/npaolucci/.gitignore_global
pager=less -x4
#}}}
# user {{{
[user]
email = npaolucci@atlassian.com
@JohnathanMarkSmith
JohnathanMarkSmith / todo.md
Last active Aug 29, 2015
Private Programming To Do List
View todo.md
@JohnathanMarkSmith
JohnathanMarkSmith / gist:6278a956dc978788bf69
Created Oct 9, 2014
How to install Maven 3.2.3 on CentOS7
View gist:6278a956dc978788bf69
# Download Maven and untar it.
# The first thing we need to do is to download the Maven tar file and untar it to a shared location on the workstation
wget http://mirrors.gigenet.com/apache/maven/maven-3/3.2.3/binaries/apache-maven-3.2.3-bin.tar.gz
su -c "tar -zxvf apache-maven-3.2.3-bin.tar.gz -C /usr/local“
cd /usr/local
sudo ln -s apache-maven-3.2.3 maven
# Setup the Maven Environment Variables in shared profile.
# The next step is to setup the Maven environment variables in a shared profile so all users on the system will get them import at login # time.
@JohnathanMarkSmith
JohnathanMarkSmith / gist:4774ebcc0d63af111f4e
Last active Aug 29, 2015
RHEL 7 / CentOS 7 : Disable Firewalld
View gist:4774ebcc0d63af111f4e
### This is how I diabled the firewall on CentOS7
### Disable Firewalld Service.
[root@rhel-centos7-tejas-barot-linux ~]# systemctl mask firewalld
### Stop Firewalld Service.
[root@rhel-centos7-tejas-barot-linux ~]# systemctl stop firewalld
@JohnathanMarkSmith
JohnathanMarkSmith / gist:f2e81ce51c4af2923a42
Last active Aug 29, 2015
Creating Blogging VM with CentOS7
View gist:f2e81ce51c4af2923a42
sudo yum install nodejs npm ruby ruby-devel rubygems git
gem install jekyll
vi .gemrc
# in .gemrc file add ":ssl_verify_mode: 0"
gem install jekyll
wget http://nodejs.org/dist/v0.10.30/node-v0.10.30.tar.gz
tar xzvf node-v* && cd node-v*
sudo yum install gcc gcc-c++
./configure
make
View Walkthrough.mkd

NOTICE

IMPORTANT: This guide is for the old 2.x version of gitolite, which is(as of April 22nd 2012) the one found in most OS package repositories. Please consider using the current 3.x branch of gitolite, for which a very nice howto is written by the author.

Introduction

This is a quick walkthrough on how to install and begin using gitolite in under a minute(only 4 commands!). Just follow along through the shell blocks. Reading the gitolite docs is STRONGLY recommended.

Assumptions

View .gitignore
bin
build
.metadata
*~
target/
*.imi
*.iml
.idea/
.idea
.DS_Store
You can’t perform that action at this time.