This file contains hidden or 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
cd\Program Files\Microsoft Office\Office16 | |
cd\Program Files (x86)\Microsoft Office\Office16 | |
cscript OSPP.VBS /sethst:kms.digiboy.ir | |
cscript OSPP.VBS /actcscript OSPP.VBS /dstatus | |
slmgr.vbs /ckms |
This file contains hidden or 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
# /etc/youtube-dl.conf | |
--proxy socks5://127.0.0.1:2086/ | |
-o %(title)s.%(ext)s | |
-f bestvideo+bestaudio | |
--merge-output-format mp4 |
This file contains hidden or 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
# https://docs.docker.com/engine/reference/commandline/ps/ | |
alias dockerps='docker ps -a --format "table {{.Names}}\t{{.Image}}\t{{.Status}}\t{{.Ports}}\t{{.Networks}}"' |
This file contains hidden or 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
# firefox format | |
192.168.2.0/24,.youtube.com,.google.com,.ytimg.com,.gstatic.com,.ggpht.com,.googleusercontent.com,.googlevideo.com, | |
# switchyomega format | |
192.168.2.0/24 | |
*.youtube.com | |
*.google.com | |
*.ytimg.com | |
*.gstatic.com | |
*.ggpht.com |
This file contains hidden or 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
def size_human(size): | |
if size < 1024: | |
size = "%ldByte" % size | |
return size | |
elif size < 1048576: | |
size = "%.2fKB" % (size / 1024.0) | |
return size | |
elif size < 1073741824: |