$ git clone ssh://user@domain.com/repo.git
$ git init
/** | |
* Small script to generate icons for Android and iOS -devices. | |
* | |
* Copyrights: | |
* Copyright (c) 2010 Matt Di Pasquale (https://gist.github.com/mattdipasquale/711203) | |
* Added tweaks Copyright (c) 2012 by Josh Jones http://www.appsbynight.com (https://gist.github.com/appsbynight/3681050) | |
* Code cleanup, rewrite, minor buggfixing, addition of android icons and generation of the folders by Johannes Tegnér http://jite.eu | |
* | |
* Permission is hereby granted, free of charge, to any person obtaining a copy | |
* of this software and associated documentation files (the "Software"), to deal |
<?php | |
namespace Deployer; | |
require 'recipe/common.php'; | |
set('ssh_type', 'native'); | |
set('ssh_multiplexing', true); | |
// Set configurations | |
set('repository', 'git@github.com:user/repo.git'); |
<?php | |
namespace Valet\Drivers\Custom; | |
class BedrockMultisiteValetDriver extends \Valet\Drivers\Specific\BedrockValetDriver | |
{ | |
/** | |
* Determine if the incoming request is for a static file. | |
* | |
* @return string|false |
<?php | |
namespace Deployer; | |
require 'recipe/composer.php'; | |
set('repository', 'path-to-repo'); | |
set('git_tty', true); | |
set('shared_files', ['.env','web/.htaccess']); | |
set('shared_dirs', ['web/app/uploads']); |
lozzzzzzzz123123 | |
# I only use 1 password. |
mkdir -p {staging,production}/deploys | |
mkdir -p shared/{staging,production,uploads} | |
wget https://raw.githubusercontent.com/roots/bedrock/master/.env.example -O shared/staging/.env | |
wget https://raw.githubusercontent.com/roots/bedrock/master/.env.example -O shared/production/.env |
The package that linked you here is now pure ESM. It cannot be require()
'd from CommonJS.
This means you have the following choices:
import foo from 'foo'
instead of const foo = require('foo')
to import the package. You also need to put "type": "module"
in your package.json and more. Follow the below guide.await import(…)
from CommonJS instead of require(…)
.<?php | |
/* | |
Plugin Name: B&S Autoloader | |
Plugin URI: https://github.com/borgenfalkskott | |
Description: Mu-plugin autoloader for vanilla Wp. | |
Version: 1.1.0 | |
Author: Borgenfalk & Skott | |
Author URI: https://borgenfalk.se | |
License: MIT | |
*/ |