Public source code sharing repository
Feed type is RSS / Encoding: UTF-8 / Feed contains 20 feed items / Language: n/a / Copyright: n/a
1 Bootstrap Columns Vertical Align Middle - devcodepro

Monday 12 October 2020

column column column
Monday 12 October 2020 / 12 Oct 2020 | 9:27 am EDT
2 jQuery onclick show hide div - devcodepro

Sunday 27 September 2020

Show / Hide Content $(document).ready(function() { $('.showhidelink').click(function(e) { $('.showhide').toggle(); }); });
Sunday 27 September 2020 / 27 Sep 2020 | 1:47 am EDT
3 jQuery form on change - devcodepro

Sunday 6 September 2020

/* */ $(document).ready(function(){ $("#myform").on("click", function(){ $(".myclass").fadeIn(); }); });
Sunday 6 September 2020 / 6 Sep 2020 | 6:58 am EDT
4 Find and delete folder with SSH - devcodepro

Wednesday 22 July 2020

Search: find / -type d -name myfolder Output: /home/admin/public_html/example.com/myfolder Delete: rm -rf /home/admin/public_html/example.com/myfolder
Wednesday 22 July 2020 / 22 Jul 2020 | 9:57 am EDT
5 Bootstrap 4 custom file input size - devcodepro

Tuesday 23 June 2020

Select Image $('#file').on('change',function(){ var fileName = $(this).val(); $(this).next('.custom-file-label').html(fileName); });
Tuesday 23 June 2020 / 23 Jun 2020 | 1:42 pm EDT
6 Reddit toolbar bookmarklet code - devcodepro

Tuesday 10 March 2020

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...
Tuesday 10 March 2020 / 10 Mar 2020 | 12:06 pm EDT
8 How to check PHP version on XAMPP - devcodepro

Wednesday 12 February 2020

###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...
Wednesday 12 February 2020 / 12 Feb 2020 | 9:14 am EST
9 Web fonts available on all operating systems and browsers - devcodepro

Thursday 26 December 2019

Sans-serif fonts Arial, Comic Sans, Trebuchet MS, Verdana Serif fonts Georgia, Times New Roman Monospace fonts Courier New
Thursday 26 December 2019 / 26 Dec 2019 | 8:40 am EST
10 PHP BBCode parser - devcodepro

Wednesday 11 December 2019

//[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]...
Wednesday 11 December 2019 / 11 Dec 2019 | 5:46 pm EST
11 Bootstrap Blockquote Style - devcodepro

Wednesday 2 October 2019

blockquote { width: 98%; overflow: hidden; display: block; border-left: 5px solid #b9c5ca; background-color: #e4ecef; color: #6b6868; padding: 24px; margin: 22px; font-style: oblique; }
Wednesday 2 October 2019 / 2 Oct 2019 | 1:26 pm EDT
12 WampServer - phpMyAdmin: No activity within 1440 seconds; please log in again. - devcodepro

Sunday 28 July 2019

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:...
Sunday 28 July 2019 / 28 Jul 2019 | 7:56 am EDT
13 Changing Dropdown Icon Bootstrap 4 - Font Awesome - devcodepro

Thursday 11 July 2019

.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;...
Thursday 11 July 2019 / 11 Jul 2019 | 1:30 pm EDT
14 Bootstrap 4 Modal pushing content to the left fix - devcodepro

Tuesday 18 June 2019

.modal-open { overflow: visible; } .modal-open, .modal-open .fixed-top { height: 63px; padding-left: 0!important; padding-right: 0!important; margin: 0!important; }
Tuesday 18 June 2019 / 18 Jun 2019 | 3:22 pm EDT
15 Smarty Random Color - devcodepro

Saturday 15 June 2019

randomcolor {/foreach} * ------------------------------------------------------------- */ function smarty_function_randomcolor($params, Smarty_Internal_Template $template) { $colors =...
Saturday 15 June 2019 / 15 Jun 2019 | 9:53 pm EDT
16 YouTube video thumbnails size - devcodepro

Monday 13 May 2019

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/...
Monday 13 May 2019 / 13 May 2019 | 1:24 am EDT
17 SimplePie - Smarty example - devcodepro

Friday 10 May 2019

//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...
Friday 10 May 2019 / 10 May 2019 | 8:17 am EDT
18 Exim filter example - devcodepro

Sunday 5 May 2019

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
Sunday 5 May 2019 / 5 May 2019 | 9:44 am EDT
19 Bootstrap 4 How to open external url in modal dialog - devcodepro

Thursday 2 May 2019

Launch demo modal Modal title × my-remote-file.php content Close...
Thursday 2 May 2019 / 2 May 2019 | 12:15 pm EDT
20 Highlight String Example - devcodepro

Sunday 20 January 2019

'; echo ' '; highlight_string($string); echo ' '; ?>
Sunday 20 January 2019 / 20 Jan 2019 | 3:37 pm EST