Skip to content

Instantly share code, notes, and snippets.

View jmeyo's full-sized avatar
👸
Focusing

Jean-Christophe Meillaud jmeyo

👸
Focusing
View GitHub Profile
@jmeyo
jmeyo / gist:b2e2bdb24a91e957a71f
Last active August 29, 2015 14:20
Docker Server commands
PS1='${debian_chroot:+($debian_chroot)}\u@www-nginx:\w\$ '
@jmeyo
jmeyo / background.js
Last active March 2, 2016 02:34 — forked from danharper/background.js
Bare minimum Chrome extension to inject a JS file into the given page when you click on the browser action icon. The script then inserts a new div into the DOM.
// this is the background code...
// listen for our browerAction to be clicked
chrome.browserAction.onClicked.addListener(function (tab) {
// for the current tab, inject the "inject.js" file & execute it
chrome.tabs.executeScript(tab.ib, {
file: 'inject.js'
});
});
server {
listen 80;
server_name __project_hosts__;
root __project_path__;
index index.php;
access_log /var/log/nginx/__project_name___project_dev.access.log;
error_log /var/log/nginx/__project_name___project_dev.error.log;
@jmeyo
jmeyo / gist:17db055a26d8490e6e194e2012d4a64c
Last active January 11, 2017 16:29
Mautic nginx conf
server {
listen 80;
server_name mautic.somedomain.com;
root /usr/share/nginx/mautic;
index index.php;
access_log /var/log/nginx/mautic.access.log;
error_log /var/log/nginx/mautic.error.log;