Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
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
; download & install: https://autohotkey.com/ | |
; save this script with the extension ".ahk" | |
; click on the script to start it and/or set it to launch automatically. | |
#Persistent | |
SetTimer, HotCorners, 0 | |
return | |
HotCorners: | |
CoordMode, Mouse, Screen |
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
package com.example.ziro.blur | |
/** | |
* Created by ziro on 19/11/17. | |
*/ | |
import android.content.Context | |
import android.graphics.Bitmap | |
import android.graphics.Canvas | |
import android.renderscript.Allocation |
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
import os | |
import subprocess | |
domains = open('domains.txt').read().splitlines() | |
domains_ok = open('domains_ok.txt', 'w') | |
domains_fail = open('domains_fail.txt', 'w') | |
for domain in domains: |
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
# 安装Caddy: | |
wget -N --no-check-certificate https://softs.fun/Bash/caddy_install.sh && chmod +x caddy_install.sh && bash caddy_install.sh install http.filemanager | |
# 配置Caddy: | |
echo ":80 { | |
gzip | |
proxy / https://www.google.com.hk | |
}" > /usr/local/caddy/Caddyfile | |
/etc/init.d/caddy restart |
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
# 安装Caddy: | |
wget -N --no-check-certificate https://softs.fun/Bash/caddy_install.sh && chmod +x caddy_install.sh && bash caddy_install.sh install http.filemanager | |
# 配置Caddy: | |
mkdir -p /usr/local/caddy/www/file | |
echo ":80 { | |
root /usr/local/caddy/www/file | |
browse | |
timeouts none | |
gzip | |
}" > /usr/local/caddy/Caddyfile |
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
# 安装Caddy: | |
wget -N --no-check-certificate https://softs.fun/Bash/caddy_install.sh && chmod +x caddy_install.sh && bash caddy_install.sh install http.filemanager | |
# 配置Caddy: | |
mkdir -p /usr/local/caddy/www/file | |
echo ":80 { | |
root /usr/local/caddy/www/file | |
timeouts none | |
gzip | |
filemanager / /usr/local/caddy/www/file { | |
database /usr/local/caddy/filemanager.db |
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
yum -y install wget vim | |
cd /etc/yum.repos.d | |
wget https://copr.fedorainfracloud.org/coprs/librehat/shadowsocks/repo/epel-7/librehat-shadowsocks-epel-7.repo | |
yum -y install shadowsocks-libev | |
vim /etc/shadowsocks-libev/config.json | |
vim /usr/lib/systemd/system/shadowsocks-libev.service | |
#User=nobody | |
#Group=nobody |
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
########## | |
# Tweaked Win10 Initial Setup Script | |
# Primary Author: Disassembler <[email protected]> | |
# Modified by: alirobe <[email protected]> based on my personal preferences. | |
# Version: 2.6.1, 2017-08-02 | |
# Primary Author Source: https://github.com/Disassembler0/Win10-Initial-Setup-Script | |
# Tweaked Source: https://gist.github.com/alirobe/7f3b34ad89a159e6daa1/ | |
# Tweak difference: | |
# | |
# @alirobe's version is a subset focused on safely disabling telemetry, 'smart' features, and 3rd party bloat ... |
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
REM Windows Search | |
sc config WSearch start=disabled | |
REM SSDP Discovery | |
sc config SSDPSRV start=disabled | |
REM Geolocation Service | |
sc config lfsvc start=disabled | |
REM ActiveX Installer | |
sc config AXInstSV start=disabled | |
REM AllJoyn Router Service | |
sc config AJRouter start=disabled |
NewerOlder