Skip to content

Instantly share code, notes, and snippets.


OpenSSL Base64 Encoding: Binary Safe and Portable

Herewith is an example of encoding to and from base64 using OpenSSL's C library. Code presented here is both binary safe, and portable (i.e. it should work on any Posix compliant system e.g. FreeBSD and Linux).


The MIT License (MIT)

Copyright (c) 2013 Barry Steyn

View 20-noto-cjk.conf
<?xml version="1.0"?>
<!DOCTYPE fontconfig SYSTEM "fonts.dtd">
<match target="pattern">
<test name="lang">
<test name="family">
#!/usr/bin/env python3
# Author: Ali Assaf <>
# Copyright: (C) 2010 Ali Assaf
# License: GNU General Public License <>
from itertools import product
def solve_sudoku(size, grid):
""" An efficient Sudoku solver using Algorithm X.
View GL-iNet
Index: target/linux/ar71xx/files/arch/mips/ath79/mach-tl-wr703n.c
--- target/linux/ar71xx/files/arch/mips/ath79/mach-tl-wr703n.c (revision 38494)
+++ target/linux/ar71xx/files/arch/mips/ath79/mach-tl-wr703n.c (working copy)
@@ -21,7 +21,9 @@
#include "dev-wmac.h"
#include "machtypes.h"
-#define TL_WR703N_GPIO_LED_SYSTEM 27
+#define TL_WR703N_GPIO_LED_SYSTEM 13