Skip to content

Instantly share code, notes, and snippets.

Avatar

Mauricio Téllez mtellezj

View GitHub Profile
View database.txt
* MySql database
:PROPERTIES:
:header-args:sql: :engine mysql
:header-args:sql+: :cmdline "my_db -u john_doe -h 127.0.0.1"
:header-args:sql+: :var start_date="2019-02-27"
:header-args:sql+: :var end_date="2020-02-29"
:END:
** Get all clients
Press C-c C-c inside next block to query the database.
@mtellezj
mtellezj / nginx.conf
Created Aug 7, 2017
Config file for nginx with http and https support
View nginx.conf
user nginx;
worker_processes 1;
error_log /var/log/nginx/error.log warn;
pid /var/run/nginx.pid;
events {
worker_connections 1024;
}
You can’t perform that action at this time.