How to convert a javascript object with comments into a explanation table ? ( with RegEx )

This is the regex javascript [\s|\S](?:.)([a-z].*?):.*// --(.*?)\n php (.*?)=>.*,.*\/\/ --(.*?)(\n|$) replace with This makes this text: , enable_embed_button: 'off' // -- enable the embed button , embed_code: '' // -- embed code , skinwave_dynamicwaves: 'off' // -- dynamic scale based on volume for no spectrum wave , soundcloud_apikey: '' // -- set the sound cloud

Continue reading

How to disable eslint rules

Disable for specific page add this on top of the file /* eslint-disable */   Disable for whole project Create a file named .eslintignore and enter **/*
Convert php arguments to documentation html

Let us say you have a documented php function with arguments in this form 'display_type' => 'list',// -- "list" or "grid" or "grid-2" or "scroller" or "map" or "horizontal" 'grid_skin' => 'skin-forwall', // -- grid skin 'grid_extra_classes' => '', // -- extra classes for display grid 'tooltip_filters_show' => '', // -- select which information to

Continue reading

{"type":"main_options","images_arr":"'#ffffff'","enable_ajax":"off","soundcloud_apikey":"","bg_isparallax":"off","bg_slideshow_time":"0","bg_transition":"slidedown","site_url":"https:\/\/","theme_url":"https:\/\/\/wp-content\/themes\/qucreative\/","blur_ammount":"26","width_column":"50","width_section_bg":"","width_gap":"30","border_width":"0","border_color":"#ffffff","translate_cancel_comment":"Cancel reply","translate_leave_a_comment":"Leave a comment","translate_leave_a_comment_to":"Leave a comment to","is_customize_preview":"off","width_blur_margin":"30","gallery_w_thumbs_autoplay_videos":"off","enable_native_scrollbar":"on","content_enviroment_opacity":"30","menu_enviroment_opacity":"70"}