Skip to content

Instantly share code, notes, and snippets.

using System;
using System.Collections.Generic;
using System.Text;
using System.Windows.Forms;
namespace YourNamespace {
class Status : StatusStrip {
string defaultResetTo;
string resetTo;
ToolStripStatusLabel label;

Keybase proof

I hereby claim:

  • I am JeremyLee on github.
  • I am jlee (https://keybase.io/jlee) on keybase.
  • I have a public key whose fingerprint is FE1D 2AF9 BE83 EB47 614D C1DA 1B4B 1D4C 5688 8F0C

To claim this, I am signing this object:

Our lives start out as clone of adam/sin-nature, which contains a single commit with the message: Add ./sin-nature.sh and ./conscience.sh. There is, by default, a pre-commit hook that calls ./conscience.sh, but after many commits to ./sins, it becomes muscle memory to override ./conscience.sh.

Jesus@Christ.God always has an open pull request. He wants to rebase us on jesus/mortify-the-flesh, and apply a patch to remove ./sins and add ./would-jesus-do-it.sh. He wants commit access to our repo, and he also wants to add a pre-commit hook that calls ./would-jesus-do-it.sh.

@peruihkxt
peruihkxt / tsheets-round-payroll-report.js
Created March 26, 2018 15:57
TSheets - Round Payroll Report
// ==UserScript==
// @name Round Payroll Report
// @namespace http://jlee.in
// @version 0.1
// @description try to take over the world!
// @author You
// @match https://jdlee.tsheets.com/
// @grant none
// ==/UserScript==
header .company-logo {
max-width: initial !important;
}
a {
color: #992136;
}
.global-nav__item .tree a.current {
color: #992136;
@peruihkxt
peruihkxt / letsencrypt-unifi.sh
Created May 5, 2018 18:39 — forked from bsodmike/letsencrypt-unifi.sh
Using LetsEncrypt With The Unifi Controller
#!/usr/bin/env bash
# Ref: https://www.reddit.com/r/Ubiquiti/comments/43v23u/using_letsencrypt_with_the_unifi_controller/
# Original: https://source.sosdg.org/brielle/lets-encrypt-scripts/raw/master/gen-unifi-cert.sh
# ---
# Modified script from here: https://github.com/FarsetLabs/letsencrypt-helper-scripts/blob/master/letsencrypt-unifi.sh
# Modified by: Brielle Bruns <bruns@2mbit.com>
# Download URL: https://source.sosdg.org/brielle/lets-encrypt-scripts
# Version: 1.3
# Last Changed: 03/21/2017
# 02/02/2016: Fixed some errors with key export/import, removed lame docker requirements
@peruihkxt
peruihkxt / PrintWifiPasswords.ps1
Created May 9, 2018 15:18
Prints Wifi passwords from a remote machine by using Powershell remoting
#Make a list with all WiFi SSID's and passwords stored locally on Windows OS.
Param (
[string] $ComputerName
)
Invoke-Command -ComputerName $ComputerName -ScriptBlock {
$output = netsh.exe wlan show profiles
$profileRows = $output | Select-String -Pattern 'All User Profile'
$profileNames = New-Object System.Collections.ArrayList
// ==UserScript==
// @name Make Freshdesk Compact
// @namespace http://tampermonkey.net/
// @version 0.5
// @description try to take over the world!
// @author You
// @match https://*.freshdesk.com/a/*
// @grant none
// @updateURL https://gist.github.com/JeremyLee/564d300617c3ce81956bb3e060a2934f/raw/MakeFreshdeskCompact.user.js
// ==/UserScript==
@peruihkxt
peruihkxt / SnipeITAssetListWarrantyLink.user.js
Last active November 21, 2022 15:21
Show Dell Warranty link beside the serial number on Snipe-IT
function ConvertFrom-FixedWidth($strings) {
# The first column is the header. We assume that columns are separated by at least two spaces.
$headerRegex = [regex] "\w+\s{2,}"
$columns = $headerRegex.Matches($strings[0]) | ForEach-Object { [pscustomobject]@{
Name = $_.Value.Trim()
Start = $_.Index
Length = $_.Length
} }
$values = @()