It's great for beginners. Then it turns into a mess.
gcloud auth login | |
gcloud container clusters get-credentials k8s-ws-6 --zone europe-west1-b --project k8s-ws-7 | |
gcloud auth configure-docker | |
kubectl version | |
kubectl get nodes | |
kubectl create namespace myname |
# Please don't even look at this horrible, write-only code | |
require 'parslet' | |
require 'pry' | |
class XComposeParser < Parslet::Parser | |
rule(:line) do | |
input.as(:input) >> spaces >> | |
match(':') >> spaces >> | |
output.as(:output) >> match['\n'].maybe |
#-------------------------- | |
# USER-SPECIFIED DATA | |
#-------------------------- | |
# Tune these parameters | |
num_classes = 2 | |
image_shape = (160, 576) | |
EPOCHS = 40 | |
BATCH_SIZE = 16 |
# ~/.XCompose | |
### Based on the en_US.UTF locale. ### | |
include "/usr/share/X11/locale/en_US.UTF-8/Compose" | |
### Populated with Kragen's additions. ### |
#!/bin/bash | |
if [[ -z $(grep dockerhost /etc/hosts) ]] | |
then | |
echo `/sbin/ip route|awk '/default/ { print $3 }'` dockerhost >> /etc/hosts | |
fi |
http://www.reedbeta.com/blog/2013/01/12/quick-and-easy-gpu-random-numbers-in-d3d11/
https://github.com/openglsuperbible/sb6code/blob/master/bin/media/shaders/ssao/ssao.fs.glsl http://math.stackexchange.com/questions/337782/pseudo-random-number-generation-on-the-gpu
http://www.trentreed.net/blog/screen-space-ambient-occlusion/
This document details extra that were needed to build the rpi cross-compiler on MSYS2. The original instructions are located on gurucodings.
This cross-compiler has been created targeting the Raspbian Wheezy OS which is based on Debian Wheezy with special support for the Raspberry PI architecture. The version that was installed on my rpi is 2014-06-20-wheezy-raspbian
.
Here the version of the various tools currently present in this version of Raspbian (Guest OS):
- gcc (Debian 4.6.3-14+rpi1) 4.6.3
- GNU ld (GNU Binutils for Debian) 2.22
#include <stdint.h> | |
#include <X11/Xlib.h> | |
#include <X11/XKBlib.h> | |
#include <GL/glx.h> | |
#include <GL/gl.h> | |
#include <dlfcn.h> | |
#include <stdio.h> | |
#include <sys/syscall.h> | |
#include <time.h> |
#include <iostream> | |
#include <functional> | |
#include <queue> | |
// These includes are for later experimentation | |
#include <thread> | |
#include <atomic> | |
std::queue<std::function<void()>> funcs; | |