Skip to content

Instantly share code, notes, and snippets.

@maop
maop / tint2rc.txt
Created August 27, 2017 22:27 — forked from ututogit/tint2rc.txt
BunsenLabs Minimo tint2 config
#---------------------------------------------
# TINT2 CONFIG FILE
#---------------------------------------------
# For more information about tint2, see:
# http://code.google.com/p/tint2/wiki/Welcome
#
# For more config file examples, see the BunsenLabs Tint2 config thread:
# https://forums.bunsenlabs.org/viewtopic.php?id=254
# Background definitions
@maop
maop / commitstrip-bot.py
Created September 14, 2017 21:06
RSS to Mastodon with a Media Attachment
#!/usr/bin/python3
# rss to toot with media attachment
# CommitStrip
# by Marco Alfonso [maop.mx]
# 2017-09
import os
import feedparser #pip3 install feedparser
from mastodon import Mastodon #pip3 install Mastodon.py
### Keybase proof
I hereby claim:
* I am maop on github.
* I am maop (https://keybase.io/maop) on keybase.
* I have a public key ASA7CPlRozF12L5jZ5ZKxroKBtrDByCZe9eavLH7RHX7hwo
To claim this, I am signing this object:
@maop
maop / create-hotspot.md
Created December 8, 2019 21:58 — forked from narate/create-hotspot.md
Create Wi-Fi Hotspot on Linux using nmcli

Create a Wi-Fi hotspot on Linux using nmcli

Original post : https://unix.stackexchange.com/a/310699

nmcli con add type wifi ifname wlan0 con-name Hostspot autoconnect yes ssid Hostspot
nmcli con modify Hostspot 802-11-wireless.mode ap 802-11-wireless.band bg ipv4.method shared
nmcli con modify Hostspot wifi-sec.key-mgmt wpa-psk
nmcli con modify Hostspot wifi-sec.psk "veryveryhardpassword1234"