Skip to content

Instantly share code, notes, and snippets.

View madalinignisca's full-sized avatar
🏡
Open for business

Madalin Ignisca madalinignisca

🏡
Open for business
View GitHub Profile

#FOR MULTIPLE REDIS INSTANCE INSTALLATION ON RHEL7+ USE THE FOLLOWING PATHS AND SETUP PROCESS:

  • create a new redis .conf file
$ cp /etc/redis.conf /etc/redis-xxx.conf
  • edit /etc/redis-xxx.conf, illustrated as below
@madalinignisca
madalinignisca / hhvm_php.ini
Last active August 29, 2015 14:21 — forked from tektoh/hhvm_php.ini
hhvm for concrete5
; php options
session.save_handler = files
session.save_path = /var/lib/php5
session.gc_maxlifetime = 1440
short_open_tag = Off
expose_php = Off
; hhvm specific
hhvm.log.level = Warning
<script type="text/javascript">
(function () {
"use strict";
// once cached, the css file is stored on the client forever unless
// the URL below is changed. Any change will invalidate the cache
var css_href = './index_files/web-fonts.css';
// a simple event handler wrapper
function on(el, ev, callback) {
if (el.addEventListener) {
el.addEventListener(ev, callback, false);
@madalinignisca
madalinignisca / deploy.php
Last active August 29, 2015 13:56 — forked from oodavid/README.md
Git deploy script for php projects.
<?php
/**
* GIT DEPLOYMENT SCRIPT
*
* Used for automatically deploying websites via github, gitlab or bitbucket, more deets here:
*
* https://gist.github.com/9323683
*/
// The commands