This file contains hidden or 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
Verifying that +bjornkuipers is my blockchain ID. https://onename.com/bjornkuipers |
This file contains hidden or 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
<IfModule mod_rewrite.c> | |
RewriteEngine on | |
# Attempt to load files from production if they're not in our local version | |
RewriteCond %{REQUEST_FILENAME} !-d | |
RewriteCond %{REQUEST_FILENAME} !-f | |
RewriteRule wp-content/uploads/(.*) http://{PROD}/wp-content/uploads/$1 [NC,L] | |
</IfModule> |
This file contains hidden or 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
function getCookieValue(key) { | |
currentcookie = document.cookie; | |
if (currentcookie.length > 0) | |
{ | |
firstidx = currentcookie.indexOf(key + "="); | |
if (firstidx != -1) | |
{ | |
firstidx = firstidx + key.length + 1; | |
lastidx = currentcookie.indexOf(";",firstidx); | |
if (lastidx == -1) |
This file contains hidden or 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
config.tx_extbase { | |
persistence { | |
classes { | |
Vendor\MyPackage\Domain\Model\Organisation { | |
mapping { | |
columns { | |
tstamp.mapOnProperty = tstamp | |
hidden.mapOnProperty = hidden | |
crdate.mapOnProperty = crdate | |
cruser_id.mapOnProperty = cruserId |
This file contains hidden or 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
# Make collapsible for layout 3 | |
tt_content.uploads { | |
10 > | |
10 = CASE | |
10 { | |
key.field = layout | |
3 = TEXT | |
3 { | |
field = header |
This file contains hidden or 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
/** | |
* For Typo3 EXT:rsaauth: Clones the password field before replacing its value. | |
* This allows password managers to save the entered password, instead of the hashed version. | |
* | |
* Load this code/file on the bottom of your page. Requires jQuery. | |
* | |
* WARNING: HTTPS is adviced when using this as the password is send clear-text as well. | |
*/ | |
if(typeof tx_rsaauth_feencrypt == 'function') { | |
var orig_tx_rsaauth_feencrypt = window.tx_rsaauth_feencrypt; |
This file contains hidden or 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
/** | |
* Return a random value from the given non-associative array | |
* | |
* @param array | |
* @returns {*} | |
*/ | |
function getRandomArrayValue(array) { | |
return array[Math.floor(Math.random() * array.length)]; | |
} |
This file contains hidden or 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
function nl2br (str, is_xhtml) { | |
var breakTag = (is_xhtml || typeof is_xhtml === 'undefined') ? '<br />' : '<br>'; | |
return (str + '').replace(/([^>\r\n]?)(\r\n|\n\r|\r|\n)/g, '$1' + breakTag + '$2'); | |
} |
This file contains hidden or 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
/** | |
* Opens a popup in the center of the screen | |
* | |
* @param url | |
* @param title | |
* @param width | |
* @param height | |
* @returns {window} | |
*/ | |
function openPopupCenter(url, title, width, height) { |
NewerOlder