How to Create an Empty File on Ubuntu
The Easiest Command to Create an Empty File on Ubuntu Command Line CLI.
Use this snippet to create an empty file in ubuntu using the touch command. touch /var/www/html/index.html
Use this snippet to create an empty file in ubuntu using the touch command. touch /var/www/html/index.html
How to add a Custom Body Class for WordPress. It is very simple just add a small function on the functions.php page and you should be good to start adding
This is a snippet to disable Friday, Saturday, and Sunday on the JS Datepicker. <script> jQuery(document).ready(function($){ jQuery("#datepicker2").datepicker({ minDate: new Date(), dateFormat: 'dd-mm-yy', beforeShowDay: function(date) { var show = true; if(date.getDay()==6||date.getDay()==0||date.getDay()==5)
While trying to fire the camera plugin on cordova i realized the action was taking forever to fire about 30-40 seconds. I saw a bug on console and immediately started
This is a short snippet of CSS on how to put a full screen background image on your Framework7 Cordova App. .page { font-family: "centabel"; background: url("../img/fondo.jpg") no-repeat center center
This is a small snippet on how to remove all classes from matched class on jQuery. $('#builder [class*="ui-id-"]').removeClass(function(i, j) { return j.match(/ui-id-/g).join(" "); }); Full Documentation: https://stackoverflow.com/questions/17691932/jquery-remove-all-matching-classes
These are the code snippets to get started with the New Stripe JS Button. HTML <div id="card-element"> <!-- A Stripe Element will be inserted here. --> </div> <!-- Used to
This is a code snippet to select all text in a textbox with javascript. <input onClick="this.select();" value="Sample Text" /> or <input onClick="this.setSelectionRange(0, this.value.length)" value="Sample Text" />
Learn How to AutoPlay your HTML5 Video via jQuery Snippet. $("#video_player")[0].play(); or $("#video_player")[0].autoplay = true;
This is a short snippet to get started with PHP CURL. Use this to call API in GET, POST, ETC... <?php // // A very simple PHP example that sends