wget https://docs.broadcom.com/docs-and-downloads/raid-controllers/raid-controllers-common-files/8-07-14_MegaCLI.zipunzip 8-07-14_MegaCLI.zip| // MySQL to Google Spreadsheet By Pradeep Bheron | |
| // Support and contact at pradeepbheron.com | |
| function myMySQLFetchData() { | |
| var conn = Jdbc.getConnection('jdbc:mysql://127.0.0.1:3306/employee_db', 'username', 'pass'); // Change it as per your database credentials | |
| var stmt = conn.createStatement(); | |
| var start = new Date(); // Get script starting time | |
| ## Backup the current vps 备份当前vps | |
| 1. Clean Arch system 清理系统 | |
| pacman -Scc | |
| 2. Create an excluded file to exclude certain dirs 建立一个需要排除的目录的文件,这些文件不必要备份,新系统会自动生成 | |
| cat /root/backup/exclude.txt | |
| /tmp/* | |
| /root/backup/* | |
| /proc | |
| /dev |
| #!/usr/bin/env python | |
| #-*- coding: utf-8 -*- | |
| ''' | |
| Copyleft (c) 2016 breakwa11 | |
| https://github.com/breakwa11/shadowsocks-rss | |
| ''' | |
| import logging | |
| import socket |
| package main | |
| import ( | |
| "bufio" | |
| "flag" | |
| "io" | |
| "log" | |
| "net" | |
| "net/http" | |
| "os" |