Skip to content

Instantly share code, notes, and snippets.

View benjivesterby's full-sized avatar
🧬
Always Building

Benji Vesterby benjivesterby

🧬
Always Building
View GitHub Profile
@benjivesterby
benjivesterby / gist:08f951988c7d4815b89a171789771f8c
Created August 4, 2024 15:46
Windows 7 All Online/Offline [Retail-MAK] Activation Keys
Windows 7 All Online/Offline [Retail-MAK] Activation Keys
=================================================================================
. Run "Command Prompt" as Administrator
. slmgr.vbs -ipk Product Key
. slui4
=================================================================================
Windows 7 Ultimate Retail Phone Activation Keys
RHTBY-VWY6D-QJRJ9-JGQ3X-Q2289
V77DJ-CT8WB-Y3GXT-X3FBP-6F987
JC7BV-94FD2-D86PH-XRMHR-BXKDG
@benjivesterby
benjivesterby / mac-vendor.txt
Created April 7, 2024 18:14 — forked from aallan/mac-vendor.txt
List of MAC addresses with vendors identities
000000 Officially Xerox
000001 SuperLAN-2U
000002 BBN (was internal usage only, no longer used)
000003 XEROX CORPORATION
000004 XEROX CORPORATION
000005 XEROX CORPORATION
000006 XEROX CORPORATION
000007 XEROX CORPORATION
000008 XEROX CORPORATION
000009 powerpipes?
@benjivesterby
benjivesterby / init.vim
Created January 19, 2024 17:55
minimal vim config
"source ~/.config/nvim/bv.lua
"source ~/.config/nvim/config/quickload.vim
call plug#begin('~/.vim/plugged')
Plug 'neoclide/coc.nvim', {'branch': 'release'}
Plug 'kyazdani42/nvim-web-devicons'
Plug 'morhetz/gruvbox'
Plug 'tpope/vim-fugitive'
Plug 'tpope/vim-sensible'
@benjivesterby
benjivesterby / install.sh
Last active December 3, 2023 19:44
Server Environment Installer
#!/bin/bash
wd=$(pwd)
mkdir /root/bin
apt-get update
apt-get install -y git curl
@benjivesterby
benjivesterby / cvat.sh
Last active April 10, 2024 14:30
CVAT Installer with GPU and Serverless support as well as Model Installation
#!/bin/bash
#
# Documentation
#
# This script is used to install/start/stop/restart CVAT server
# using docker-compose with nvidia-docker. Please make sure you have
# installed the nvidia driver prior to running this script as well as
# jq, curl.
#
# Usage:
@benjivesterby
benjivesterby / http_proxy.go
Created May 11, 2023 09:15 — forked from jim3ma/http_proxy.go
Register Dialer Type for HTTP&HTTPS Proxy in golang
package main
import (
"bufio"
"fmt"
"net"
"net/http"
"net/url"
"crypto/tls"
ls *.vlog | sort -r | tail -n +2 | xargs rm
watch -n 0.5 ls -sh
pip install pre-commit commitizen
pre-commit init-templatedir ~ -t pre-commit -t commit-msg
git config --global core.hooksPath ~/hooks
@benjivesterby
benjivesterby / coco.sh
Last active February 5, 2023 18:28 — forked from mkocabas/coco.sh
Download COCO dataset. Run under 'datasets' directory.
mkdir coco
cd coco
mkdir images
cd images
wget -c http://images.cocodataset.org/zips/train2017.zip
wget -c http://images.cocodataset.org/zips/val2017.zip
wget -c http://images.cocodataset.org/zips/test2017.zip
wget -c http://images.cocodataset.org/zips/unlabeled2017.zip
package bridge
import (
"context"
"fmt"
"testing"
)
func Test_ctx(t *testing.T) {
ctx, cancel := context.WithCancel(context.Background())