Skip to content

Instantly share code, notes, and snippets.

View gdarquie's full-sized avatar

Gaétan gdarquie

View GitHub Profile
@FiloSottile
FiloSottile / 32.asm
Last active January 31, 2025 03:22
NASM Hello World for x86 and x86_64 Intel Mac OS X (get yourself an updated nasm with brew)
; /usr/local/bin/nasm -f macho 32.asm && ld -macosx_version_min 10.7.0 -o 32 32.o && ./32
global start
section .text
start:
push dword msg.len
push dword msg
push dword 1
mov eax, 4
@bertrandmartel
bertrandmartel / git_curl.sh
Last active March 11, 2022 16:48
Using git & curl behind a NTLM proxy
# GIT
# Download latest version of git (portable if not admin)
git.exe clone https://github.com/bertrandmartel/st7735-raspberry.git \
-c "http.proxy=http://:@proxy_url:proxy_port" \
-c "http.sslverify=false" \
-c "credential.helper="
#credential.helper prevents credentials dialog window
#sslverify=false for git host where ca is not recognized