Skip to content

Instantly share code, notes, and snippets.

@peschu123
peschu123 / Keybase.md
Created October 6, 2017 01:10
Keybase proof

Keybase proof

I hereby claim:

  • I am peschu123 on github.
  • I am peschu (https://keybase.io/peschu) on keybase.
  • I have a public key ASCw5JqxqO684p-Yk57IroFoXjwvIYOTRWAx_v2VBzlArgo

To claim this, I am signing this object:

#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

@peschu123
peschu123 / user_password_django_pbkdf2_sha256.go
Created March 13, 2020 21:45 — forked from mununki/user_password_django_pbkdf2_sha256.go
[Go] Implementation Django default password hashing PBKDF2_SHA256 with Go
import (
"crypto/rand"
"crypto/sha256"
"crypto/subtle"
"encoding/base64"
"strconv"
"strings"
"time"
"golang.org/x/crypto/pbkdf2"
@peschu123
peschu123 / qespy.py
Created June 29, 2021 13:58 — forked from clintcarr/qespy.py
Python QES API
import websocket
import ssl
import json
import threading
from time import sleep
ws = None
response = None
header = {'X-Qlik-User: UserDirectory=QLIKLOCAL; UserId=administrator'}