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
| { | |
| "uri": "http://0.0.0.0:9233/api/v1/users", | |
| "links": { | |
| "about": { | |
| "href": "http://path.to/user/resource/1" | |
| }, | |
| "describes": { | |
| "href": "http://path.to/describes" | |
| }, | |
| "help": { |
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
| <?php | |
| /************************************************************* | |
| * Prepares variables for the html.html.twig template. | |
| * @param $variables | |
| */ | |
| function basic_preprocess_html(&$variables) { | |
| try { | |
| $variables['is_front'] = \Drupal::service('path.matcher')->isFrontPage(); | |
| } | |
| catch (Exception $e) { |
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
| .container { | |
| height: 100vh; | |
| position: relative; | |
| width: 100%; | |
| margin: 0 auto; | |
| background-image: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww%2Ew3%2Eorg%2F2000%2Fsvg%22%3E%3Crect%20x%3D%220%25%22%20fill%3D%22%23338%22%20width%3D%2212%2E5%25%22%20height%3D%22100%25%22%2F%3E%3Crect%20x%3D%2212%2E5%25%22%20fill%3D%22%236666a6%22%20width%3D%220%25%22%20height%3D%22100%25%22%2F%3E%3Crect%20x%3D%2212%2E5%25%22%20fill%3D%22%232b2b74%22%20width%3D%2212%2E5%25%22%20height%3D%22100%25%22%2F%3E%3Crect%20x%3D%2225%25%22%20fill%3D%22%236666a6%22%20width%3D%220%25%22%20height%3D%22100%25%22%2F%3E%3Crect%20x%3D%2225%25%22%20fill%3D%22%23338%22%20width%3D%2212%2E5%25%22%20height%3D%22100%25%22%2F%3E%3Crect%20x%3D%2237%2E5%25%22%20fill%3D%22%236666a6%22%20width%3D%220%25%22%20height%3D%22100%25%22%2F%3E%3Crect%20x%3D%2237%2E5%25%22%20fill%3D%22%232b2b74%22%20width%3D%2212%2E5%25%22%20height%3D%22100%25%22%2F%3E%3Crect%20x%3D%2250%25%22%20fill%3D%22%236666a6%22%20width%3D%220%25%22%20height%3D%22100%25% |
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
| <div class="container"> | |
| <div class="foo"> | |
| I'm a foo. | |
| </div> | |
| </div> |
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
| .container { | |
| height: 100vh; | |
| position: relative; | |
| width: 100%; | |
| margin: 0 auto; | |
| background-image: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww%2Ew3%2Eorg%2F2000%2Fsvg%22%3E%3Crect%20x%3D%220%25%22%20fill%3D%22%23338%22%20width%3D%2225%25%22%20height%3D%22100%25%22%2F%3E%3Crect%20x%3D%2225%25%22%20fill%3D%22%236666a6%22%20width%3D%220%25%22%20height%3D%22100%25%22%2F%3E%3Crect%20x%3D%2225%25%22%20fill%3D%22%232b2b74%22%20width%3D%2225%25%22%20height%3D%22100%25%22%2F%3E%3Crect%20x%3D%2250%25%22%20fill%3D%22%236666a6%22%20width%3D%220%25%22%20height%3D%22100%25%22%2F%3E%3Crect%20x%3D%2250%25%22%20fill%3D%22%23338%22%20width%3D%2225%25%22%20height%3D%22100%25%22%2F%3E%3Crect%20x%3D%2275%25%22%20fill%3D%22%236666a6%22%20width%3D%220%25%22%20height%3D%22100%25%22%2F%3E%3Crect%20x%3D%2275%25%22%20fill%3D%22%232b2b74%22%20width%3D%2225%25%22%20height%3D%22100%25%22%2F%3E%3C%2Fsvg%3E"); | |
| } | |
| @media (min-width: 700px) { | |
| .container { |
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
| <div class="container"> | |
| <div class="foo"> | |
| I'm a foo. | |
| </div> | |
| </div> |
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
| { | |
| "uri": "http://0.0.0.0:9233/api/v1/users", | |
| "links": { | |
| "about": { | |
| "href": "http://path.to/user/resource/1" | |
| }, | |
| "describes": { | |
| "href": "http://path.to/describes" | |
| }, | |
| "help": { |
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
| importPackage(java.io); | |
| importPackage(java.lang); | |
| System.out.println("JavaScript!"); | |
| // create some variables to use | |
| // TERM: assignment | |
| var a = 1; | |
| var b = 2; | |
| var c = 3; |
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
| console.log("JavaScript!"); | |
| // create some variables to use | |
| // TERM: assignment | |
| var a = 1; | |
| var b = 2; | |
| var c = 3; | |
| var d = 4; | |
| var e = 5; |
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
| 'use strict'; | |
| var Hoek = require('hoek'); | |
| var Util = require('util'); | |
| var Log = require('./lib/logger'); | |
| var Cache = require('./lib/cache'); | |
| var Mailer = require('./lib/mailer'); | |
| var Db = require('./lib/dbx'); | |
| var Storage = require('./lib/storage'); | |
| var Auth = require('./lib/auth'); |