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
#!/bin/bash | |
TOKEN="xxxxxxxxxxxxxxxxxxx" | |
ZONE_ID=2222222222222222222222222 | |
# [email protected] | |
# KEY=11111111111111111111111111 | |
# Replace with | |
# -H "X-Auth-Email: ${EMAIL}" \ | |
# -H "X-Auth-Key: ${KEY}" \ |
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
<script> | |
var zalo_acc = { | |
"0918954358" : "b2n0k5glmued", | |
}; | |
function fixzalo(link, successCallback, errorCallback) { | |
var hiddenIframe = document.querySelector("#hiddenIframe"); | |
if (!hiddenIframe) { | |
hiddenIframe = document.createElement("iframe"); | |
hiddenIframe.id = "hiddenIframe"; | |
hiddenIframe.style.display = "none"; |
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
var timeLeft = 10; // Thời gian đợi là 10 giây | |
function countdown() { | |
document.getElementById('countdown').innerHTML = 'Nội dung bạn tìm kiếm không có, website sẽ quay về trang chủ Diễn đàn phật pháp trong ' + timeLeft + 's.'; | |
timeLeft--; // Giảm thời gian đợi xuống mỗi giây | |
if (timeLeft < 0) { | |
clearTimeout(timerId); | |
window.location.href = 'https://diendanphatphap.com/diendan/'; // Chuyển hướng khi hết thời gian | |
} | |
} |
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
This is guide from Zero to Hero with FFmpeg |
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
RAR registration data | |
Thaidt | |
Unlimited User License | |
UID=1f57b5f1294338f57825 | |
64122122507825572ab1aeb1ba07ecac65f63b666162623d427353 | |
a4648678adc0418186e960cd6fc354e9db7e268f39f9b9178a7a99 | |
5ac679b4f4ed2fb58a77514c5606ea10e287886669caac7863ff5c | |
13489b7faf48aed1d0325598d890d29fc9601d6cb2efeb00d26d64 | |
1aa91c1e9e39be717d800f912b83abf02d9c3fd614ea10e2878866 | |
69caac787e3a9cd43d2df4894554e56de5573c340c10449d604464 |
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
RAR registration data | |
Thaidt | |
Unlimited User License | |
UID=1f57b5f1294338f57825 | |
64122122507825572ab1aeb1ba07ecac65f63b666162623d427353 | |
a4648678adc0418186e960cd6fc354e9db7e268f39f9b9178a7a99 | |
5ac679b4f4ed2fb58a77514c5606ea10e287886669caac7863ff5c | |
13489b7faf48aed1d0325598d890d29fc9601d6cb2efeb00d26d64 | |
1aa91c1e9e39be717d800f912b83abf02d9c3fd614ea10e2878866 | |
69caac787e3a9cd43d2df4894554e56de5573c340c10449d604464 |
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
How to add Ping Services list to WordPress? | |
Log in to your WordPress admin dashboard. | |
2. From Left sidebar click on Setting> Writing. | |
3. Copy the list I have provided below and overwrite ping list under the heading Update Service | |
4. Click on “Save Changes”. | |
`http://rpc.pingomatic.com | |
https://api.my.yahoo.com/rss/ping | |
https://bblog.com/ping.php | |
https://ping.rootblog.com/rpc.php | |
https://ping.weblogs.se/ |
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 wpartisan_sanitize_file_name( $filename ) { $sanitized_filename = remove_accents( $filename ); // Convert to ASCII | |
$invalid = array( ' ' => '-', '%20' => '-', '_' => '-', ); | |
$sanitized_filename = str_replace( array_keys( $invalid ), array_values( $invalid ), $sanitized_filename ); | |
$sanitized_filename = preg_replace('/[^A-Za-z0-9-\. ]/', '', $sanitized_filename); // Remove all non-alphanumeric except . | |
$sanitized_filename = preg_replace('/\.(?=.*\.)/', '', $sanitized_filename); // Remove all but last . | |
$sanitized_filename = preg_replace('/-+/', '-', $sanitized_filename); // Replace any more than one - in a row | |
$sanitized_filename = str_replace('-.', '.', $sanitized_filename); // Remove last - if at the end | |
$sanitized_filename = strtolower( $sanitized_filename ); // Lowercase return $sanitized_filename; | |
} | |
add_filter( 'sanitize_file_name', 'wpartisan_sanitize_file_name', 10, 1 ); |
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
#!/usr/bin/bash | |
SERVER_NAME=Folder_Google | |
TIMESTAMP=$(date +"%F") | |
BACKUP_DIR="/root/backup/$TIMESTAMP" | |
MYSQL_USER="root" #User Global Database | |
MYSQL_PASSWORD="Password" #Password Global database | |
MYSQL=/usr/bin/mysql | |
MYSQLDUMP=/usr/bin/mysqldump | |
SECONDS=0 | |
mkdir -p "$BACKUP_DIR/mysql" |
NewerOlder