Skip to content

Instantly share code, notes, and snippets.

@thatreguy
thatreguy / dockerhub-v2-api-user.sh
Last active November 8, 2019 03:10 — forked from kizbitz/dockerhub-v2-api-user.sh
Get the list of images and tags for a Docker Hub user account.
#!/bin/bash
# Example for the Docker Hub V2 API
# Returns all imagas and tags associated with a Docker Hub user account.
# Requires 'jq': https://stedolan.github.io/jq/
# set username and password
UNAME="FOO"
UPASS="BAR"
@thatreguy
thatreguy / ring0.asm
Created December 15, 2018 02:43 — forked from majioa/ring0.asm
Getting the Ring0 level for x86 processor series (guess i386, i486, and may be next generations)
;Как получить привелегию Ring 0
;Автор: The GSGR
;Иногда это нужно для доступа к портам выше $FF, таких как IDE контроллер и т.д.
;--------------------------------------------------
.386p
.model flat
.radix 16
Ring_0_CS_32 = 28