devcodepro Public source code sharing repository https://devcodepro.com Bootstrap Columns Vertical Align Middle - devcodepro column column column https://devcodepro.com/view/94/92/Bootstrap-Columns-Vertical-Align-Middle https://devcodepro.com/view/94/92/Bootstrap-Columns-Vertical-Align-Middle Mon, 12 Oct 2020 13:27:34 GMT jQuery onclick show hide div - devcodepro Show / Hide Content $(document).ready(function() { $('.showhidelink').click(function(e) { $('.showhide').toggle(); }); }); https://devcodepro.com/view/93/92/jQuery-onclick-show-hide-div https://devcodepro.com/view/93/92/jQuery-onclick-show-hide-div Sun, 27 Sep 2020 05:47:13 GMT jQuery form on change - devcodepro /* */ $(document).ready(function(){ $("#myform").on("click", function(){ $(".myclass").fadeIn(); }); }); https://devcodepro.com/view/92/92/jQuery-form-on-change- https://devcodepro.com/view/92/92/jQuery-form-on-change- Sun, 6 Sep 2020 10:58:41 GMT Find and delete folder with SSH - devcodepro Search: find / -type d -name myfolder Output: /home/admin/public_html/example.com/myfolder Delete: rm -rf /home/admin/public_html/example.com/myfolder https://devcodepro.com/view/91/1/Find-and-delete-folder-with-SSH https://devcodepro.com/view/91/1/Find-and-delete-folder-with-SSH Wed, 22 Jul 2020 13:57:24 GMT Bootstrap 4 custom file input size - devcodepro Select Image $('#file').on('change',function(){ var fileName = $(this).val(); $(this).next('.custom-file-label').html(fileName); }); https://devcodepro.com/view/90/1/Bootstrap-4-custom-file-input-size https://devcodepro.com/view/90/1/Bootstrap-4-custom-file-input-size Tue, 23 Jun 2020 17:42:06 GMT Reddit toolbar bookmarklet code - devcodepro javascript:(function(){f='https://www.reddit.com/submit?url='+encodeURIComponent(window.location.href)+'&title='+encodeURIComponent(document.title);a=function(){if(!window.open(f+'noui=1&jump=doclose','enter','location=yes,links=no,scrollbars=n... https://devcodepro.com/view/89/92/Reddit-toolbar-bookmarklet-code https://devcodepro.com/view/89/92/Reddit-toolbar-bookmarklet-code Tue, 10 Mar 2020 16:06:17 GMT fwrite - Write new line in text file - devcodepro https://devcodepro.com/view/88/92/fwrite-Write-new-line-in-text-file https://devcodepro.com/view/88/92/fwrite-Write-new-line-in-text-file Sun, 8 Mar 2020 06:58:05 GMT How to check PHP version on XAMPP - devcodepro ###Option 1### Open C:\xampp\readme.txt + PHP 7.4.1 (VC15 X86 64bit thread safe) + PEAR + Apache 2.4.41 + MariaDB 10.4.11 + phpMyAdmin 5.0.1 + Tomcat 7.0.99 + XAMPP Control Panel Version 3.2.4. + OpenSSL 1.1.0g + ADOdb 518a ###Option 2### Create a php file phpinfo.php... https://devcodepro.com/view/87/87/How-to-check-PHP-version-on-XAMPP https://devcodepro.com/view/87/87/How-to-check-PHP-version-on-XAMPP Wed, 12 Feb 2020 14:14:06 GMT Web fonts available on all operating systems and browsers - devcodepro Sans-serif fonts Arial, Comic Sans, Trebuchet MS, Verdana Serif fonts Georgia, Times New Roman Monospace fonts Courier New https://devcodepro.com/view/86/87/Web-fonts-available-on-all-operating-systems-and-browsers https://devcodepro.com/view/86/87/Web-fonts-available-on-all-operating-systems-and-browsers Thu, 26 Dec 2019 13:40:52 GMT PHP BBCode parser - devcodepro //[color=#BB0000]Font color example[/color] //[size=24]Font size example[/size] //[b]Bold text[/b] //[i]Italic text[/i] //[u]Underlined text[/u] //[s]Text with a strikethrough[/s] //[small]Small defines smaller text[/small] //[align=right]Align right example[/align]... https://devcodepro.com/view/85/87/PHP-BBCode-parser https://devcodepro.com/view/85/87/PHP-BBCode-parser Wed, 11 Dec 2019 22:46:24 GMT Bootstrap Blockquote Style - devcodepro blockquote { width: 98%; overflow: hidden; display: block; border-left: 5px solid #b9c5ca; background-color: #e4ecef; color: #6b6868; padding: 24px; margin: 22px; font-style: oblique; } https://devcodepro.com/view/84/84/Bootstrap-Blockquote-Style https://devcodepro.com/view/84/84/Bootstrap-Blockquote-Style Wed, 2 Oct 2019 17:26:51 GMT WampServer - phpMyAdmin: No activity within 1440 seconds; please log in again. - devcodepro C:/wamp/apps/phpmyadmin/libraries/config.default.php Replace this line of code: $cfg['LoginCookieValidity'] = 1440; With this line of code: $cfg['LoginCookieValidity'] = 3600; C:/wamp/bin/php/phpVER/php.ini Replace this line of code:... https://devcodepro.com/view/83/7/WampServer-phpMyAdmin-No-activity-within-1440-seconds;-please-log-in-again- https://devcodepro.com/view/83/7/WampServer-phpMyAdmin-No-activity-within-1440-seconds;-please-log-in-again- Sun, 28 Jul 2019 11:56:24 GMT Changing Dropdown Icon Bootstrap 4 - Font Awesome - devcodepro .dropdown-toggle::after{ display: inline-block; font: normal normal normal 14px/1 FontAwesome; font-size: inherit; text-rendering: auto; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; content:"\f078"; border-top: 0;... https://devcodepro.com/view/82/76/Changing-Dropdown-Icon-Bootstrap-4-Font-Awesome https://devcodepro.com/view/82/76/Changing-Dropdown-Icon-Bootstrap-4-Font-Awesome Thu, 11 Jul 2019 17:30:34 GMT Bootstrap 4 Modal pushing content to the left fix - devcodepro .modal-open { overflow: visible; } .modal-open, .modal-open .fixed-top { height: 63px; padding-left: 0!important; padding-right: 0!important; margin: 0!important; } https://devcodepro.com/view/81/7/Bootstrap-4-Modal-pushing-content-to-the-left-fix https://devcodepro.com/view/81/7/Bootstrap-4-Modal-pushing-content-to-the-left-fix Tue, 18 Jun 2019 19:22:14 GMT Smarty Random Color - devcodepro randomcolor {/foreach} * ------------------------------------------------------------- */ function smarty_function_randomcolor($params, Smarty_Internal_Template $template) { $colors =... https://devcodepro.com/view/80/8/Smarty-Random-Color https://devcodepro.com/view/80/8/Smarty-Random-Color Sun, 16 Jun 2019 01:53:29 GMT YouTube video thumbnails size - devcodepro https://img.youtube.com/vi/ /maxresdefault.jpg 1280 x 720 https://img.youtube.com/vi/ /sddefault.jpg 640 x 480 https://img.youtube.com/vi/ /hqdefault.jpg 480 x 360 https://img.youtube.com/vi/ /mqdefault.jpg 320 x 180 https://img.youtube.com/vi/... https://devcodepro.com/view/79/76/YouTube-video-thumbnails-size https://devcodepro.com/view/79/76/YouTube-video-thumbnails-size Mon, 13 May 2019 05:24:07 GMT SimplePie - Smarty example - devcodepro //PHP File require_once ('autoloader.php'); $feed = new SimplePie(); $feed->set_feed_url('http://feeds.feedburner.com/TechCrunch/'); $feed->init(); $feed->handle_content_type(); if ($feed->error()) { echo $feed->error(); } foreach... https://devcodepro.com/view/78/76/SimplePie-Smarty-example https://devcodepro.com/view/78/76/SimplePie-Smarty-example Fri, 10 May 2019 12:17:22 GMT Exim filter example - devcodepro if $message_body: contains "Something you dont want" then fail text "Your mail is not welcome." seen finish endif if $message_body: contains "Something you dont want" or $message_body: contains "Also I dont want this" then fail endif https://devcodepro.com/view/77/76/Exim-filter-example https://devcodepro.com/view/77/76/Exim-filter-example Sun, 5 May 2019 13:44:43 GMT Bootstrap 4 How to open external url in modal dialog - devcodepro Launch demo modal Modal title × my-remote-file.php content Close... https://devcodepro.com/view/76/76/Bootstrap-4-How-to-open-external-url-in-modal-dialog https://devcodepro.com/view/76/76/Bootstrap-4-How-to-open-external-url-in-modal-dialog Thu, 2 May 2019 16:15:11 GMT Highlight String Example - devcodepro '; echo ' '; highlight_string($string); echo ' '; ?> https://devcodepro.com/view/75/62/Highlight-String-Example https://devcodepro.com/view/75/62/Highlight-String-Example Sun, 20 Jan 2019 20:37:34 GMT