Skip to content

Instantly share code, notes, and snippets.

View andreiw's full-sized avatar
💭
RISCy Business

Andrei Warkentin andreiw

💭
RISCy Business
View GitHub Profile
@andreiw
andreiw / main.c
Created July 21, 2019 18:34 — forked from mrandri19/main.c
main.c: Modern text rendering with Linux: Part 1
#include <stdio.h>
#include <freetype2/ft2build.h>
#include FT_FREETYPE_H
int main() {
FT_Library ft;
FT_Error err = FT_Init_FreeType(&ft);
if (err != 0) {
printf("Failed to initialize FreeType\n");
#!/bin/sh
pkgin -y install xorg
pkgin -y install hal
pkgin -y install fam
pkgin -y install mpv compton midori firefox mozilla-rootcerts-openssl
pkgin -y install wpa_gui sysupgrade deluge slim slim-themes uget thunderbird
pkgin -y install xfce4 xfce4-extras
cp /usr/pkg/share/examples/rc.d/hal /etc/rc.d
cp /usr/pkg/share/examples/rc.d/dbus /etc/rc.d
cp /usr/pkg/share/examples/rc.d/famd /etc/rc.d