Skip to content

Instantly share code, notes, and snippets.

View drushadrusha's full-sized avatar
🌴
on vacation

drusha drushadrusha

🌴
on vacation
View GitHub Profile
@drushadrusha
drushadrusha / virt-manager.sh
Created September 1, 2022 13:56
Run virt-manager in browser via GTK Broadway
#!/bin/bash
nohup /usr/bin/broadwayd :5 &> /var/log/broadway.log &
export GDK_BACKEND=broadway
export BROADWAY_DISPLAY=:5
virt-manager &
# virt-manager will be available at localhost:8085
#!/bin/bash
CYAN='\033[1;36m'
NC='\033[0m'
cd /Users/drusha/journal/
if [ "$1" = 'ls' ]; then
for filename in *; do
echo " "
@drushadrusha
drushadrusha / bb.go
Created August 14, 2019 15:53
Big Brother Telegram Notifications
package main
import (
"log"
"net/http"
"strings"
"time"
"github.com/PuerkitoBio/goquery"
)