{
"type": "package",
"package": {
"name": "douglascrockford/json-js",
"version": "1.1",
"type": "drupal-library",
"dist": {
"url": "https://raw.githubusercontent.com/douglascrockford/JSON-js/master/json2.js",
This file contains hidden or 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
| drush theme:enable themename | |
| drush config:set system.theme default themename -y |
This file contains hidden or 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
| text-overflow: ellipsis; | |
| overflow: hidden; | |
| white-space: nowrap; |
This file contains hidden or 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
| .clamp { | |
| display: -webkit-box; | |
| -webkit-box-orient: vertical; | |
| overflow: hidden; | |
| } | |
| .clamp.two-lines { | |
| -webkit-line-clamp: 2; | |
| } |
This file contains hidden or 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
| set -o allexport | |
| source .envfile | |
| set +o allexport |
This file contains hidden or 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
| export HISTIGNORE='ignoreboth:erasedups:history:ls:pwd:clear' | |
| export HISTTIMEFORMAT='%F, %T ' | |
| PROMPT_CMMAND='history -a' | |
| HISTFILESIZE=1000000 | |
| HISTSIZE=100000 |
This file contains hidden or 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
| import { Application, Router } from "https://deno.land/x/oak/mod.ts"; | |
| const router = new Router(); | |
| router.get("/path/:file", async (context) => { | |
| if (context?.params?.file) { | |
| const data = await fetch( | |
| `https://cdn.somedomain.com/js/${context?.params?.file}`, | |
| ); | |
| console.log(data); | |
| context.response.body = data.body; |
This file contains hidden or 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 version is at least +3.0 | |
| name: drupal-nine | |
| recipe: drupal9 | |
| services: | |
| appserver: | |
| webroot: web | |
| xdebug: debug | |
| config: | |
| php: .vscode/php.ini |
This file contains hidden or 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
| /* CSS Custom Properties */ | |
| :root { | |
| --font-family: 'Georgia', serif; | |
| --font-family-alt: 'Helvetica', Arial, sans-serif; | |
| --font-weight: 400; | |
| --font-weight-bold: 700; | |
| --font-weight-black: 900; | |
| /* 3:4 perfect fourth scale */ |
This file contains hidden or 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 randomHexColor = `#${Math.floor(Math.random() * 16777215).toString(16)}`; |
OlderNewer