Me:
I'm missing the 4G connection details in order to set up my Lenovo Connect SIM on Linux.
I discovered that I can't find the APN used by Lenovo Connect anywhere.
Lenovo Connect
Hi Joar,
Thank you for your email.
{ | |
"Type":"UnencryptedConfiguration", | |
"NetworkConfigurations":[ | |
{ | |
"GUID":"{%GUID_A%}", | |
"Name":"%NAME%", | |
"Type":"VPN", | |
"VPN":{ | |
"Type":"OpenVPN", | |
"Host":"%HOSTNAME%", |
# Reverse proxy for Shinken 2.0.x on Debian Wheezy | |
# Place this file under /etc/nginx/sites-available | |
# Update your server_name | |
# Don't forget to enable the config and reload nginx | |
# Enjoy ^^ | |
server { | |
# IPv4 support | |
listen 80; | |
# IPv6 support | |
listen [::]:80; |
* { | |
font-size: 12pt; | |
font-family: monospace; | |
font-weight: normal; | |
font-style: normal; | |
text-decoration: none; | |
color: black; | |
cursor: default; | |
} |
server { | |
listen 443 ssl; | |
listen [::]:443 ssl; | |
keepalive_timeout 70; | |
server_name otrs.example.com; | |
root /opt/otrs/var/httpd/htdocs; | |
index index.html; | |
# SSL |
colorscheme:dolibarr | |
bright:1 | |
cs_re:yellow,red:.*EMERG.* | |
cs_re:white,red:.*ALERT.* | |
cs_re:green,red:.*CRIT.* | |
cs_re:red:.*ERR.* | |
cs_re:white,yellow:.*WARNING.* | |
cs_re:green,yellow:.*NOTICE.* | |
cs_re:green:.*INFO.* | |
cs_re:white:.*DEBUG.* |
Me:
I'm missing the 4G connection details in order to set up my Lenovo Connect SIM on Linux.
I discovered that I can't find the APN used by Lenovo Connect anywhere.
Lenovo Connect
Hi Joar,
Thank you for your email.
expbackoff() { | |
# Exponential backoff: retries a command upon failure, scaling up the delay between retries. | |
# Example: "expbackoff my_command --with --some --args --maybe" | |
local MAX_RETRIES=${EXPBACKOFF_MAX_RETRIES:-8} # Max number of retries | |
local BASE=${EXPBACKOFF_BASE:-1} # Base value for backoff calculation | |
local MAX=${EXPBACKOFF_MAX:-300} # Max value for backoff calculation | |
local FAILURES=0 | |
while ! "$@"; do | |
FAILURES=$(( $FAILURES + 1 )) | |
if (( $FAILURES > $MAX_RETRIES )); then |
This a collection of notes and files used in my quest to create "Reboot to Windows" and "Reboot to Linux" scripts (and desktop shortcuts) for Linux and Windows respectively that automatically reboot my system and instruct rEFInd to auto-select the appropriate OS entry.
The key for achieving this is to modify the EFI Variable PreviousBoot
with GUID 36d08fa7-cf0b-42f5-8f14-68df73ed3740
, which rEFInd uses to store the last entry selected in the menu and, if using the +
default entry, will be used to select the default OS. By doing this, we trick rEFInd into booting the OS we choose without having to be physically there to press the keyboard.
[diff] | |
tool = pycharm | |
[difftool "pycharm"] | |
cmd = "/c/Program\ Files/JetBrains/PyCharm 2019.1.1/bin/pycharm" diff "$LOCAL" "$REMOTE" && echo "Press enter to continue..." && read | |
[merge] | |
tool = pycharm | |
keepBackup = false | |
[mergetool "pycharm"] | |
cmd = "/c/Program Files/JetBrains/PyCharm 2019.1.1/bin/pycharm" merge "$LOCAL" "$REMOTE" "$BASE" "$MERGED" |