Skip to content

Instantly share code, notes, and snippets.

Keybase proof

I hereby claim:

  • I am joshuatee on github.
  • I am joshuatee (https://keybase.io/joshuatee) on keybase.
  • I have a public key ASB_UdaTcV6X923ln8IM3O45IsRwbOw1fekDSLfXfuHcLQo

To claim this, I am signing this object:

@joshuatee
joshuatee / Socks5.cs
Created April 16, 2020 06:41 — forked from zHaytam/Socks5.cs
A Socks5 implementation in .NET Core (C# 8)
using System;
using System.Globalization;
using System.Net;
using System.Net.Sockets;
using System.Text;
using System.Threading.Tasks;
namespace Socks
{
public static class Socks5
using System;
using System.Linq;
namespace FibonacciTest
{
public class Program
{
public static void Main()
{
// CODE CHANGES
@joshuatee
joshuatee / breachcompilation.txt
Created August 6, 2019 12:23
1.4 billion password breach compilation wordlist
wordlist created from original 41G stash via:
grep -rohP '(?<=:).*$' | uniq > breachcompilation.txt
Then, compressed with:
7z a breachcompilation.txt.7z breachcompilation.txt
Size:
#Requires -Version 6
using namespace System.Collections
using namespace System.Data.SQLite
using namespace System.IO
$ErrorActionPreference = 'Stop'
$DebugPreference = 'Continue'
Add-Type -Path $PSScriptRoot\SQLite\System.Data.SQLite.dll
@joshuatee
joshuatee / 🐙.ps1
Created October 7, 2018 14:02 — forked from IISResetMe/🐙.ps1
CthulhuShell
function 🐙 {
$name,$params = $args.Where({$_ -eq '💩'},'Until')
$null,$body = $args.Where({$_ -eq '💩'},'SkipUntil')
$params = @($params |? {$_})
$func = @"
param($(($params |% {"`${$_}"})-join','))
$(($params |% {$body = $body -replace "($([regex]::Escape($_)))",'(&$${$1})'}))
@joshuatee
joshuatee / Image.cs
Created January 29, 2018 14:46 — forked from ecnepsnai/Image.cs
Bing Image of the Day
// Bing Image of the Day for C#
// If you're using this in your project, give this gist a 'Star'!
// Made by Ian Spence with <3 in Vancouver, British Columbia, Canada
using System;
using System.Xml;
using System.Net;
public Uri GetImage() {
if (System.Net.NetworkInformation.NetworkInterface.GetIsNetworkAvailable() == false) {
@joshuatee
joshuatee / README.md
Created January 25, 2018 09:46 — forked from marfillaster/README.md
WSL Desktop Launched i3wm

WSL Desktop Launched i3wm

Requirements VcXsrv, i3wm in wsl.

The three files below must be stored in the same directory (%UserProfile%\Desktop).

  • i3.vbs - This is the entrypoint script. It runs i3.bat in the background.
  • i3.bat - Runs VcXsrv using d0.xlaunch profile then starts i3
  • d0.xlaunch - VcXsrv in "One window without titlebar" mode at DISPLAY=:0
@joshuatee
joshuatee / App.tsx
Created March 17, 2017 06:28
react-hot-loader 3 + TypeScript
import * as React from "react"
const App = () =>
<div/>
export {App as default}
@joshuatee
joshuatee / submodules.sh
Created September 18, 2016 10:05 — forked from andrezrv/submodules.sh
Using Git submodules.
# CREATE: On the root folder of a Git repository:
$ git submodule add git@bitbucket.org:nicethemes/<repo>.git location/of/submodule
# Cloning a repo that contains submodules:
$ git clone --recursive git@bitbucket.org:nicethemes/<repo>.git location/of/repo
# Or:
$ git clone git@bitbucket.org:nicethemes/<repo>.git location/of/repo
$ git submodule init
$ git submodule update