cache.sh
Caches the output of any other CLI tool in a simple filesystem-backed cache.
Installation
Put the file in your $PATH
somewhere. I called mine cache
instead of cache.sh
, so that's what's reflected in the examples below.
Caches the output of any other CLI tool in a simple filesystem-backed cache.
Put the file in your $PATH
somewhere. I called mine cache
instead of cache.sh
, so that's what's reflected in the examples below.
0405564c3be1133fa898dee6026cc0311bb38afa486a5cf5bf59724d2f39d63592313c35d56f4931628fb273334888de5ee907a5d6fd1be13ca966f5d57b8a307f |
<?php | |
$dispatcher = new EventDispatcher(); | |
$dispatcher->addListener('event.name', [any PHP Callable]); | |
$dispatcher->dispatch('event.name'); // the callable you specified above gets called. |
package main | |
import ( | |
"bufio" | |
"fmt" | |
"log" | |
"net" | |
"os" | |
) |
I hereby claim:
To claim this, I am signing this object:
diff --git a/docroot/modules/custom/pc_editorial/pc_editorial.module b/docroot/modules/custom/pc_editorial/pc_editorial.module | |
index 30de354..0edaeb0 100644 | |
--- a/docroot/modules/custom/pc_editorial/pc_editorial.module | |
+++ b/docroot/modules/custom/pc_editorial/pc_editorial.module | |
@@ -1,5 +1,7 @@ | |
<?php | |
+use Drupal\Core\Form\FormStateInterface; | |
+ | |
function pc_editorial_entity_type_alter(array &$entity_types) { |
The annoying thing is not that they're calling and asking for money. It's that the frequency with which they do so is abusive, and that they're marketing the most to the wrong group of people (i.e. people that just graduated, who are statistically likely to be digging themselves out of a gigantic student loan). Alienating your donor pool before they're even able or willing to donate is not a good long-term strategy for - you know - getting donations.
The actual communications themselves are not really conducive to getting donations, either. Instead of reaching out with the equivalent of "Hi, money plz. kthxbai.", send a monthly email newsletter with what the Boone fund is actually doing with that money, along with any future initiatives that they want to pursue, and information about their fundraising goals and progress toward those goals. Then - as a FOOTNOTE - ask for money to help further these goals. It shouldn't be a header. It shouldn't be the subject of the email. It shouldn't be the opening line on t
diff --git a/aws_sqs.services.yml b/aws_sqs.services.yml | |
index 4040cd8..8b9a833 100644 | |
--- a/aws_sqs.services.yml | |
+++ b/aws_sqs.services.yml | |
@@ -1,3 +1,4 @@ | |
services: | |
queue.awssqs: | |
- class: Drupal\aws_sqs\Queue\QueueAwsSqsFactory | |
\ No newline at end of file | |
+ class: Drupal\aws_sqs\Queue\AwsSqsQueueFactory |
<?php | |
namespace My\Something { | |
class MyClass { | |
public static function my_function() { | |
echo "shutdown function called"; | |
} | |
} | |
} |