Error:
Warning: remote port forwarding failed for listen port 3002
Solution:
# lsof -i :3002
kill $(lsof -t -i :3002)
alias port='lsof -i '
# Usage port :3002
#ssh #error #port #forwarding #portforwarding #remote #server
Please open Telegram to view this post
VIEW IN TELEGRAM
This media is not supported in your browser
VIEW IN TELEGRAM
π₯1π1π1
Please open Telegram to view this post
VIEW IN TELEGRAM
support.mozilla.org
Install Firefox on Linux | Firefox Help
This article describes how to download and install Firefox on Linux.
Please open Telegram to view this post
VIEW IN TELEGRAM
#speech #python #recognition #model #voice #voicetotext
Please open Telegram to view this post
VIEW IN TELEGRAM
VOSK Offline Speech Recognition API
VOSK Models
Accurate speech recognition for Android, iOS, Raspberry Pi and servers with Python, Java, C#, Swift and Node.
Ubuntu & Chrome Clear DNS Cache
sudo systemctl restart systemd-resolved
sudo systemctl restart dnsmasq
chrome://net-internals/#dns
chrome://net-internals/#sockets
π₯1
Please open Telegram to view this post
VIEW IN TELEGRAM
sudo apt install golang-go
Get version:
go version
Other:
sudo apt remove golang-go
sudo apt remove --auto-remove golang-go
wget https://go.dev/dl/go1.23.2.linux-amd64.tar.gz
sudo tar -C /usr/local -xzf go1.23.2.linux-amd64.tar.gz
echo "export PATH=$PATH:/usr/local/go/bin" >> ~/.bashrc
source ~/.bashrc
go version
https://go.dev/dl/
#go #language
Please open Telegram to view this post
VIEW IN TELEGRAM
Deps:
sudo apt-get install xcb libxcb-xkb-dev x11-xkb-utils libx11-xcb-dev libxkbcommon-x11-dev
package main
import (
"fmt"
"github.com/BurntSushi/xgb"
"github.com/BurntSushi/xgb/xproto"
"github.com/go-gl/gl/v4.1-core/gl"
"github.com/go-gl/glfw/v3.3/glfw"
"github.com/go-vgo/robotgo"
hook "github.com/robotn/gohook"
"log"
"runtime"
)
func hideFromTaskbar(window *glfw.Window) {
xConn, err := xgb.NewConn()
if err != nil {
log.Fatalln("Can\\'t connect to X server:", err)
}
defer xConn.Close()
x11Window := window.GetX11Window()
root := xproto.Setup(xConn).DefaultScreen(xConn).Root
atomWmState, err := xproto.InternAtom(xConn, false, uint16(len("_NET_WM_STATE")), "_NET_WM_STATE").Reply()
if err != nil {
log.Fatalln("Can\\'t get _NET_WM_STATE:", err)
}
atomSkipTaskbar, err := xproto.InternAtom(xConn, false, uint16(len("_NET_WM_STATE_SKIP_TASKBAR")), "_NET_WM_STATE_SKIP_TASKBAR").Reply()
if err != nil {
log.Fatalln("Can\\'t get _NET_WM_STATE_SKIP_TASKBAR:", err)
}
changeState := xproto.ClientMessageEvent{
Format: 32,
Window: xproto.Window(x11Window),
Type: atomWmState.Atom,
Data: xproto.ClientMessageDataUnionData32New([]uint32{
1,
uint32(atomSkipTaskbar.Atom),
0,
0,
0,
}),
}
err = xproto.SendEventChecked(xConn, false, root, xproto.EventMaskSubstructureRedirect|xproto.EventMaskSubstructureNotify, string(changeState.Bytes())).Check()
if err != nil {
log.Fatalln("Can\\'t send event:", err)
}
}
#go #taskbar #system #window
Please open Telegram to view this post
VIEW IN TELEGRAM
Please open Telegram to view this post
VIEW IN TELEGRAM
git checkout master
Switched to branch 'master'
Your branch is behind 'origin/master' by 3 commits, and can be fast-forwarded.
(use "git pull" to update your local branch)
git checkout master 2>/dev/null
Your branch is behind 'origin/master' by 3 commits, and can be fast-forwarded.
(use "git pull" to update your local branch)
git checkout master 2>&1
Switched to branch 'master'
Your branch is behind 'origin/master' by 3 commits, and can be fast-forwarded.
(use "git pull" to update your local branch)
#git #wtf
π2