Source: http://willandorla.com/will/2011/01/convert-folder-into-git-submodule/
$ git clone --no-hardlinks original-repo copied-repo
Source: http://willandorla.com/will/2011/01/convert-folder-into-git-submodule/
$ git clone --no-hardlinks original-repo copied-repo
openssl rsa -in ~/.ssh/id_rsa -outform pem > id_rsa.pem | |
chmod 600 id_rsa.pem |
#include <tuple> | |
template <typename T> class enumerate { | |
struct iterator { | |
using iter_type = decltype(std::declval<T>().begin()); | |
private: | |
friend class enumerate; | |
iterator(const std::size_t &i, const iter_type &iter) | |
: i_(i), iter_(iter) {} |
#include <condition_variable> | |
#include <functional> | |
#include <memory> | |
#include <shared_mutex> | |
#include <thread> | |
#include <chrono> | |
template <class Rep, class Period> class Timer { | |
public: | |
using Callback = std::function<void()>; |
When following this guide on a host not capable of native arm64 KVM, replace -M virt -cpu host -accel kvm
with -M virt,virtualization=on -cpu max
.
The reason for virtualization=on
is that the Windows bootloader does an smc #0
PSCI call, but without EL2, QEMU's TCG does not handle those because PSCI is in HVC mode and such that instruction is treated as undefined. With KVM enabled, smc #0
is handled properly.
Workaround in QEMU for using TCG without virtualization=on
:
diff --git a/hw/arm/virt.c b/hw/arm/virt.c
index b871350856..de11ff51d1 100644
--- a/hw/arm/virt.c
GET https://s01.oss.sonatype.org/service/local/staging/profile_repositories | |
Accept: application/xml | |
Authorization: basic {{basic}} | |
### | |
POST https://s01.oss.sonatype.org/service/local/staging/bulk/close | |
Accept: application/json | |
Content-Type: application/json | |
Authorization: basic {{basic}} |