I hereby claim:
- I am molovo on github.
- I am molovo (https://keybase.io/molovo) on keybase.
- I have a public key ASCR10KV__E4jv8vHvRJCRz_fnerGVmSWryJF4rDjE0mWQo
To claim this, I am signing this object:
| diff --git a/cli/stubs/etc-phpfpm-valet.conf b/cli/stubs/etc-phpfpm-valet.conf | |
| index 76c4ac7..85c175d 100644 | |
| --- a/cli/stubs/etc-phpfpm-valet.conf | |
| +++ b/cli/stubs/etc-phpfpm-valet.conf | |
| @@ -9,7 +9,7 @@ listen.group = staff | |
| listen.mode = 0777 | |
| -php_admin_value[memory_limit] = 128M | |
| +php_admin_value[memory_limit] = 2G |
| diff --git a/cli/stubs/secure.valet.conf b/cli/stubs/secure.valet.conf | |
| index f35c989..376e84a 100644 | |
| --- a/cli/stubs/secure.valet.conf | |
| +++ b/cli/stubs/secure.valet.conf | |
| @@ -1,11 +1,11 @@ | |
| server { | |
| - listen 127.0.0.1:80; | |
| + listen 80; | |
| server_name VALET_SITE www.VALET_SITE *.VALET_SITE; | |
| return 301 https://$host$request_uri; |
| <?php | |
| namespace <vendor>\<module>\Block\Adminhtml\Widget; | |
| use Magento\Backend\Block\Template\Context; | |
| use Magento\Backend\Block\Widget\Form\Element; | |
| use Magento\Cms\Model\Wysiwyg\Config; | |
| use Magento\Framework\Data\Form\Element\AbstractElement; | |
| use Magento\Framework\Data\Form\Element\Factory; |
I hereby claim:
To claim this, I am signing this object:
| ( function () { | |
| // This function does the dirty work of finding the event type and setting the appropriate title | |
| var updatePageTitle = function ( evt ) { | |
| var v = "This text should match your <title> element", // The title when tab is visible | |
| h = "I Miss You! ❤", // The title when tab is hidden | |
| evtMap = { | |
| focus: v, | |
| focusin: v, | |
| pageshow: v, |
| [ | |
| // swap the keybindings for paste and paste_and_indent | |
| { | |
| "keys": [ "super+v" ], | |
| "command": "paste_and_indent" | |
| }, { | |
| "keys": [ "super+shift+v" ], | |
| "command": "paste" | |
| }, |
| Route::get('export', function() { | |
| $posts = Post::where('status', '=', 'published')->get(); | |
| foreach ($posts as $post) { | |
| $content = <<<EOD | |
| --- | |
| layout: post | |
| title: "$post->title" | |
| date: $post->created | |
| categories: blog |
| <snippet> | |
| <content><![CDATA[ | |
| <?php if(has_posts()): ?> | |
| <ul> | |
| <?php while(posts()): ?> | |
| <li> | |
| <article> | |
| <h1> | |
| <a href="<?php echo article_url(); ?>" title="<?php echo article_title(); ?>"> | |
| <?php echo article_title(); ?> |
| // jQuery to update counter when button is clicked | |
| $('#download').click(function(event) { | |
| event.preventDefault(); | |
| var redirectUrl = $(this).attr('href'); | |
| $.ajax({ | |
| url: "downloads.php", | |
| success: function(response) { | |
| if (response = 'success') { | |
| // The counter file has been updated in the background, but we should update the results on screen to tell the user | |
| var count = $('#count').html(); |
| $('input.class').blur(function() { | |
| // First grab the date entered | |
| var enteredDate = $(this).val(); | |
| // If enteredDate is only a number, add slashes at the correct points | |
| if ( enteredDate == parseFloat(enteredDate) ) { | |
| enteredDate = enteredDate.replace(/(\S{2})/g,"$1/"); | |
| enteredDate = enteredDate.replace(/\/$/,""); // removes the final slash | |
| //alert (enteredDate); | |
| } |