tl;dr:
- Import other repos as branches
- Move the files in the other repos into subdirectories for each project
- Rebase the other repo branches onto the master
- Merge everything into master in order
Note: placeholders are in angle brackets.
// Copyright 2024 Andy Kallmeyer <[email protected]> | |
// Model provided under the CC BY-SA 4.0 License | |
// https://creativecommons.org/licenses/by-sa/4.0/ | |
// | |
// If you would like to re-use parts of this code instead of creating a | |
// variation of the whole model, I am providing the code snippets under the | |
// MIT License https://mit-license.org | |
// | |
// If you make a pill filler from this please use the CC BY-SA 4.0 License. |
#include <sys/procctl.h> | |
#include <stdio.h> | |
#include <err.h> | |
#include <unistd.h> | |
#include <stdlib.h> | |
#include <signal.h> | |
#include <pthread.h> | |
void child_handler(int signal) { | |
printf("Child got signal: %d\n", signal); |
/*?sr/bin/env go run "$0" "$@"; exit $? #*/ | |
// This is actually not a shebang, the first line is both valid shell script and valid go code | |
// Just run: chmod +x pass.go; ./pass.go | |
package main | |
import ( | |
"bufio" | |
"crypto/sha256" | |
"encoding/base64" | |
"fmt" |
diff --git src/mumble/DirectSound.cpp src/mumble/DirectSound.cpp | |
index fb2b1d10..238fd853 100644 | |
--- src/mumble/DirectSound.cpp | |
+++ src/mumble/DirectSound.cpp | |
@@ -115,7 +115,7 @@ static BOOL CALLBACK DSEnumProc(LPGUID lpGUID, const WCHAR* lpszDesc, | |
const QList<audioDevice> DXAudioOutputRegistrar::getDeviceChoices() { | |
QList<dsDevice> qlOutput; | |
- qlOutput << dsDevice(DXAudioOutput::tr("Default DirectSound Voice Output"), DSDEVID_DefaultVoicePlayback); | |
+ qlOutput << dsDevice(DXAudioOutput::tr("Default DirectSound Voice Output"), DSDEVID_DefaultPlayback); |
" Optional plugin manager see: https://github.com/junegunn/vim-plug | |
" Do this first so we can overwrite anything it does after | |
"call plug#begin('~/.vim/plugged') | |
" Automatically source .local.vimrc files in directories you open | |
"Plug 'thinca/vim-localrc' | |
"call plug#end() | |
set title " Set terminal title | |
set mouse=a " Turn on mouse support | |
set undolevels=1000 |
[Desktop Entry] | |
Name=vim | |
Comment=Edit text files | |
Exec=vim %U | |
Terminal=true | |
Type=Application | |
MimeType=text/plain; | |
Actions=new-window;new-document; | |
Keywords=Text;Editor;Plaintext;Write; | |
Icon=gvim |
ab
a|b
. In most regex librariesa*
////////////////////////////////////////////// | |
// // | |
// MathClass: // | |
// version = 0.01 planning // | |
// modified = 08/09/2010 // | |
// license = GPL // | |
// // | |
////////////////////////////////////////////// | |
TODO: |
@echo off | |
rem Set up the Visual Studio 2013 compiler environment variables | |
call "C:\Program Files (x86)\Microsoft Visual Studio 12.0\VC\vcvarsall.bat" x64 | |
cl -c lib.cpp | |
cl runner.cpp /link user32.lib |