This file contains 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 getArticleById() { | |
return new Promise(function(resolve, reject) { | |
// Ambil nilai query parameter (?id=) | |
var urlParams = new URLSearchParams(window.location.search); | |
var idParam = urlParams.get("id"); | |
if ('caches' in window) { | |
caches.match(base_url + "article/"+idParam).then(function(response) { | |
if (response) { | |
response.json().then(function (data) { |
This file contains 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
'----- ----- ----- ----- ----- ----- ----- ----- | |
' | |
' Main function | |
' | |
'----- ----- ----- ----- ----- ----- ----- ----- | |
Sub main() | |
' Set range | |
Set planDate = Sheets("Plan").Range("A2", "A32768") | |
Set planCategory = Sheets("Plan").Range("B2", "B32768") |
This file contains 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
<embed src="http://stream.suararadio.com:8000/yogyakarta_istakalisa_stereo" type="application/x-mplayer2" width="220" height="50" autostart="0" align="center" border="0" transparentatstart="0" animationatstart="1" showcontrols="true" showaudiocontrols="1" showpositioncontrols="0" showtracker="0" autosize="0" showstatusbar="1" displaysize="false" /></embed> |
This file contains 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 | |
function enqueue_script_in_wordpress() | |
{ | |
wp_register_script( 'first-script', '/to/the/file' ); | |
wp_register_script( 'second-script', '/to/another/file' ); | |
// not like this | |
// wp_register_script( 'custom-script', '/to/the/file' ); | |
// wp_register_script( 'custom-script', '/to/another/file' ); | |
} |
This file contains 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
#perhaps your htaccess file is not being read by apache. how could?! | |
#yes, if your httpd.conf show this | |
#<Directory "/var/www/html"> | |
# Options Indexes Includes FollowSymLinks | |
# AllowOverride None | |
# Allow from all | |
# Order allow,deny | |
#</Directory> |