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
.timeline__item__icon-wrap:before { | |
content: " "; | |
display: block; | |
border-left: 4px dotted #47a0ff; | |
height: 100%; | |
position: absolute; | |
top: 0; | |
left: 50%; | |
-moz-transform: translate(-50%,0); | |
-ms-transform: translate(-50%,0); |
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 offlineFundamentals = [ | |
'./', | |
'/lien-he', | |
'/thong-tin-thanh-toan', | |
'/no-internet' | |
]; |
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> | |
if ('serviceWorker' in navigator) { | |
navigator.serviceWorker.register('/sw.js', { | |
scope: '/' | |
}); | |
} | |
window.addEventListener("load", function() { | |
if (navigator.serviceWorker.controller != null) { | |
navigator.serviceWorker.controller.postMessage({ | |
"command": "trimCache" |
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
{ | |
"short_name": "Đ.A.T", | |
"name": "Website của Tuấn", | |
"icons": [ | |
{ | |
"src": "launcher96.png", | |
"sizes": "96x96", | |
"type": "image/png" | |
}, | |
{ |
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
<link rel="manifest" href="/manifest.json"> |
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 | |
// Allow logged-in user see private posts in | |
add_action('pre_get_posts','filter_search'); | |
function filter_Search($query){ | |
if( is_admin() || ! $query->is_main_query() ) return; | |
if( current_user_can('edit_private_posts') ) { | |
$query->set('post_status',array('private','publish')); | |
} |
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 | |
TIMESTAMP=$(date +"%F-%H-%M") | |
BACKUP_DIR="/root/backup/$TIMESTAMP" | |
MYSQL_USER="root" | |
MYSQL=/usr/bin/mysql | |
MYSQL_PASSWORD=<MYSQL_PASSWORD_GO_HERE> | |
MYSQLDUMP=/usr/bin/mysqldump | |
mkdir -p "$BACKUP_DIR/sql" |
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
// Above code... | |
function wp_disable_comment_url($fields) { | |
unset($fields['url']); | |
return $fields; | |
} | |
add_filter('comment_form_default_fields', 'wp_disable_comment_url'); |
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 | |
#v=1.0 | |
SERVER_NAME= | |
TIMESTAMP=$(date +"%F-%H-%M") | |
SECONDS=0 | |
BACKUP_DIR="/root/backup/$TIMESTAMP" | |
MYSQL=/usr/bin/mysql | |
MYSQL_USER=root | |
MYSQL_PASSWORD= |
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 | |
/* Developed by Juno_okyo */ | |
/* Edited by tdtgit */ | |
// EDIT HERE | |
define('ACCESS_TOKEN', 'YOUR_ACCESS_TOKEN'); | |
// EDIT HERE | |
// ID thành viên sẽ bị bỏ qua khi quét |
OlderNewer