This focuses on generating the certificates for loading local virtual hosts hosted on your computer, for development only.
Do not use self-signed certificates in production ! For online certificates, use Let's Encrypt instead (tutorial).
| { | |
| "defaultProfile": "{09dc5eef-6840-4050-ae69-21e55e6a2e62}", | |
| "initialRows": 30, | |
| "initialCols": 120, | |
| "alwaysShowTabs": true, | |
| "showTerminalTitleInTitlebar": true, | |
| "experimental_showTabsInTitlebar": true, | |
| "profiles": [ | |
| { | |
| "guid": "{09dc5eef-6840-4050-ae69-21e55e6a2e62}", |
| { | |
| "defaultProfile": "{7d04ce37-c00f-43ac-ba47-992cb1393215}", | |
| "initialRows": 30, | |
| "initialCols": 120, | |
| "alwaysShowTabs": true, | |
| "showTerminalTitleInTitlebar": true, | |
| "experimental_showTabsInTitlebar": true, | |
| "requestedTheme": "dark", | |
| "profiles": [ | |
| { |
This focuses on generating the certificates for loading local virtual hosts hosted on your computer, for development only.
Do not use self-signed certificates in production ! For online certificates, use Let's Encrypt instead (tutorial).
| #NoEnv ; Recommended for performance and compatibility with future AutoHotkey releases. | |
| #InstallKeybdHook | |
| SendMode Input ; Recommended for new scripts due to its superior speed and reliability. | |
| SetWorkingDir %A_ScriptDir% ; Ensures a consistent starting directory. | |
| ; OPTIONAL: For those who use Home/End more than PgUp/PgDown, this flips their use with the Fn key. | |
| ; If you want the buttons to function as they are, add a semicolon (;) to the beginning of each line below. | |
| Home::PgUp | |
| End::PgDn | |
| PgUp::Home |
| /* | |
| * V4L2 video capture example | |
| * | |
| * This program can be used and distributed without restrictions. | |
| * | |
| * This program is provided with the V4L2 API | |
| * see http://linuxtv.org/docs.php for more information | |
| */ | |
| #include <stdio.h> |
| (Written as a way to stop forgetting these things. | |
| May be wrong sometimes, as it's just the result of my research here and there. | |
| If it helps you, give me a shout!) | |
| Ordered dithering is a technique used to reduce - deliberately! - the precision of an image. | |
| Motivation : artistic (mainly ?), color quantization --> reduce the number of color in an image | |
| ---------------------------------------------------------------- | |
| INTRODUCTION |
| Sub OpenSelectLinks() | |
| ' | |
| ' Allen, | |
| ' Open Links with Selections | |
| ' | |
| With Selection.Interior | |
| For Each Hyperlink In Selection.Hyperlinks | |
| Hyperlink.Follow NewWindow:=False, AddHistory:=True | |
| 'Hyperlink.Range.Interior.Color = vbRed ' Change Interior Color | |
| Hyperlink.Range.Font.Color = vbRed ' Change Font Color |
| /******************************************************************** | |
| * * | |
| * Curve Rasterizing Algorithm * | |
| * * | |
| ********************************************************************/ | |
| /** | |
| * @author Zingl Alois | |
| * @date 22.08.2016 | |
| * @version 1.2 |
| // MSVC apparently doesn't have C's getline | |
| // This is a poor man's implementation of it using fgets. | |
| // See the man page at | |
| // http://pubs.opengroup.org/onlinepubs/9699919799/functions/getdelim.html | |
| size_t getline(char** buf, size_t* bufLen, FILE* f) | |
| { | |
| if (buf == nullptr || bufLen == nullptr) | |
| { | |
| errno = EINVAL; | |
| return -1; |