Configure Git Server on CentOS 7
Server
$ yum install git-core
$ sudo useradd git
$ sudo passwd git
$ sudo su git
$ cd
install msgconvert | |
$ sudo apt-get install libemail-outlook-message-perl | |
then convert file.msg | |
$ msgconvert file.msg |
Configure Git Server on CentOS 7
Server
$ yum install git-core
$ sudo useradd git
$ sudo passwd git
$ sudo su git
$ cd
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
$ 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
Taken from https://stackoverflow.com/a/24762313/1947087
git tag -d <tagname>
git checkout <new commit or branch>
git tag -a <tagname>
git push <remotename> <tagname> -f
for example:
// Is there something like this? | |
const RequestTest = require('should-request-test'); | |
describe('Starting controller testing', () => { | |
// calling the express app | |
const server = require('src/index'); | |
// controller endpoint | |
const endpoint = '/api/v1/myResource'; | |
const requestTest; |
'use strict'; | |
const crypto = require('crypto'); | |
const ENCRYPTION_KEY = process.env.ENCRYPTION_KEY; // Must be 256 bytes (32 characters) | |
const IV_LENGTH = 16; // For AES, this is always 16 | |
function encrypt(text) { | |
let iv = crypto.randomBytes(IV_LENGTH); | |
let cipher = crypto.createCipheriv('aes-256-cbc', new Buffer(ENCRYPTION_KEY), iv); |
/* Firefox type in urlbar about:support */ | |
/* and click in Open Folder at Profile Folder line */ | |
/* Create folder chrome and copy this file there */ | |
/** | |
All credits for this file go to https://www.reddit.com/r/firefox/comments/726p8u/multirow_tabs_firefox_ignores_mozboxflex/dngb8qf/ | |
*/ | |
.tabbrowser-tab:not([pinned]) { | |
flex-grow:1; | |
min-width:150px; |