Skip to content

Instantly share code, notes, and snippets.

View tnhung2011's full-sized avatar
🙃
<- fuckign face

Vichy tnhung2011

🙃
<- fuckign face
View GitHub Profile
@tnhung2011
tnhung2011 / test.vb
Last active November 24, 2021 01:00 — forked from octocat/test.cs
Module Module1
Sub Main()
"There it is"
End Sub
End Module
if (game:IsLoaded() == false) then
game.Loaded:Wait()
end
local plrs = game:GetService("Players")
local connections = {}
for _,anti in pairs(plrs:GetPlayers()) do
if anti ~= plrs.LocalPlayer then
connections[anti.Name] = {}
@tnhung2011
tnhung2011 / CreateSystemVPN.ps1
Last active February 6, 2022 02:58 — forked from bytespec/CreateSystemVPN.ps1
Example PowerShell code to create a system (all users) SSTP VPN. Use a .cmd file as a launcher within a .scapp file for an almost-one-click deploying via Screen Connect's Toolbox in Backstage mode.
# (a fork of https://gist.github.com/bytespec/862c8f370d6018c76d6122ca423c16cf)
# Parameter defaults
param(
[Parameter()]
[String]$VPN_NAME = 0
[String]$SERVER = 0
[String]$SPLIT = $false
[String[]]$ROUTES = 0 # Empty or set $SPLIT to false to disable tunneling
[String]$USER = 0
@tnhung2011
tnhung2011 / README.md
Created August 30, 2023 09:15 — forked from joyrexus/README.md
Vanilla JS equivalents of jQuery methods

Sans jQuery

Events

// jQuery
$(document).ready(function() {
  // code
})