Skip to content

Instantly share code, notes, and snippets.

View WillDawnlll's full-sized avatar

Dreaming4Morning WillDawnlll

View GitHub Profile
@skywind3000
skywind3000 / vimtweak2.vim
Last active June 17, 2023 02:13
Pure python + vimscript implementation of vimtweak (set gvim window transparency on windows)
#include <stdio.h>
@ECHO OFF
SETLOCAL
ECHO ASLR Enable / Diable Batch Script - Please run as admin
set /p Choice=Want to Enable or Disable ASLR? (e or d):%=%
if "%Choice%"=="e" goto :ENABLE
if "%Choice%"=="d" goto :DISABLE
:ENABLE
@Ferdi265
Ferdi265 / anews.py
Last active September 14, 2022 04:02
anews - Arch Linux news python script
#!/usr/bin/env python3
import os
import sys
import time
import termcolor
import feedparser
# Usage:
# anews [number of headlines (optional)]
# e.g. "anews 6" or "anews"
@jasdeepkhalsa
jasdeepkhalsa / socks.txt
Last active January 22, 2025 22:00
Configuring a SOCKS proxy server in Chrome
From: http://www.chromium.org/developers/design-documents/network-stack/socks-proxy
To configure chrome to proxy traffic through the SOCKS v5 proxy server myproxy:8080, launch chrome with these two command-line flags:
--proxy-server="socks5://myproxy:8080"
--host-resolver-rules="MAP * 0.0.0.0 , EXCLUDE myproxy"
The first thing to check when debugging is look at the Proxy tab on about:net-internals, and verify what the effective proxy settings are:
chrome://net-internals/#proxy