Skip to content

Instantly share code, notes, and snippets.

View harubi's full-sized avatar
🧞‍♂️
( •᷄ ࡇ•᷅ )

Ahmed Aloufi harubi

🧞‍♂️
( •᷄ ࡇ•᷅ )
View GitHub Profile
/*
This is a fix for Firefox fucked up way of loading local fonts.
This fixes the arabic SF font because "-apple-system" doesn't load Arabic fonts for some reason.
*/
@font-face {
font-family: "SF Arabic Text";
src: local(".Arabic UI Text Light");
unicode-range: U+0600-06FF, U+0750-077F;
font-weight: 300;
@harubi
harubi / dedict.c
Created September 19, 2018 08:08 — forked from josephg/0dedict.py
Apple dictionaries
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <assert.h>
#include "zlib.h"
#define CHUNK 16384
/*
40 Length of the zlib stream