This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <!DOCTYPE html> | |
| <html> | |
| <head> | |
| <title>Dots animation</title> | |
| <style type="text/css"> | |
| *, *::before, *::after { | |
| box-sizing: border-box; | |
| } | |
| #Docspot2 { | |
| position: fixed; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| https://swiperjs.com/swiper-api | |
| https://swiperjs.com/demos |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <script type="text/javascript"> | |
| // To To Disable ctrl+c, ctrl+u | |
| jQuery(document).ready(function($){ | |
| document.oncontextmenu = document.body.oncontextmenu = function() {return false;} | |
| $(document).keydown(function(event) { | |
| var pressedKey = String.fromCharCode(event.keyCode).toLowerCase(); | |
| console.log(pressedKey); | |
| // i, c, j -> open inspect element view | |
| // ctr + u or c -> pag src | |
| // f12 - 123 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <!DOCTYPE html> | |
| <html> | |
| <head> | |
| <title></title> | |
| <!-- <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/plyr/3.6.4/plyr.min.css" integrity="sha512-bMLolM8mWTXYQSC2gQOLyDdkmodSAbbRFbDoISUCRS7mFJrP3fBHJo3YR8+2Yy9n7+iVGawVpCe6KVd/E5+TNA==" crossorigin="anonymous" /> --> | |
| <link rel="stylesheet" href="https://cdn.plyr.io/3.6.3/plyr.css" /> | |
| </head> | |
| <body> | |
| <div style="width: 500px;" class="plyr__video-embed" id="player"> | |
| <iframe width="560" height="315" src="https://www.youtube.com/embed/eVIozKR9p50" frameborder="0" allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture" allowfullscreen></iframe> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <!DOCTYPE html> | |
| <html> | |
| <head> | |
| <title></title> | |
| <link rel="stylesheet" href="https://cdn.plyr.io/3.6.3/plyr.css" /> | |
| </head> | |
| <body> | |
| <!--Add a Simple HTML5 Video tag--> | |
| <div id="container"> | |
| <video |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <!DOCTYPE html> | |
| <html> | |
| <head> | |
| <title></title> | |
| </head> | |
| <body> | |
| <div style="padding: 30px"> | |
| <style type="text/css"> | |
| .ag-format-container{width:90%;margin:0 auto} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| ********** Add A Record *********** | |
| 1.An A record with @ pointing to your server’s public IP address. | |
| 2. An A record with www pointing to your server’s public IP address. | |
| ************* check if apache installed or not ***** | |
| sudo apache2ctl configtest -> it will return not found commmand | |
| install | |
| sudo apt update | |
| sudo apt install apache2 | |
| sudo ufw app list //check firewall list |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| 1. sudo apt install apache2-utils | |
| (https://sleeplessbeastie.eu/2020/02/26/how-to-generate-password-digest-for-basic-authentication-of-http-users/) | |
| Create .htaacess file | |
| 2. htpasswd -c /home/pwww/.htpasswd jerry | |
| {Following command will creates a new file and stores a record in it for user jerry. The user is prompted for the password. If the file exists and cannot be read, or cannot be written, it is not altered and htpasswd will display a message and return an error status.} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| 1. make file of migrations | |
| php artisan make:migration create_users_table | |
| 2. with table | |
| php artisan make:migration create_users_table --create=users | |
| php artisan make:migration add_votes_to_users_table --table=users | |
| 3. up & down method | |
| public function up() | |
| { |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Master Link - https://developers.google.com/search/apis/indexing-api/v3/prereqs | |
| --------------------------- | |
| Step: 1 | |
| 1. Create project first. Give Name like Domain. (eg. example.com) | |
| 2. Enable Indexing API (https://console.developers.google.com/start/api?id=indexing.googleapis.com&credential=client_key) | |
| (They are asking for - Data (select *appilcation data*)) | |
| 2. Open the Service accounts page. If prompted, select a project. (https://console.developers.google.com/iam-admin/serviceaccounts) |