Chose any task below and make sure to assign it to yourself either on Drupal.org or on GitHub.
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
$ ping google.com | |
PING google.com (216.58.211.110): 56 data bytes | |
64 bytes from 216.58.211.110: icmp_seq=0 ttl=53 time=19.736 ms | |
64 bytes from 216.58.211.110: icmp_seq=1 ttl=53 time=21.182 ms | |
64 bytes from 216.58.211.110: icmp_seq=2 ttl=53 time=91.430 ms | |
64 bytes from 216.58.211.110: icmp_seq=3 ttl=53 time=21.584 ms | |
Request timeout for icmp_seq 4 | |
Request timeout for icmp_seq 5 | |
Request timeout for icmp_seq 6 | |
Request timeout for icmp_seq 7 |
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
QTextStream in(stdin); | |
forever { | |
QString line = in.readLine(); | |
if (!line.isNull()) | |
break; | |
} |
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
Options +FollowSymLinks -MultiViews | |
RewriteEngine On | |
SetEnvIf User-Agent ^Amazon Cloudfront$ cdn | |
Order Deny,Allow | |
Deny from all | |
Allow from env=cdn |
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 | |
# Check if command was ran as root. | |
if [[ $(id -u) -eq 0 ]]; then | |
echo "The command \"sphp\" should not be executed as root or via sudo directly." | |
echo "When a service requires root access, you will be prompted for a password as needed." | |
exit 1 | |
fi | |
# Usage |
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
HTTP/1.1 200 OK | |
Accept-Ranges: bytes | |
Age: 96 | |
Cache-Control: no-cache, must-revalidate, post-check=0, pre-check=0 | |
Connection: keep-alive | |
Content-Encoding: gzip | |
Content-Length: 26 | |
Content-Security-Policy: frame-ancestors 'self' | |
Content-Type: text/html; charset=utf-8 | |
Date: Sat, 13 Feb 2016 11:06:49 GMT |
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
+--------------------------+ extends +-----------------------+ implements +------------------+ | |
+--------------------------------->| AssetCollectionInterface +---------->| AsseticAssetInterface |<------------ + AsseticBaseAsset | | |
ASSETIC | +--------------------------+ +-----------------------+ +------------------+ | |
| ^ ^ | |
+-----------------------------|---------------------------------------------------------------------------------------------|-------------------------|-----------------------------+ | |
+-----------------------------|---------------------------------------------------------------------------------------------|-------------------------|-----------------------------+ | |
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
#!/usr/bin/env python | |
# Retrieves the quota details of the given SSH hots and outputs JSON. | |
import os | |
import optparse | |
import subprocess | |
def calculate(hosts): | |
records = {} |
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
core/modules/edit/edit.module | 5 +++++ | |
1 file changed, 5 insertions(+) | |
diff --git a/core/modules/edit/edit.module b/core/modules/edit/edit.module | |
index a7fbb5d..a174e4e 100644 | |
--- a/core/modules/edit/edit.module | |
+++ b/core/modules/edit/edit.module | |
@@ -162,6 +162,11 @@ function edit_field_formatter_info_alter(&$info) { | |
* Implements hook_preprocess_HOOK() for field.tpl.php. | |
*/ |
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/core/modules/edit/js/util.js b/core/modules/edit/js/util.js | |
index 3f2919e..02ad49e 100644 | |
--- a/core/modules/edit/js/util.js | |
+++ b/core/modules/edit/js/util.js | |
@@ -62,13 +62,17 @@ Drupal.edit.util.form = { | |
url: Drupal.edit.util.buildUrl(fieldID, drupalSettings.edit.fieldFormURL), | |
event: 'edit-internal.edit', | |
submit: { nocssjs : options.nocssjs, reset : options.reset }, | |
- progress: { type : null } // No progress indicator. | |
+ progress: { type : null }, // No progress indicator. |