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
### Keybase proof | |
I hereby claim: | |
* I am daraul on github. | |
* I am daraul (https://keybase.io/daraul) on keybase. | |
* I have a public key whose fingerprint is C13B 0EDE 410B 1C4D 859D AF83 477E D18B FF2A FCC7 | |
To claim this, I am signing this object: |
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 | |
namespace App\Console\Commands; | |
use Illuminate\Console\Command; | |
use Illuminate\Support\Facades\DB; | |
use Illuminate\Support\Facades\Schema; | |
use Illuminate\Support\Facades\Artisan; | |
use Illuminate\Support\Collection; | |
use Illuminate\Support\Str; |
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
var exceptions = { | |
"are": "were", | |
"eat": "ate", | |
"go": "went", | |
"have": "had", | |
"inherit": "inherited", | |
"is": "was", | |
"run": "ran", | |
"sit": "sat", | |
"visit": "visited", |
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
return function(text) { | |
var map = { | |
'&': '&', | |
'&': "&", | |
'<': '<', | |
'>': '>', | |
'"': '"', | |
''': "'", | |
'’': "’", | |
'‘': "‘", |
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
# Use our wp-config | |
wp-config.php merge=ours |
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
// The database URL to be parsed // | |
$url = parse_url(getenv("CLEARDB_DATABASE_URL")); | |
// The name of the database for WordPress // | |
define('DB_NAME', substr($url["path"], 1)); | |
// MySQL database username // | |
define('DB_USER', $url["user"]); | |
// MySQL database password // |