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
outerloop: | |
for (i = 0; i < a.length; i++) { | |
for (j = 0; j < b.length; j++) { | |
console.log(a[i] + ' compare with ' + b[j]); | |
if (a[i] === b[j]) { | |
continue outerloop; | |
} | |
} | |
console.log('ERROR no match'); | |
break outerloop; |
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
=iif(FIRST(Fields!IsCompleted.Value, "Overview") = 0,"SSRS_Report_Watermark", "") | |
//SSRS_Report_Watermark = load image |
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
var diff = $(a).not(b).get(); | |
// https://stackoverflow.com/questions/41801729/finding-missing-element-in-two-array-for-javascript |
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
-moz-appearance: none; | |
-webkit-appearance: none; | |
appearance: none; |
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
<script>document.write((new Date()).getFullYear());</script> |
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
// Add to lib file (example ab-design.at) | |
lib.currentPageId = TEXT | |
lib.currentPageId.data = TSFE:id | |
<f:if condition="{f:cObject(typoscriptObjectPath:'lib.currentPageId')} == 55"> | |
<f:then> | |
// something | |
</f:then> <f:else> | |
// something |
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
Logger.Error(this.GetType(), ex.Message, ex); |
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
var_dump($content); |
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
styles.content.textmedia.maxW | |
in constants.ts file |
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.php | |
// option page | |
add_action('admin_menu', 'option_page_create'); | |
function option_page_create() { | |
$page_title = 'Theme Option'; | |
$menu_title = 'Theme Option'; | |
$capability = 'edit_posts'; | |
$menu_slug = 'ae_theme_option'; | |
$function = 'ae_theme_option_display'; |