Skip to content

Instantly share code, notes, and snippets.

View anasfanani's full-sized avatar

Anas anasfanani

View GitHub Profile
@anasfanani
anasfanani / config.yaml
Created January 18, 2024 07:07
BFM Config
# port: 7890
# socks-port: 7891
mixed-port: 7890
redir-port: 9797
tproxy-port: 0
# rule 规则匹配
# global 全局代理(需要在GLOBAL策略组选择代理/策略)
# direct 全局直连
# 此项拥有默认值,默认为规则模式
@anasfanani
anasfanani / README.md
Last active June 2, 2024 19:54
Openclash Mod Collection

Mematikan Cek IP

echo '<!DOCTYPE html><html></html>' > /usr/lib/lua/luci/view/openclash/myip.htm

Menambahkan Clash Config Editor

curl -sL https://gist.githubusercontent.com/anasfanani/3702de995a1b2953404bec4f72cdd349/raw/config_editor.sh | sh
@anasfanani
anasfanani / README.md
Last active June 10, 2024 19:52
VSCode Portable Multi Account, Code generated by gpt

VSCode Portable Multi Account

Code generated by gpt

@anasfanani
anasfanani / README.md
Last active June 24, 2024 14:31
HTTP Ping + Mode Pesawat / Ganti IP Otomatis.

Simple http ping curl

Usage:

Usage: ./httping.sh [options...] <url>
 -ht,    --http-timeout <int>                                    HTTP Timeout (default: 2)
 -hse,   --http-status-expected <int>                            Expected HTTP response code (default: 200)
 -hmr,   --http-max-retries <int>                                HTTP Max Retries (default: 5)
 -hds,   --http-delay-success <int>                              HTTP Delay Success (default: 1)
@anasfanani
anasfanani / .bashrc
Last active October 14, 2024 23:09
Terminal Style Github Codespace
# ~/.bashrc: executed by bash(1) for non-login shells.
# see /usr/share/doc/bash/examples/startup-files (in the package bash-doc)
# for examples
# If not running interactively, don't do anything
case $- in
*i*) ;;
*) return;;
esac