How to run sudo on WinSCP Commands
This is short example on how to run Sudo on WinSCP. 1. Go to WinSCP Profile 2. Click Edit > Advanced > SFTP sudo su -c /usr/lib/sftp-server (Your Folder Might
This is short example on how to run Sudo on WinSCP. 1. Go to WinSCP Profile 2. Click Edit > Advanced > SFTP sudo su -c /usr/lib/sftp-server (Your Folder Might
These are short snippets to insert sidebar into the front end of Wordpress website. Use it in your projects. Functions.php function my_custom_sidebar() { register_sidebar( array ( 'name' => __( 'Custom',
This is the short snippet to disable Apache Automatic on cPanel PageSpeed Optimization. <IfModule pagespeed_module> ModPagespeed off </IfModule>
How to sort by default row on DataTable.js. The number 3 is the column you would like to default the sorting. $(document).ready(function() { $('#example').DataTable( { "order": [[ 3, "desc" ]]
This is a snippet that determines the amount of records that will be outputed in the datatable.js plugin. Great plugin to make your html tables nice. $(document).ready( function () {
This is a short code snippet on how to change the select2 box height plugin. Simple CSS code. .select2-selection__rendered { line-height: 31px !important; } .select2-container .select2-selection--single { height: 35px !important;
This is a short tutorial on how to get IP Address details with API ipapi.com <?php echo file_get_contents('https://ipapi.co/8.8.8.8/json'); ?> Sample Response: { "ip": "8.8.8.8", "city": "Mountain View", "region": "California", "region_code":
This is a code snippet showing you how to align the nav items on bootstrap 4 to the right. <div id="app" class="container"> <nav class="navbar navbar-toggleable-md navbar-light bg-faded"> <button class="navbar-toggler navbar-toggler-right"
This is a nice codepen radio button i found that i used in one of my projects and i think it is nice to share. HTML <form class="form"> <h2>Is this
How to disable href for a link. <style> .disabled { pointer-events: none; cursor: default; } </style> <a href="somelink.html" class="disabled">Some link</a> You can also use JavaScript. $('.disabled').click(function(e){ e.preventDefault(); })