Test cases for the blog post [Encoding tic-tac-toe in 15 bits][post].
Run like this:
# Base4 test
$ cc base4.c && ./a.out
# Base3 test
$ cc base3.c && ./a.out
Test cases for the blog post [Encoding tic-tac-toe in 15 bits][post].
Run like this:
# Base4 test
$ cc base4.c && ./a.out
# Base3 test
$ cc base3.c && ./a.out
#include <stdio.h> | |
#include <stdint.h> | |
#include <stdlib.h> | |
#include <string.h> | |
#include <math.h> | |
typedef uint8_t u08; | |
typedef uint32_t u32; | |
typedef uint64_t u64; | |
typedef int32_t i32; |
# Simple Snake Game in Python 3 for Beginners | |
# By @TokyoEdTech | |
import turtle | |
import time | |
import random | |
delay = 0.1 | |
# Score |
Basic | |
===== | |
[Shift]+[Mod]+[Enter] - launch terminal. | |
[Mod]+[b] - show/hide bar. | |
[Mod]+[p] - dmenu for running programs like the x-www-browser. | |
[Mod]+[Enter] - push acive window from stack to master, or pulls last used window from stack onto master. | |
[Mod] + [j / k] - focus on next/previous window in current tag. |
################################# | |
# | |
# Backend | |
# | |
################################# | |
# Backend to use: "xrender" or "glx". | |
# GLX backend is typically much faster but depends on a sane driver. | |
backend = "glx"; |
This file is part of Whonix | |
Copyright (C) 2012 - 2014 Patrick Schleizer <adrelanos@riseup.net> | |
See the file COPYING for copying conditions. | |
**** Do NOT edit this file! **** | |
This file will show you examples you can copy and paste to /etc/tor/torrc | |
Additionally, you can read the official Tor Manual at: | |
https://www.torproject.org/docs/tor-manual.html.en |
# This is my compton configuration after a quick cleanup. (It's still none too organized; sorry about that.) | |
# With this file at ~/.config/compton.conf, I can run compton without any arguments (just plain `compton`). | |
# | |
# In the hopes that explaining my software and hardware environment might be helpful to you: | |
# | |
# I use this configuration on Ubuntu 15.10 (and have used it on previous releases); I am currently using the 352.63 ("long-lived | |
# branch") NVIDIA binary drivers, installed from the Ubuntu software repositories. I use fluxbox as my window manager; most of | |
# the other components of my desktop environment are borrowed from Xfce. | |
# | |
# My workstation at home has an i7-4930K and a GTX 970 in it, which are together more than enough to drive several 4K displays |