Skip to content

Instantly share code, notes, and snippets.

View lechidung's full-sized avatar
⛰️
Go up and never stop....

Johnny Lê lechidung

⛰️
Go up and never stop....
  • Techbase Vietnam Company Limited
  • Ho Chi Minh City, Vietnam
  • 23:51 (UTC +07:00)
View GitHub Profile
@lechidung
lechidung / config sample
Created August 9, 2017 02:08
config sample
<?php if ( ! defined('BASEPATH')) exit('No direct script access allowed');
/*
|--------------------------------------------------------------------------
| Base Site URL
|--------------------------------------------------------------------------
|
| URL to your CodeIgniter root. Typically this will be your base URL,
| WITH a trailing slash:
|
@lechidung
lechidung / 1443-2
Last active September 26, 2017 14:44
maven run spring boot
mvn spring-boot:run
@lechidung
lechidung / Book.test.js
Last active July 15, 2018 07:19
Sample Integration test for nodejs
'use strict';
const request = require('request');
const chai = require('chai');
const chaiHttp = require('chai-http');
const nock = require('nock');
const server = require('../../../src/app');
const {api} = require('../../../src/configs');
const dataProvider = require('./dataProvider/books');
# firewall-cmd --zone=public --add-service=http
# firewall-cmd --zone=public --add-service=http --permanent
# firewall-cmd --reload
# yum install firewalld
# systemctl start firewalld
# systemctl status firewalld
# systemctl enable firewalld
# systemctl is-enabled firewalld
# systemctl restart firewalld
# firewall-cmd --reload