This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// ---- | |
// libsass (v3.2.5) | |
// ---- | |
// ---- | |
// libsass (v3.2.5) | |
// ---- | |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// ---- | |
// libsass (v3.2.5) | |
// ---- | |
// ---- | |
// libsass (v3.2.5) | |
// ---- | |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<snippet> | |
<content><![CDATA[ | |
<VirtualHost ${1:domain_name}:80> | |
DocumentRoot "C:/xampp/htdocs/${1:domain_name}/public" | |
ServerName ${1:domain_name} | |
ErrorLog "logs/${1:domain_name}-error.log" | |
<Directory "${1:domain_name}"> | |
Options Indexes FollowSymLInks | |
AllowOverride all | |
Deny from all |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Require all the things | |
var gulp = require('gulp'), | |
sass = require('gulp-sass'), | |
gutil = require('gulp-util'), | |
plumber = require('gulp-plumber'), | |
rename = require('gulp-rename'), | |
minifyCSS = require('gulp-clean-css'), | |
prefixer = require('gulp-autoprefixer'), | |
connect = require('gulp-connect'), | |
cp = require('child_process'); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/(19|20)\d{2}\/(0[1-9]|1[012])\/(0[1-9]|[12][0-9]|3[01])/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
const path = require('path'); | |
const fs = require('fs'); | |
const directoryPath = path.join(__dirname, '_posts'); | |
// Loop through the folder's files | |
fs.readdir(directoryPath, (err, files) => { | |
if (err) { | |
return console.log('Unable to scan directory: ' + err); | |
} | |
// Loop through all files |