#install of ubuntu 16.04 server on Thinkpad x220
##Disable ACPI Sleep action on LID Close
sudo nano /etc/systemd/logind.conf #change line #HandleLidSwitch=suspend HandleLidSwitch=ignore sudo restart systemd-logind
import websocket | |
import ssl | |
import json | |
import threading | |
from time import sleep | |
ws = None | |
response = None | |
header = {'X-Qlik-User: UserDirectory=QLIKLOCAL; UserId=administrator'} |
import ( | |
"crypto/rand" | |
"crypto/sha256" | |
"crypto/subtle" | |
"encoding/base64" | |
"strconv" | |
"strings" | |
"time" | |
"golang.org/x/crypto/pbkdf2" |
#install of ubuntu 16.04 server on Thinkpad x220
##Disable ACPI Sleep action on LID Close
sudo nano /etc/systemd/logind.conf #change line #HandleLidSwitch=suspend HandleLidSwitch=ignore sudo restart systemd-logind
I hereby claim:
To claim this, I am signing this object: