Skip to content

Instantly share code, notes, and snippets.

View Handsome1080P's full-sized avatar
🌴
On vacation

JohnConnor Handsome1080P

🌴
On vacation
  • CMD
  • TaiPei
View GitHub Profile
@yougg
yougg / proxy.md
Last active June 7, 2024 14:20
complete ways to set http/socks/ssh proxy environment variables

set http or socks proxy environment variables

# set http proxy
export http_proxy=http://PROXYHOST:PROXYPORT

# set http proxy with user and password
export http_proxy=http://USERNAME:PASSWORD@PROXYHOST:PROXYPORT

# set http proxy with user and password (with special characters)
# Обновление системы и пакетов
apt-get update
apt-get upgrade -y
# Установка пакетов для сборки softether
apt-get install build-essential libreadline-dev libssl-dev libncurses-dev zlib1g-dev git
# Скачивание репозитория Stable версии
git clone https://github.com/SoftEtherVPN/SoftEtherVPN_Stable.git
@ewpratten
ewpratten / hosts-yt-ads
Last active November 30, 2023 18:45
youtube ads hosts file
This project has been moved to a GitHub repository to allow Pull Requests.
See: https://github.com/Ewpratten/youtube_ad_blocklist
@musale
musale / remove.sh
Created June 20, 2017 14:46
Remove and re-install node on arch linux
sudo pacman -Rsc -n nodejs
sudo pacman -Sy nodejs
sudo pacman -Sy npm
@joshschmelzle
joshschmelzle / remove-gamebar-powershell-win10.md
Last active June 3, 2024 19:10
How to Remove the Xbox Game Bar with Powershell on Windows 10

You've probably stumbled upon this researching how to remove the Xbox Game Bar. This gist includes a few different methods you can try. Please note that some of these first options are probably not be available unless you are running an older version of Windows 10.

Uninstalling/Removing the Game Bar (old Windows 10 build GUI options)

(this is no longer an option on any recent Windows 10 build)

  1. Press Windows Key or click on the Start menu.
  2. Start typing Xbox or Game Bar, until you get the Xbox Game Bar app to appear in the results.
  3. Right-click on the app and pick Uninstall. Answer Yes to the prompt, and wait for the process to finish.
@hkato
hkato / vpnserver.service
Created March 19, 2017 19:26
Systemd Unit configuration for SoftEther VPN Server
[Unit]
Description=SoftEther VPN Server
After=network.target
[Service]
Type=forking
ExecStart=/usr/local/vpnserver/vpnserver start
ExecStop=/usr/local/vpnserver/vpnserver stop
ExecStartPost=/bin/sleep 5
ExecStartPost=/bin/bash -c "/bin/systemctl set-environment dev=$(ip addr | grep tap_ | sed 's/^.*: \(tap_.*\):.*$/\1/g')"
@novemberborn
novemberborn / howto.md
Created February 18, 2016 17:47
Creating a PKCS#12 file from a Let's Encrypt certificate
@DazWorrall
DazWorrall / interfaces
Created February 11, 2016 15:04
Interfaces file with vlans and vxlans
# This file describes the network interfaces available on your system
# and how to activate them. For more information, see interfaces(5).
source /etc/network/interfaces.d/*
# The loopback network interface
auto lo
iface lo inet loopback
# The primary network interface
@dhhdev
dhhdev / my-arch-install-cheat-sheet.md
Last active November 10, 2023 23:44
My Arch Installation Cheat Sheet, so I can remember it all.

Install Arch Linux

This is my personal setup almost every time I install Arch Linux. This is meant for me as being something I can quickly reference.

Change localkeys to my keyboard layout

In my case I have a Danish keyboard layout.