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
<script> | |
const copyListener = (e) => { | |
e.preventDefault(); | |
}; | |
document.addEventListener("copy", copyListener); | |
document.addEventListener("cut", copyListener); | |
function copyToClipboard() | |
{ |
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
[[source]] | |
url = "https://pypi.org/simple" | |
verify_ssl = true | |
name = "pypi" | |
[packages] | |
fastapi = "*" | |
uvicorn = "*" | |
blackfire = "*" | |
spacy = "*" |
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
backend intercom1 { | |
.host = "13.248.193.164"; | |
.port = "80"; | |
.connect_timeout = 5s; | |
.first_byte_timeout = 5s; | |
.between_bytes_timeout = 5s; | |
} | |
backend intercom2 { | |
.host = "76.223.11.64"; |
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
from pydantic import BaseModel | |
class EntityOut(BaseModel): | |
category: str | |
text: str | |
label: str | |
class Config: | |
underscore_attrs_are_private = True |
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
lando 17:42:25 DEBUG ==> No update available. | |
lando 17:42:25 VERBOSE ==> starting bootstrap at level app... | |
lando 17:42:25 VERBOSE ==> config bootstrap beginning... | |
lando 17:42:25 DEBUG ==> emitting event pre-bootstrap-config | |
lando 17:42:25 DEBUG ==> plugin lando-core loaded from /snapshot/lando/build/cli/plugins/lando-core/index.js | |
lando 17:42:25 DEBUG ==> plugin lando-events loaded from /snapshot/lando/build/cli/plugins/lando-events/index.js | |
lando 17:42:25 DEBUG ==> plugin lando-networking loaded from /snapshot/lando/build/cli/plugins/lando-networking/index.js | |
lando 17:42:25 DEBUG ==> plugin lando-proxy loaded from /snapshot/lando/build/cli/plugins/lando-proxy/index.js | |
lando 17:42:25 DEBUG ==> plugin lando-recipes loaded from /snapshot/lando/build/cli/plugins/lando-recipes/index.js |
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
#!/bin/bash | |
set -e; | |
VERSION_REGEXP='([0-9]+)\.([0-9]+)\.([0-9]+)'; | |
case $1 in | |
release|major|hotfix) | |
MODE=$1; | |
echo "Preparing $MODE, stashing changes and updating develop/master"; |
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
diff --git a/resources/views/vendor/spark/auth/register-common.blade.php b/resources/views/vendor/spark/auth/register-common.blade.php | |
index 4c78546..30cd926 100644 | |
--- a/resources/views/vendor/spark/auth/register-common.blade.php | |
+++ b/resources/views/vendor/spark/auth/register-common.blade.php | |
@@ -95,7 +95,7 @@ | |
</span> | |
<span v-else class="table-plan-text"> | |
- <strong class="table-plan-price">@{{ plan.price | currency }}</strong> | |
+ <strong class="table-plan-price">@{{ plan.price | currency(plan.attributes.currency, plan.attributes.currencyLocale) }}</strong> |
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 data = require('../Downloads/Slack/diversity-inclusion/2019-03-07.json'); | |
const usersExport = require('../Downloads/Slack/users.json'); | |
// Load all users into memory. | |
const users = {}; | |
const contributors = {}; | |
usersExport.forEach(user => { | |
users[user.id] = user.profile.display_name_normalized ? user.profile.display_name_normalized : user.profile.real_name_normalized; | |
}); |
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 AppBundle\Tests; | |
use Doctrine\DBAL\Connection; | |
use Doctrine\ORM\Tools\SchemaTool; | |
use Doctrine\DBAL\Driver\PDOMysql\Driver as MySQLDriver; | |
class DoctrineMigrationTest extends WebTestCase | |
{ |
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
parameters: | |
file_upload_mime_types: | |
- application/pdf | |
- application/x-pdf | |
- text/plain | |
- application/rtf | |
- image/* | |
- application/msword | |
- application/vnd.openxmlformats-officedocument.wordprocessingml.document |
NewerOlder