This file contains 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
/* | |
Script to download all google fonts and name them with FVD-based filenames | |
- e.g. Rock_Salt.n4.ttf, Open_Sans.i7.ttf | |
*/ | |
var https = require('https'); | |
var http = require('http'); | |
var fs = require('fs'); | |
var async = require('async'); | |
var key = 'XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX'; // google fonts api server-only key |
This file contains 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
#include <malloc.h> | |
#include <string.h> | |
#include <stdio.h> | |
#define for_each(i, list) \ | |
for(i = list; \ | |
i != NULL; \ | |
i = i->next) | |
struct lista { |