Skip to content

Instantly share code, notes, and snippets.

View arfai1213's full-sized avatar
๐Ÿ˜‡

Fai LAW arfai1213

๐Ÿ˜‡
  • 16:29 (UTC +08:00)
View GitHub Profile
#!/bin/bash
# SOCKS5 endpoint (update with yours; dynamic for WSL if needed)
PROXY="socks5://proxy-endpoint:1080" # e.g., socks5://127.0.0.1:1080
# Ensure globals are unset
unset {http,https,all,HTTP,HTTPS,ALL}_proxy
# Set proxies only for this invocation (add auth if needed)
env http_proxy="$PROXY" \
https_proxy="$PROXY" \
@arfai1213
arfai1213 / wsdl.wsdl
Last active October 20, 2023 10:24
test
<?xml version="1.0" encoding="UTF-8"?>
<wsdl:definitions xmlns:wsam="http://www.w3.org/2007/05/addressing/metadata" xmlns:wsx="http://schemas.xmlsoap.org/ws/2004/09/mex" xmlns:wsa10="http://www.w3.org/2005/08/addressing" xmlns:msc="http://schemas.microsoft.com/ws/2005/12/wsdl/contract" xmlns:wsaw="http://www.w3.org/2006/05/addressing/wsdl" xmlns:wsap="http://schemas.xmlsoap.org/ws/2004/08/addressing/policy" xmlns:i0="http://ws.aramex.net/ShippingAPI/v1" xmlns:wsp="http://schemas.xmlsoap.org/ws/2004/09/policy" xmlns:wsa="http://schemas.xmlsoap.org/ws/2004/08/addressing" xmlns:tns="http://ws.aramex.net/ShippingAPI/v1/" xmlns:soap12="http://schemas.xmlsoap.org/wsdl/soap12/" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:wsu="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd" xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/" xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/" xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/" targetNamespace="http://ws.aramex.net/ShippingAPI
https://getstream.io/chat/docs/react/presence_format/
// queryChannels allows you to listen to the members of the channels that are returned
@arfai1213
arfai1213 / setup.sh
Last active July 13, 2024 08:00
My dev setup
#!/bin/bash
# Install Homebrew
/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"
# Install oh my zsh
sh -c "$(curl -fsSL https://raw.githubusercontent.com/ohmyzsh/ohmyzsh/master/tools/install.sh)"
# Container related
brew install --cask docker