Skip to content

Instantly share code, notes, and snippets.

View matteosecli's full-sized avatar
💾

Matteo Seclì matteosecli

💾
View GitHub Profile
@matteosecli
matteosecli / download-vscode-server.sh
Last active July 7, 2026 23:56
Download the latest VS Code Server (official distribution)
#!/bin/sh
# Note: consider using bash with "set -euo pipefail"
set -eu
# Decide whether to install the SSH remote server (-ssh),
# the web one (-web), or both (if no argument is given).
INSTALL_SSH=1
INSTALL_WEB=1
if [ "$#" -gt 0 ]; then
@matteosecli
matteosecli / 32.asm
Created December 31, 2020 14:41 — forked from FiloSottile/32.asm
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
@matteosecli
matteosecli / svg2icns.sh
Created July 4, 2020 09:50 — forked from Canorus/svg2icns.sh
Convert SVG file to macOS icon (icns) format
#!/bin/sh -x
set -e
SIZES="
16,16x16
32,16x16@2x
32,32x32
64,32x32@2x
128,128x128