Skip to content

Instantly share code, notes, and snippets.

View kirillzhosul's full-sized avatar
💭
I may be slow to respond.

Kirill Zhosul kirillzhosul

💭
I may be slow to respond.
View GitHub Profile
@lpsantil
lpsantil / boot.asm
Last active September 3, 2021 13:46
; src/boot/boot.asm
; Bootloader to load kernel, switch to 32-bit protected mode and execute kernel
[BITS 16] ; 16-bit real mode
[ORG 0x7C00] ; Loaded into memory at 0x7C00
MOV [bootDrive], DL ; Store DL (boot drive number) in memory
MOV BP, 0x9000 ; Move Base Pointer in free memory space
MOV SP, BP ; Move Stack Pointer to base of stack
@lukas-h
lukas-h / license-badges.md
Last active July 25, 2024 22:25
Markdown License Badges for your Project

Markdown License badges

Collection of License badges for your Project's README file.
This list includes the most common open source and open data licenses.
Easily copy and paste the code under the badges into your Markdown files.

Notes

  • The badges do not fully replace the license informations for your projects, they are only emblems for the README, that the user can see the License at first glance.

Translations: (No guarantee that the translations are up-to-date)

@mvadu
mvadu / grafana custom.ini
Last active November 11, 2023 18:26
nginx config for using grafana, Influxdb via reverse proxy with authentication
# The full public facing url
#root_url = %(protocol)s://%(domain)s:%(http_port)s/
root_url = http://localhost:80/grafana/
@JulianDicken
JulianDicken / generate_uuid4_string.gml
Created July 16, 2021 11:31
A UUID4 String Generator for GML
function generate_uuid4_string() {
//As per https://www.cryptosys.net/pki/uuid-rfc4122.html
//FIXME - Do this without random()/choose() calls
var _UUID = sha1_string_utf8(string(current_time) + string(date_current_datetime()) + string(random(0xFFFFFF)));
_UUID = string_set_byte_at(_UUID, 9, 0x2D)
_UUID = string_set_byte_at(_UUID, 14, 0x2D)
_UUID = string_set_byte_at(_UUID, 19, 0x2D)
_UUID = string_set_byte_at(_UUID, 24, 0x2D)
_UUID = string_delete(_UUID, 37, 4)
cурикат
абажур
аббревиатура
абвер
абитуриент
абонемент
абонент
абориген
аборт
абразив