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
<?php | |
use Symfony\Component\DomCrawler\Crawler; | |
$loader = require __DIR__ . '/vendor/autoload.php'; | |
$list = file('list.txt'); | |
$index = fopen('index.html', 'w'); | |
$commands = fopen('commands.sh', 'w'); |
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 { src, dest, series, parallel, watch } = require("gulp"); | |
const del = require("del"); | |
const browserSync = require("browser-sync").create(); | |
const nunjucks = require("gulp-nunjucks"); | |
const less = require("gulp-less"); | |
const concat = require("gulp-concat"); | |
const groupCSSMediaQueries = require("gulp-group-css-media-queries"); | |
const package = require("./package.json"); | |
const siteName = package.name || "Template"; |
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
#!/usr/bin/env bash | |
set -e | |
cd dist | |
zip -r ../site.zip ./* | |
cd .. | |
curl -H "Content-Type: application/zip" \ | |
-H "Authorization: Bearer $NETLIFY_TOKEN" \ |