Turning http://css3playground.com/blur-filter/ into a codepen. Uses CSS blur filter with 3D transforms to fake a depth of field effect.
A Pen by Chris Ruppel on CodePen.
(async function (workflow, context) { | |
const { get } = context.libs; | |
const PRODUCT_LINE_FIELDS = { | |
lineProductBucket: "product_field12", // Product Bucket | |
lineLineTotal: "product_field1", // Line Total | |
lineOwner: "product_field1027", // Owner | |
parentId: "parent_entity_reference_id", // Parent ID | |
parentMonth: "product_field1022", // Month | |
parentYear: "product_field1023", // Year |
/**************************************************************** | |
const createNewCommunity = async (communityName, indigenousAffiliation) => { | |
try { | |
const request_variables = { | |
entity: 'community', | |
field_values: { | |
community_field0: communityName, | |
community_field2: indigenousAffiliation, | |
}, | |
"forceAsyncPostCreateProcessing": true |
/* | |
Custom Styling to improve FreeAgentCRM | |
👉 Chrome Extension | |
https://chrome.google.com/webstore/detail/user-css/okpjlejfhacmgjkmknjhadmkdbcldfcb | |
*/ | |
//Fix field entry containers & sub-containers | |
.form-container.entityForModalContainer, .form-container .form-gen-div, { |
html{ | |
body{ | |
#page-contianer{ | |
#et-boc{ | |
header{ | |
.et_builder_inner_content{ | |
}//.et_builder_inner_content | |
}//header | |
#et-main-area{ | |
#main-content{ |
Turning http://css3playground.com/blur-filter/ into a codepen. Uses CSS blur filter with 3D transforms to fake a depth of field effect.
A Pen by Chris Ruppel on CodePen.
<?php | |
/** | |
* jurchiks101_at_gmail_dot_com | |
* Can be found at http://php.net/manual/en/function.debug-backtrace.php#112238 | |
*/ | |
function generateCallTrace() | |
{ | |
$e = new Exception(); | |
$trace = explode("\n", $e->getTraceAsString()); | |
// reverse array to make steps line up chronologically |
@echo off | |
SET st2Path=C:\Program Files\Sublime Text 2\sublime_text.exe | |
rem add it for all file types | |
@reg add "HKEY_CLASSES_ROOT\*\shell\Open with Sublime Text 2" /t REG_SZ /v "" /d "Open with Sublime Text 2" /f | |
@reg add "HKEY_CLASSES_ROOT\*\shell\Open with Sublime Text 2" /t REG_EXPAND_SZ /v "Icon" /d "%st2Path%,0" /f | |
@reg add "HKEY_CLASSES_ROOT\*\shell\Open with Sublime Text 2\command" /t REG_SZ /v "" /d "%st2Path% \"%%1\"" /f | |
rem add it for folders | |
@reg add "HKEY_CLASSES_ROOT\Folder\shell\Open with Sublime Text 2" /t REG_SZ /v "" /d "Open with Sublime Text 2" /f |
<?php | |
/** | |
* @mdmitry at gmail dot com | |
* | |
*/ | |
$doc = new DOMDocument(); | |
$doc->loadHTML('<?xml encoding="UTF-8">' . $html); | |
// dirty fix |
<?php | |
function shuffle_assoc($list) { | |
if (!is_array($list)) return $list; | |
$keys = array_keys($list); | |
shuffle($keys); | |
$random = array(); | |
foreach ($keys as $key) | |
$random[$key] = $list[$key]; | |
return $random; |
<?php | |
function print_r2($val){ | |
echo '<pre>'; | |
print_r($val); | |
echo '</pre>'; | |
} | |
?> |