| Solution | Pros | Cons |
|---|---|---|
| Apple AirTag | Can be find for cheap, zero fees | Updates only when another Apple device is nearby, easy to detect, no geofencing |
| Trackting Smart V3 | No fees, badge‑based presence | Battery‑powered, needs recharging every few months, hidden placement is awkward |
| Salind 01 (and cousins) | Wired power, shock & tamper sensors, geofencing | A monthly subscription, sus cloud servers |
Guides:
- https://stephentanner.com/restoring-grub-for-an-encrypted-lvm.html
- https://askubuntu.com/questions/719409/how-to-reinstall-grub-from-a-liveusb-if-the-partition-is-encrypted-and-there-i
- https://help.ubuntu.com/community/Grub2/Installing
cryptsetup luksOpen /dev/sdb3 home_sdb3
vgchange -ay
lvscan
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| diff --git a/src/main/cpp/level.cpp b/src/main/cpp/level.cpp | |
| index f784203..953b27a 100644 | |
| --- a/src/main/cpp/level.cpp | |
| +++ b/src/main/cpp/level.cpp | |
| @@ -30,44 +30,36 @@ using namespace log4cxx::helpers; | |
| IMPLEMENT_LOG4CXX_OBJECT_WITH_CUSTOM_CLASS(Level, LevelClass) | |
| LevelPtr Level::getOff() { | |
| - static LevelPtr level(new Level(Level::OFF_INT, LOG4CXX_STR("OFF"), 0)); | |
| - return level; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| diff --git a/src/main/include/log4cxx/helpers/simpledateformat.h b/src/main/include/log4cxx/helpers/simpledateformat.h | |
| index 9c27f68..39da173 100644 | |
| --- a/src/main/include/log4cxx/helpers/simpledateformat.h | |
| +++ b/src/main/include/log4cxx/helpers/simpledateformat.h | |
| @@ -27,10 +27,9 @@ | |
| #include <log4cxx/helpers/dateformat.h> | |
| #include <vector> | |
| +#include <locale> | |
| #include <time.h> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| perl: warning: Setting locale failed. | |
| perl: warning: Please check that your locale settings: | |
| LANGUAGE = (unset), | |
| LC_ALL = (unset), | |
| LC_CTYPE = "UTF-8", | |
| LANG = "en_US.UTF-8" | |
| are supported and installed on your system. | |
| perl: warning: Falling back to the standard locale ("C"). | |
| ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # See list of docker virtual machines on the local box | |
| $ docker-machine ls | |
| NAME ACTIVE URL STATE URL SWARM DOCKER ERRORS | |
| default * virtualbox Running tcp://192.168.99.100:2376 v1.9.1 | |
| # Note the host URL 192.168.99.100 - it will be used later! | |
| # Build an image from current folder under given image name | |
| $ docker build -t gleb/demo-app . |
This gist will drive you through creating a Docker 1.12 Swarm cluster (with Swarm mode) on AWS infrastructure.
You need a few things already prepared in order to get started. You need at least Docker 1.12 set up. I was using the stable version of Docker for mac for preparing this guide.
$ docker --version
Docker version 1.12.0, build 8eab29e
You also need Docker machine installed.