Skip to content

Instantly share code, notes, and snippets.

View sijojlouis's full-sized avatar
...

Sijo Joe Louis sijojlouis

...
View GitHub Profile
@sijojlouis
sijojlouis / permissions.sh
Created November 15, 2018 16:05 — forked from rickhernandezio/permissions.sh
Permissions for Mautic
cd /var/www/mautic
find . -type d -exec chmod 755 {} \;
find . -type f -exec chmod 644 {} \;
chmod -R g+w app/cache/
chmod -R g+w app/logs/
chmod -R g+w app/config/
chmod -R g+w media/files/
chmod -R g+w media/images/
chmod -R g+w translations/
chown -R $USER:www-data .
@sijojlouis
sijojlouis / macos_dock_spacing
Last active September 26, 2018 15:31
Script for adding "space" separator to Dock in macOS.
#!/bin/bash
# Script for adding "space" separator to Dock in macOS.
# Before running make the file "macos_dock_spacing" executable.
# In the terminal, run
# $ chmod 700 macos_dock_spacing
# then run from the terminal as
# $ ./macos_dock_spacing
echo

Keybase proof

I hereby claim:

  • I am sijojlouis on github.
  • I am sijojlouis (https://keybase.io/sijojlouis) on keybase.
  • I have a public key ASAvVzhui-OxqKMWUBzlnUcd5x7mtvizjPrmMjriAS_F1Ao

To claim this, I am signing this object:

@sijojlouis
sijojlouis / node nginx configuration
Created November 13, 2015 19:09 — forked from uhho/node nginx configuration
Sample nginx configuration for NodeJS + SocketIO app
# Load balancer configuration
upstream exampleApp {
# Directs to the process with least number of connections.
least_conn;
# One failed response will take a server out of circulation for 20 seconds.
server 127.0.0.1:10080 fail_timeout=20s;
#server 127.0.0.1:10081 fail_timeout=20s;
#server 127.0.0.1:10082 fail_timeout=20s;
#server 127.0.0.1:10083 fail_timeout=20s;