- First, install
add-apt-repository
sudo apt install software-properties-common
- Then, install
certbot
sudo add-apt-repository ppa:certbot/certbot sudo apt install python-certbot-nginx
// sqlite_cpp-cli.cpp | |
// Demonstrate SQLite ADO.NET Provider with C++/CLI | |
#include "stdafx.h" | |
#using "System.Data.SQLite.dll" // put this file in the project directory | |
using namespace System; | |
using namespace System::Data::SQLite; | |
int main(array<System::String ^> ^args) |
@REM Author: Afriza N. Arief <afriza.na@gmail.com> | |
@REM ### automatically search for common JRE/JDK folder path ### | |
@echo off | |
set JAVA_CMD= | |
set JGIT_JAR= | |
set JGIT_EXT=.JAR;.SH | |
set JGIT_FILE_PATTERN=*jgit.pgm* | |
if not defined JAVA_HOME for /d %%d in ("C:\Program Files\Java\jre*") do set JAVA_HOME="%%d" |
-std=gnu89 | |
-I/lib/modules/3.0.0-16-generic/build/include/ | |
-I/lib/modules/3.0.0-16-generic/build/arch/x86/include/ | |
-D__KERNEL__ | |
-DMODULE |
Host localhost 127.0.0.1 | |
StrictHostKeyChecking no | |
UserKnownHostsFile=/dev/null |
At the time of writing (december 2018), there aren’t any up-to-date and easy to apply guides on how to switch between different MySQL version on a Mac using Homebrew . Or at least, I didn’t find any.
So I picked up a few things here and there and finally managed to connect all the pieces of the puzzle. I hope this guide can help you and the future me. If anyone knows of a better way to accomplish this, I do hope they will share their insight :)
I am using Homebrew 1.8.5. (brew -v
)
package main | |
import ( | |
"bufio" | |
"context" | |
"flag" | |
"fmt" | |
"log" | |
"os/exec" | |
"strings" |
10:14:30.816: CPU Name: Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz | |
10:14:30.816: CPU Speed: 4401.187MHz | |
10:14:30.817: Physical Cores: 4, Logical Cores: 8 | |
10:14:30.817: Physical Memory: 7847MB Total, 2158MB Free | |
10:14:30.817: Kernel Version: Linux 5.3.0-51-generic | |
10:14:30.817: Distribution: "Ubuntu" "18.04" | |
10:14:30.817: Window System: X11.0, Vendor: The X.Org Foundation, Version: 1.20.5 | |
10:14:30.818: Portable mode: false | |
10:14:30.843: OBS 25.0.8 (linux) | |
10:14:30.843: --------------------------------- |
brew install ffmpeg x264 qt5 cmake mbedtls
git clone --recursive https://github.com/obsproject/obs-studio.git
cd obs-studio
mkdir build
cd build
export CMAKE_PREFIX_PATH=/usr/local/opt/qt
Note that there are API changes in BlackMagic Design (BMD) SDK 11 onwards; so as of vlc-3.0.8, compile it with BMD SDK 10.11.4.
Also note that you need to disable UEFI Secure Boot in order to install BMD driver successfully.
Additional note: VLC may have stuttering sound when playing through DeckLink which is caused by commit 576b4da8d674d8a98dd493e9b343f1875efde047
tar -xf Blackmagic_Desktop_Video_Linux_*.tar.gz
cd Blackmagic_Desktop_Video_Linux_*/deb/x86_64/