This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package main | |
import ( | |
"bytes" | |
_ "embed" | |
"fmt" | |
"io" | |
"log" | |
"mime/multipart" | |
"net/http" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// IRC text-to-speech server | |
// needs ffmpeg and piper-tts (https://github.com/rhasspy/piper) | |
// | |
// Example stream: | |
// https://ugjka.net/irc-radio/ | |
// mpv https://ugjka.net/ircradio | |
// mpg123 https://ugjka.net/ircradio | |
// | |
// configuration? change the constants and build | |
package main |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package main | |
import ( | |
"bytes" | |
"fmt" | |
"log" | |
"os/exec" | |
"strings" | |
"syscall" | |
"time" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// ==UserScript== | |
// @name Facebook Mobile on Desktop | |
// @namespace http://tampermonkey.net/ | |
// @version 0.3 | |
// @description Enhancments for FB mobile on Desktop! | |
// @author https://github.com/ugjka/ | |
// @match https://m.facebook.com/* | |
// @grant none | |
// ==/UserScript== |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// add this code to the onCreate method of your MainActivity.java File | |
String url ="URL" ; // Replace URL with your website address like this "http://google.com" | |
WebView view = (WebView) this.findViewById(R.id.webView); | |
view.getSettings().setJavaScriptEnabled(true); | |
view.loadUrl(url); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package main | |
import ( | |
"flag" | |
"fmt" | |
"io" | |
"log" | |
"net" | |
"net/http" | |
"os" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Section "InputClass" | |
Identifier "system-keyboard" | |
MatchIsKeyboard "on" | |
Option "XkbLayout" "us,lv,lv,ru" | |
#Option "XkbModel" "pc104" | |
Option "XkbVariant" "dvorak,minuskeydvorak,apostrophe,phonetic" | |
Option "XkbOptions" "grp:alt_shift_toggle" | |
EndSection |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
FONT=lat4-16 | |
KEYMAP=dvorak |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
net.ipv4.tcp_ecn=1 | |
net.ipv4.tcp_low_latency=1 | |
net.ipv4.tcp_window_scaling=1 | |
net.ipv4.tcp_reordering=3 | |
net.ipv4.tcp_sack=0 | |
net.ipv4.tcp_fastopen=1 | |
net.core.wmem_max=262144 | |
net.core.rmem_max=262144 | |
net.ipv4.tcp_rmem= 65536 131072 262144 | |
net.ipv4.tcp_wmem= 65536 131072 262144 |