Skip to content

Instantly share code, notes, and snippets.

View nardhar's full-sized avatar

Felix Carreño B. nardhar

View GitHub Profile
@nardhar
nardhar / replace-git-tag.md
Created August 18, 2017 21:50
Replace GIT tag approach
@nardhar
nardhar / atom-packages-themes.md
Last active August 10, 2017 03:46
atom packages and themes

Packages for Atom

  1. angularjs
  2. atom-grails
  3. atom-typescript
  4. autocomplete
  5. busy-signal
  6. file-icons
  7. itentions
  8. language-groovy
  9. language-groovy-cloned-from-java
@nardhar
nardhar / postgres-centos7.md
Created July 24, 2017 18:11
Postgres CentOS 7
$ sudo yum install postgresql-server
$ sudo postgresql-setup initdb
$ sudo vi /var/lib/pgsql/data/pg_hba.conf

Find the lines that looks like this, near the bottom of the file: pg_hba.conf excerpt (original)

host all all 127.0.0.1/32 ident
@nardhar
nardhar / wordpress-centos7.md
Last active September 6, 2017 13:49
wordpress CentOS 7

Install Wordpress on CentOS 7

Install LAMP

$ sudo yum install httpd mariadb mariadb-server php php-common php-mysql php-gd php-xml php-mbstring php-mcrypt php-xmlrpc unzip wget -y

Enable Apache and MariaDB as service

$ sudo systemctl start httpd
@nardhar
nardhar / git-server-centos7.md
Last active June 14, 2021 20:49
Git Server CentOS 7

Configure Git Server on CentOS 7

Server

$ yum install git-core
$ sudo useradd git
$ sudo passwd git
$ sudo su git
$ cd
@nardhar
nardhar / msgconvert.txt
Last active May 4, 2017 13:45
Convert MSG to EML
install msgconvert
$ sudo apt-get install libemail-outlook-message-perl
then convert file.msg
$ msgconvert file.msg
.pretty-buttons(@color, @background, @text-shadow: none) {
color: @color;
#gradient > .vertical(lighten(@background, 5%), darken(@background, 5%), 0%, 100%);
border-color: darken(@background, 10%);
border-bottom-color: darken(@background, 20%);
text-shadow: @text-shadow;
.box-shadow(inset 0 1px 0 rgba(255, 255, 255, .1));
&:hover,