Skip to content

Instantly share code, notes, and snippets.

@thanghx
thanghx / games.txt
Last active September 29, 2025 12:37
bloxd.io
bloxdhop.io
deadshot.io
fngames.io
now.gg
replit.com
xsolla.com
www.kongregate.com
www.addictinggames.com
armorgames.com
@thanghx
thanghx / gitlab.rb
Created July 30, 2024 15:38 — forked from Erutan409/gitlab.rb
Gitlab Nginx Reverse Proxy Configuration (with Let's Encrypt SSL)
# These are fragments of the configuration that will need to be updated
# ---
## GitLab URL
##! URL on which GitLab will be reachable.
##! For more details on configuring external_url see:
##! https://docs.gitlab.com/omnibus/settings/configuration.html#configuring-the-external-url-for-gitlab
external_url 'https://gitlab.your-fqdn.com'
#external_url 'http://gitlab.internal.lan'
@thanghx
thanghx / remove_mcafee.md
Created August 9, 2021 13:37 — forked from pjobson/remove_mcafee.md
OSX McAfee Removal

Removal of McAfee from OSX

Note: This was written in 2015, it may be out of date now.

There are a lot of commands here which I use sudo if you don't know what you're doing with sudo, especially where I rm you can severely screw up your system.

There are many reasons which you would want to remove a piece of software such as McAfee, such as not wanting it to hammer your CPU during work hours which seems like primetime for a virus scan.

I intend this to be a living document, I have included suggestions from peoples' replies.

@thanghx
thanghx / disable mcafee endpoint protection.md
Last active August 9, 2021 13:40 — forked from tegansnyder/disable mcafee endpoint protection.md
Disable McAffee Endpoint Protection OSX

method 1

sudo /usr/local/McAfee/AntiMalware/VSControl stopoas

alternatively

sudo defaults write /Library/Preferences/com.mcafee.ssm.antimalware.plist OAS_Enable -bool False
sudo /usr/local/McAfee/AntiMalware/VSControl stop
sudo /usr/local/McAfee/AntiMalware/VSControl reload
@thanghx
thanghx / SplitTunnel.app
Created June 22, 2021 02:15 — forked from HunterDG/SplitTunnel.app
Mac Cisco VPN Split Tunnel AppleScript
global done
set done to 0
on idle
set status to do shell script "scutil --nc status "VPN (Cisco IPSec)" | sed -n 1p"
# do shell script "scutil --nc start "VPN (Cisco IPSec)"
if status is "Connected" then
if done is not 1 then
display notification "VPN Connected, splitting tunnel"
set gateway to do shell script "( netstat -rn | awk '/default/ {if ( index($6, \"en\") > 0 ){print $2} }' ) # gets non-VPN default gateway"

Keybase proof

I hereby claim:

  • I am thanghx on github.
  • I am thanghx (https://keybase.io/thanghx) on keybase.
  • I have a public key whose fingerprint is D9B2 5940 EB6B 1B52 A8BF 2FA5 9F52 D2E9 0408 A722

To claim this, I am signing this object:

@thanghx
thanghx / introrx.md
Created February 29, 2016 16:35 — forked from staltz/introrx.md
The introduction to Reactive Programming you've been missing