This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env python | |
## To allow this script to work, you must install FontForge with its Python | |
## extention. On Debian / Ubuntu, this can be done with the following command: | |
## | |
## apt install fontforge python-fontforge | |
## usage: font-convertor.py [-h] input_file output_file | |
## | |
## Converts fonts using FontForge |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
function check_obsidian_project($bytes) { | |
$HEADERS_LENGTH = 51; | |
$MIN_SECTION_SIZE = 2; | |
if (strlen($bytes) <= $HEADERS_LENGTH) { | |
return false; | |
} |
NewerOlder