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
| Konfigurasi/ Configuration | |
| 1. Instal Cyberpanel | |
| 2. Akses root dengan Putty (Root access with PuTTY) | |
| sudo cat .litespeed_password | |
| 3. Buka Cyberpanel (Open Cyberpanel), Buat website dengan Virtual Host (Create a website with a Virtual Host) | |
| pilih centang : | |
| SSL |
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
| install manual UBUNTU 20.04 | |
| 1 sudo su - | |
| 2 sh <(curl https://cyberpanel.net/install.sh || wget -O - https://cyberpanel.net/install.sh) |
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
| sudo apt-get install lsphp74* |
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
| The basics principles of AMP iframe | |
| You have the ability to show an iframe within your web page by operating the amp-iframe feature. | |
| Iframes are especially handy in AMP to reveal content not provided in the primary web page context, like web content requesting user-authored JavaScript. | |
| Demands for amp-iframe | |
| - Need to be at least 600px or 75% of the 1st viewport away from the top ( other than iframes that utilize a placeholder). | |
| - May only seek resources by HTTPS, and they should certainly not be inside the identical origin just as the container until they do not identify allow-same-origin. |
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
| <?php echo strip_tags ( get_the_tag_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
| function myplugin_settings() { | |
| // Add tag metabox to page | |
| register_taxonomy_for_object_type('post_tag', 'page'); | |
| // Add category metabox to page | |
| register_taxonomy_for_object_type('category', 'page'); | |
| } | |
| // Add to the admin_init hook of your theme functions.php file | |
| add_action( 'init', 'myplugin_settings' ); |
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://line.me/ti/p/~{user-id} |
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
| Bentuk URL blob video biasanya seperti ini:blob:http://xxx.xxx/5047eabf-77e0-41f9-9d05-b6932669d712 | |
| Langkah 1. Pakai browser Google Chrome untuk membuka URL yang terdapat videonya, play videonya. | |
| Langkah 2. Buka menu developer tools. | |
| Langkah 3. Klik tab Network. | |
| Langkah 4. Masukkan m3 di Filter pencarian. Maka akan muncul file .m3u8 atau .m3u4, klik filenya dan pilih tab Headers. Copy semua path URL di Request URL, contoh:https://xxx.akamaihd.net/i/video/3/5d/caa3/35dcaa3a16a81523.mp4/master.m3u8 | |
| Langkah 5. Buka VLC player dan klik Media pilih Open Network Stream... |
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
| Header set Content-Security-Policy: upgrade-insecure-requests |
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"> | |
| document.write(new Date().getFullYear()); | |
| </script> |
NewerOlder