Skip to content

Instantly share code, notes, and snippets.

Feb 28 07:44:19 pve kernel: BUG: unable to handle page fault for address: ffffffff8e88a940
Feb 28 07:44:19 pve kernel: #PF: supervisor write access in kernel mode
Feb 28 07:44:19 pve kernel: #PF: error_code(0x0002) - not-present page
Feb 28 07:44:19 pve kernel: PGD 6d8415067 P4D 6d8415067 PUD 6d8416063 PMD 10eb8a063 PTE 800ffff927775062
Feb 28 07:44:19 pve kernel: Oops: 0002 [#1] SMP PTI
@DenisMir
DenisMir / php-version.sh
Last active April 19, 2018 12:43 — forked from rhukster/sphp.sh
#!/bin/bash
# Creator: Phil Cook
# Email: [email protected]
# Twitter: @p_cook
# Modified by Denis Mir @ Communiacs
brew_prefix=$(brew --prefix | sed 's#/#\\\/#g')
brew_array=("5.6","7.0","7.1","7.2")
php_array=("[email protected]" "[email protected]" "[email protected]" "[email protected]")
valet_support_php_version_array=("[email protected]" "[email protected]" "[email protected]" "[email protected]")
@DenisMir
DenisMir / configuration.yaml
Last active February 12, 2024 10:54
TYPO3 ext_form custom form element configuration including validators
FirstName:
__inheritances:
10: 'TYPO3.CMS.Form.prototypes.standard.formElementsDefinition.Text'
renderingOptions:
templateName: 'Text'
label: 'Custom First Name'
defaultValue: ''
properties:
fluidAdditionalAttributes:
placeholder: 'Insert custom first name'
page.headerData.10 = FILE
page.headerData.10 {
file = fileadmin/some.js
stdWrap.hash = md5
stdWrap.wrap = <script src="/fileadmin/some.js?|" async></script>
}
#!/bin/bash
#########################################################
mgUSERNAME="MailGun Username"
mgPASSWORD="COMPLEX PASSWORD"
testEmail="[email protected]"
#########################################################
echo "Installing this agent may be dangerous, make sure this is the correct server!"
@DenisMir
DenisMir / test.scss
Created December 10, 2014 09:25
Sassdoc @see annotation
/**
* Test
*
* @author Denis Mir
**/
/**
* Reference
*
* @type Map
@DenisMir
DenisMir / index.js
Last active August 29, 2015 14:10
Ghost Frontend HTTP Basic Auth
var express,
ghost,
app,
basicAuth,
path;
// Proceed with startup
express = require('express');
ghost = require('ghost');
basicAuth = require('basic-auth-connect');
<?php
if (!defined('TYPO3_MODE')) {
die ('Access denied.');
}
TYPO3\CMS\Core\Utility\ExtensionManagementUtility::addStaticFile($_EXTKEY, 'Configuration/TypoScript', 'Master');
Tx_Flux_Core::registerProviderExtensionKey('<extension name>', 'Page');
Tx_Flux_Core::registerProviderExtensionKey('<extension name>', 'Content');
plugin.tx_<extension name>.view {
templateRootPath = {$plugin.tx_<extension name>.view.templateRootPath}
partialRootPath = {$plugin.tx_<extension name>.view.partialRootPath}
layoutRootPath = {$plugin.tx_<extension name>.view.layoutRootPath}
}
@DenisMir
DenisMir / gist:44ac778fef949702ab30
Created October 2, 2014 13:17
Custom Fluid Content Element - Layout
<f:layout name="Content" />
<f:render "Main" />