Skip to content

Instantly share code, notes, and snippets.

Marcelo de Souza Lima marceloxp

Block or report user

Report or block marceloxp

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
View webpack.config.js
var debug = process.env.NODE_ENV !== "production";
var webpack = require('webpack');
module.exports = {
context: __dirname,
devtool: debug ? "inline-sourcemap" : null,
entry: "./js/scripts.js",
output: {
path: __dirname + "/js",
filename: "scripts.min.js"
View How to link Sublime Text Build system to Python 3
@marceloxp
marceloxp / apache.md
Last active Jun 4, 2019
Apache Tips
View apache.md

Apache Tips

Basic tips commands to Apache for PHP

Install:

sudo apt update
sudo apt install apache2

Conf file:

View static-templates.php
<?php
/**
* Plugin Name: Static Templates
*
* If most of your site content is in .php template files, and you're tired of
* creating new pages, assigning them page templates, creating page templates
* then doing it all over again on production, this plugin is for you.
*
* Examples:
*
You can’t perform that action at this time.