THIS GIST WAS MOVED TO TERMSTANDARD/COLORS REPOSITORY.
PLEASE ASK YOUR QUESTIONS OR ADD ANY SUGGESTIONS AS A REPOSITORY ISSUES OR PULL REQUESTS INSTEAD!
| # Simple: | |
| # a --> b | |
| # --> c --> d | |
| # --> d | |
| graph1 = { | |
| "a": ["b", "c", "d"], | |
| "b": [], | |
| "c": ["d"], | |
| "d": [] | |
| } |
THIS GIST WAS MOVED TO TERMSTANDARD/COLORS REPOSITORY.
PLEASE ASK YOUR QUESTIONS OR ADD ANY SUGGESTIONS AS A REPOSITORY ISSUES OR PULL REQUESTS INSTEAD!
Once in a while, you may need to cleanup resources (containers, volumes, images, networks) ...
// see: https://github.com/chadoe/docker-cleanup-volumes
$ docker volume rm $(docker volume ls -qf dangling=true)
$ docker volume ls -qf dangling=true | xargs -r docker volume rm
| #include <stdio.h> | |
| #include <stdlib.h> | |
| #include <unistd.h> | |
| #include <fcntl.h> | |
| #include <linux/input.h> | |
| #include <time.h> | |
| #include <stdint.h> | |
| int main(int argc, char* argv[]){ | |
| sleep(1); |
| #!/usr/bin/env python | |
| import sys, getopt | |
| import urllib | |
| import urlparse | |
| import base64 | |
| import mimetypes | |
| import cgi | |
| import sqlite3 | |
| import os |
| // example how to set up OpenGL core context on X11 with EGL | |
| // and use basic functionality of OpenGL 4.5 version | |
| // to compile on Ubuntu first install following packages: build-essential libx11-dev libgl-dev libegl-dev | |
| // then run: | |
| // gcc x11_opengl.c -o x11_opengl -lm -lX11 -lEGL | |
| // important extension functionality used here: | |
| // (4.3) KHR_debug: https://www.khronos.org/registry/OpenGL/extensions/KHR/KHR_debug.txt | |
| // (4.5) ARB_direct_state_access: https://www.khronos.org/registry/OpenGL/extensions/ARB/ARB_direct_state_access.txt |