Skip to content

Instantly share code, notes, and snippets.

View vijaycs85's full-sized avatar

Vijaya Chandran Mani vijaycs85

View GitHub Profile
➜ drupal8 git:(8.8.x) ✗ drupal-check -vvv modules/contrib/cloudflare
Current working directory: /www/drupal8
Using Drupal root: /www/drupal8
Using vendor root: /www/drupal8/vendor
Using autoloader: /www/drupal8/vendor/autoload.php
/www/drupal8/modules/contrib/cloudflare/tests/modules/cloudflare_form_tester/src/Mocks/ComposerDependenciesCheckMock.php
/www/drupal8/modules/contrib/cloudflare/tests/modules/cloudflare_form_tester/src/Mocks/ZoneMock.php
/www/drupal8/modules/contrib/cloudflare/tests/modules/cloudflare_form_tester/src/CloudflareFormTesterServiceProvider.php
/www/drupal8/modules/contrib/cloudflare/tests/src/Unit/StateTest.php
/www/drupal8/modules/contrib/cloudflare/tests/src/Unit/ClientIpRestoreTest.php
https://slides.com/vijaycs85/basic-web-development?token=EflSOVT1

Code

$options['http']['header'][] = sprintf(
                'User-Agent: Composer/%s (%s; %s; %s%s)',
                Composer::getVersion(),
                function_exists('php_uname') ? php_uname('s') : 'Unknown',
                function_exists('php_uname') ? php_uname('r') : 'Unknown',
                $phpVersion,
                getenv('CI') ? '; CI' : ''
 );
# Basic data types for policy.
policy_plugin:
type: mapping
mapping:
plugin_id:
type: string
plugin_name:
type: label
@vijaycs85
vijaycs85 / 1.dynamic-links-action.md
Last active June 24, 2020 16:42
Drupal 8 snippets for different functionality
<?xml version="1.0" encoding="UTF-8"?>
<Diagram>
<ID>PHP</ID>
<OriginalElement>\Drupal\Tests\BrowserTestBase</OriginalElement>
<nodes>
<node x="0.0" y="696.0">\Drupal\Tests\hal\Functional\EntityResource\Comment\CommentHalJsonTestBase</node>
<node x="10585.0" y="696.0">\Drupal\Tests\views\Functional\Wizard\WizardTestBase</node>
<node x="13984.0" y="696.0">\Drupal\Tests\system\Functional\Database\DatabaseTestBase</node>
<node x="238.0" y="770.0">/www/htdocs/drupal8/core/modules/media/tests/src/FunctionalJavascript</node>
<node x="638.0" y="696.0">\Drupal\Tests\rest\Functional\EntityResource\ResponsiveImageStyle\ResponsiveImageStyleResourceTestBase</node>
@vijaycs85
vijaycs85 / gist:9a3d3917af1fa8536581bfcbfbf02c70
Created September 22, 2017 14:59 — forked from rxaviers/gist:7360908
Complete list of github markdown emoji markup

People

:bowtie: :bowtie: 😄 :smile: 😆 :laughing:
😊 :blush: 😃 :smiley: ☺️ :relaxed:
😏 :smirk: 😍 :heart_eyes: 😘 :kissing_heart:
😚 :kissing_closed_eyes: 😳 :flushed: 😌 :relieved:
😆 :satisfied: 😁 :grin: 😉 :wink:
😜 :stuck_out_tongue_winking_eye: 😝 :stuck_out_tongue_closed_eyes: 😀 :grinning:
😗 :kissing: 😙 :kissing_smiling_eyes: 😛 :stuck_out_tongue:
{
"name": "mycompany/myproject",
"description": "My project description",
"type": "project",
"license": "GPL-2.0+",
"authors": [
{
"name": "",
"role": ""
}

Keybase proof

I hereby claim:

  • I am vijaycs85 on github.
  • I am vijaycs85 (https://keybase.io/vijaycs85) on keybase.
  • I have a public key ASAiMcpQFdsDgDBg_a9SknC5H_HrK5DM543XXZz-Av-pDwo

To claim this, I am signing this object:

Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.