Skip to content

Instantly share code, notes, and snippets.

View andviro's full-sized avatar
🐢
I may be slow to respond.

Andrew Rodionoff andviro

🐢
I may be slow to respond.
View GitHub Profile
@andviro
andviro / SolarizedDark.theme
Created November 3, 2022 09:36 — forked from randName/SolarizedDark.theme
Solarized Dark Theme for Windows (using High Contrast mode)
[Theme]
DisplayName=Solarized Dark
[Control Panel\Desktop]
PicturePosition=4
[VisualStyles]
Path=
ColorStyle=NormalColor
Size=NormalSize
@andviro
andviro / grafana_telegram_bot.md
Created March 15, 2022 14:02 — forked from ilap/grafana_telegram_bot.md
Grafana Telegram Alert

Config Telegrambot for grafana's alerts.

1. Create bot

Open Telegram and search for @BotFather user and message them the following:

You
/newbot 

BotFather
@andviro
andviro / proxy.md
Created December 17, 2021 21:36 — forked from yougg/proxy.md
complete ways to set http/socks/ssh proxy environment variables

set http or socks proxy environment variables

# set http proxy
export http_proxy=http://PROXYHOST:PROXYPORT

# set http proxy with user and password
export http_proxy=http://USERNAME:PASSWORD@PROXYHOST:PROXYPORT

# set http proxy with user and password (with special characters)
@andviro
andviro / wine-breeze-dark-theme.md
Created July 29, 2021 10:28 — forked from Zeinok/wine-breeze-dark-theme.md
Breeze Dark theme for Wine

Made possible with this reddit post.

Install

wine regedit wine-breeze-dark.reg

Uninstall (Reset Wine color scheme)

wine regedit wine-reset-theme.reg

@andviro
andviro / breeze_dark.reg
Created May 20, 2021 12:51 — forked from mihawk90/breeze_dark.reg
Breeze Dark theme for Wine
[Control Panel\\Colors] 1491939580
#time=1d2b2fb5c69191c
"ActiveBorder"="49 54 58"
"ActiveTitle"="49 54 58"
"AppWorkSpace"="60 64 72"
"Background"="49 54 58"
"ButtonAlternativeFace"="200 0 0"
"ButtonDkShadow"="154 154 154"
"ButtonFace"="49 54 58"
"ButtonHilight"="119 126 140"
@andviro
andviro / init.sh
Created March 18, 2019 19:51 — forked from ebuildy/init.sh
echo "auto_prepend_file=/opt/www/proxy.php" >> /etc/php5/cli/php.ini

Setting up HLS live streaming server using NGINX + nginx-rtmp-module on Ubuntu

This guide will explain how to setup your own streaming server on ubuntu.

1. Compile nginx with rtmp module

Firstly, we'll need to compile nginx with the nginx-rtmp-module.

We recommend using this forked module. it's being actively worked on and contains more fixes and improvements over the original one

@andviro
andviro / _readme.md
Created March 30, 2017 19:10 — forked from steeve/_readme.md
How to cross compile Go with CGO programs for a different OS/Arch

How to cross compile Go with CGO programs for a different OS/Arch

It is possible to compile Go programs for a different OS, even though go build says otherwise.

You'll need:

@andviro
andviro / protocol-fix.txt
Created February 28, 2017 13:00 — forked from eculver/protocol-fix.txt
How to deal with tmux "protocol version mismatch"
$ tmux attach
protocol version mismatch (client 7, server 6)
$ pgrep tmux
3429
$ /proc/3429/exe attach
@andviro
andviro / vromerc
Last active October 6, 2015 18:04
" vim: set ft=vim:
set autocomplete_prev=<C-K>
set autocomplete_next=<C-J>
set autocomplete_prev_10=<C-N>
set autocomplete_next_10=<C-P>
map J gt
map K gT
"set disable_autofocus=1
map d dc
unmap dm