Skip to content

Instantly share code, notes, and snippets.

View simonfontana's full-sized avatar

Simon Fontana Oscarsson simonfontana

  • Ericsson
  • Gothenburg, Sweden
View GitHub Profile
@simonfontana
simonfontana / .golangci.yaml
Created September 29, 2023 09:45
golangci example
# config file documentation: https://golangci-lint.run/usage/configuration/
run:
concurrency: 4
tests: true
timeout: 1m
output:
# colored-line-number|line-number|json|tab|checkstyle|code-climate
@simonfontana
simonfontana / wakelock.service
Last active March 23, 2022 09:18
Lock screen after suspend with i3lock and systemd
# file /etc/systemd/system/wakelock.service
[Unit]
Description=Lock the screen on resume from suspend
Before=sleep.target suspend.target
[Service]
User=%i
Type=forking
Environment=DISPLAY=":1"

Use Xbox Wireless Controller on Ubuntu

Install blueman.

sudo apt install blueman

Install sysfsutils.