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
[Adblock Plus 2.0] | |
! Checksum: WbkBGNM5iYEg0TQ9/T7i6Q | |
! Title: 反跟踪规则 | |
! | |
! Version: 1.0.0 | |
! Homepage: https://gist.github.com/Mogeko/37e0d3c900f7298fb83f9a71afdfd565 | |
! | |
*AdTracking* | |
*analytics*tagserver* |
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
[Adblock Plus 2.0] | |
! Checksum: +XzP1Cu9BTp9UZh2gI1rxA | |
! Title: 下载站广告过滤 | |
! | |
! Version: 1.0.0 | |
! Homepage: https://gist.github.com/Mogeko/c76929b579db43cb89596c089b0ff5f2 | |
! | |
*.skycn.com/tuijianimg/* | |
*.crsky.com/ggao/* |
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
[Adblock Plus 2.0] | |
! Checksum: QIEX49x3fQniYFhv4YAx8w | |
! Title: FuckAD | |
! | |
! Version: 1.0.0 | |
! Homepage: https://gist.github.com/Mogeko/9aa1cae8cc2b6c0b31ec08b45fa47a2e | |
! | |
*.zz500.com**.00779.info* | |
*.0663.net/ad/* |
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
"config begin | |
"========================================== | |
" Pluges | |
"========================================== | |
call plug#begin('~/.vim/plugged') | |
" Theme | |
Plug 'rakr/vim-one' |
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
#!/bin/sh | |
/sbin/ifconfig -a|grep inet|grep -v 127.0.0.1|grep -v inet6|awk '{print $2}'|tr -d 'addr:' | while read ip; do python3 -m http.server 8000 --bind $ip; done |
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
@echo off | |
:ADMIN | |
openfiles >nul 2>nul ||( | |
echo Set UAC = CreateObject^("Shell.Application"^) > "%temp%\getadmin.vbs" | |
echo UAC.ShellExecute "%~s0", "", "", "runas", 1 >> "%temp%\getadmin.vbs" | |
"%temp%\getadmin.vbs" >nul 2>&1 | |
goto:eof | |
) | |
del /f /q "%temp%\getadmin.vbs" >nul 2>nul |
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
#!/bin/bash | |
BLOGREPO=$BLOGPATH/.repo/Blog | |
BLOG_POSTS=$BLOGREPO/content/posts | |
BLOG_IMAGES=$BLOGPATH/.repo/blog-images | |
NOWPATH=`pwd` | |
log() { | |
cd $BLOGREPO |
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
tap "homebrew/bundle" | |
tap "homebrew/core" | |
# Macro processing language | |
brew "m4" | |
# Bourne-Again SHell, a UNIX command interpreter | |
brew "bash" | |
# GNU binary tools for native development | |
brew "binutils" | |
# GNU File, Shell, and Text utilities | |
brew "coreutils" |
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
#================================================================= | |
# https://gist.github.com/Mogeko/64a20bc441cb43a7b26e416270c10168 | |
# https://github.com/P3TERX/aria2.conf (upstream) | |
# File name:aria2.conf | |
# Description: Aria2 config file | |
# Lisence: MIT | |
# Author: Mogeko, P3TERX | |
# Blog: https://p3terx.com for P3TERX | |
# https://mogeko.me for Mogeko | |
#================================================================= |
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
# | |
# ~/.bashrc | |
# | |
# If not running interactively, don't do anything | |
[[ $- != *i* ]] && return | |
# for setting history length see HISTSIZE and HISTFILESIZE in bash(1) | |
HISTSIZE=1000 | |
HISTFILESIZE=2000 |
OlderNewer