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
Online kms host address: | |
-------- | |
kms.digiboy.ir | |
54.223.212.31 | |
kms.cnlic.com | |
kms.chinancce.com | |
kms.ddns.net | |
franklv.ddns.net | |
k.zpale.com | |
m.zpale.com |
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
# Download from | |
# http://security.debian.org/debian-security/pool/updates/main/c/chromium-browser/chromium-browser_60.0.3112.78-1~deb9u1.debian.tar.xz | |
# API keys assigned to Debian by Google for access to their services like sync and gmail. | |
# *nix | |
export GOOGLE_API_KEY="AIzaSyCkfPOPZXDKNn8hhgu3JrA62wIgC93d44k" | |
export GOOGLE_DEFAULT_CLIENT_ID="811574891467.apps.googleusercontent.com" | |
export GOOGLE_DEFAULT_CLIENT_SECRET="kdloedMFGdGla2P1zacGjAQh" | |
# OSX |
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
## Print nickname for git/hg/bzr/svn version control in CWD | |
## Optional $1 of format string for printf, default "(%s) " | |
function be_get_branch { | |
local dir="$PWD" | |
local vcs | |
local nick | |
while [[ "$dir" != "/" ]]; do | |
for vcs in git hg svn bzr; do | |
if [[ -d "$dir/.$vcs" ]] && hash "$vcs" &>/dev/null; then |
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/python3 | |
from pathlib import Path | |
from threading import Timer | |
cpu_temp_file = "/sys/class/thermal/thermal_zone0/temp" | |
duty_cycle_file = "/sys/class/pwm/pwmchip0/pwm0/duty_cycle" | |
temp_wall = 65000 | |
lowest_fan_speed = 3000 | |
def read_cpu_temp(): |