-
Create a new issue on GitHub.
-
Drag an image into the comment field.
-
Wait for the upload process to finish.
-
Copy the URL and use it in your Markdown files on GitHub.
dhclient is the Dynamic Host Configuration Protocol (DHCP) Client one would use to allow a client to connect to a DHCP server.
$ sudo nano /etc/rc.local
#!/bin/bash
dhclient
exit 0| #!/usr/bin/env python | |
| # -*- coding: utf-8 -*- | |
| # | |
| # computes CRC of each file in current working directory (including subdirectories) | |
| # usage: python3 python-multiprocess-example.py | |
| # | |
| import sys | |
| import os | |
| import glob | |
| import zlib |
| "---- vim-plug setup ---- | |
| let vimplug_exists=expand('~/.config/nvim/autoload/plug.vim') | |
| if has('win32')&&!has('win64') | |
| let curl_exists=expand('C:\Windows\Sysnative\curl.exe') | |
| else | |
| let curl_exists=expand('curl') | |
| endif | |
| if !filereadable(vimplug_exists) | |
| if !executable(curl_exists) |
A spin-off from the mainline Minimal D3D11 series, adding two-lane instanced rendering. As before: An uncluttered Direct3D 11 setup & basic rendering primer / API familiarizer. Complete, runnable Windows application contained in a single function and laid out in a linear, step-by-step fashion. No modern C++ / OOP / obscuring cruft.
The main difference here is that the hollow cube itself is rendered using instancing (which saves a lot of vertices compared to the original, so geometry data is now small enough to be included in the source without being too much in the way), but also all trigonometry and matrix math is moved to the vertex shader, simplifying the main code (and not needing math.h).
In this case, each instance is mere