Skip to content

Instantly share code, notes, and snippets.

View billyromano's full-sized avatar

Billy Romano billyromano

View GitHub Profile
@triztian
triztian / gen-ssh-keys.md
Last active March 14, 2025 04:28
DigitalOcean Generate SSH keys

Adding SSH Keys to Droplets

How it Works

You can add SSH keys to DigitalOcean which can then be selected during the droplet create process to add the selected SSH keys under the root user.

When using SSH keys a root password will no longer be set as SSH keys will be used as the preferred method of access.

We do not manage the server after creation, so editing, adding, or removing SSH keys from the SSH interface will not affect any of the stored keys on droplets that you have created.

@lilydjwg
lilydjwg / ttc2ttf
Last active May 2, 2025 05:29
Convert .ttc to several .ttf files into the current directory
#!/usr/bin/env python3
import sys
import fontforge
def main(file):
for font in fontforge.fontsInFile(file):
f = fontforge.open(u'%s(%s)' % (file, font))
f.generate('%s.ttf' % font)