Skip to content

Instantly share code, notes, and snippets.

View mkostrikin's full-sized avatar

Maxim N. Kostrikin mkostrikin

View GitHub Profile
@profOnno
profOnno / Alpine_linux_on_tilaa.md
Last active September 9, 2025 02:58
Alpine linux on Tilaa

Introduction

Tilaa is my vps provider but doesn't have alpine in the install options After playing around with the vps systems... coreos ubuntu.. i did make mistakes... coreos got invaded ... opened a webgui... forgot to protect it... needed to get some data from it. So used the Tilaa rescue boot (in the Dashboard) and mounted the disks. Also used it when i increased the disk size for an installation (if I remember correctly), deleting the partition, creating a new one with the same starting address), do a resize2fs to expand and voila.. Bob was my uncle.

After playing arround with Alpine Linux in coreos and ubuntu lxd. I thought it would be a nice distro to get running straight from the vps. A weekend without sunlight but with pixellight I got it running, needs another iteration to make it a smooth experiance :o.

DISCLAIMER Any action you take upon the information on this page is strictly at your own risk, I won't be liable for any losses and damages in connection with the use of this page.

St

@bmaupin
bmaupin / free-backend-hosting.md
Last active July 27, 2026 22:49
Free backend hosting
@mvadu
mvadu / upnpPortMapper.sh
Created March 30, 2019 02:13
THis script uses upnp client (upnpc) to talk to router and open ports
#!/bin/bash
#~/bin/upnpPortMapper.sh
#sudo apt-get install miniupnpc
#crontab -l | grep upnp || echo $(crontab -l ; echo '*/5 * * * * ~/bin/upnpPortMapper.sh >/dev/null 2>&1') | crontab -
export LC_ALL=C
router=$(ip r | grep default | cut -d " " -f 3)
gateway=$(upnpc -l | grep "desc: http://$router:[0-9]*/rootDesc.xml" | cut -d " " -f 3)
ip=$(upnpc -l | grep "Local LAN ip address" | cut -d: -f2)
@willianbragats
willianbragats / gist:953f9203578d2ad14909be1f3bfb0733
Last active May 6, 2019 03:54
Writing meaninful test cases for (you|everyone)
# WRITING GOOD TESTS FOR (YOU|EVERYONE) using TDD/BDD
When I was looking how to program in Python, I've stumbled upon a lot of articles and most of them were mentioning
that I should learn it using the TDD approach as well. TDD stands for 'Test-Driven Development'. Not only it helps you
to maintain the project if needs improvements in the future, but to others as well.
So, I've learned the Python basics and at the same time, I was implementing TDD. Some programmers ask you to first
create the test case file (in our case with Ruby and Puppet, the 'spec/*/*_spec.rb' file), create the tests cases, run
those tests cases (they will fail naturally because you didn't put any code yet) and judging from what you want to achieve,
you finally create your code to solve the tests cases and thus implement the feature your code would solve it.
@benstigsen
benstigsen / binance.py
Last active April 26, 2023 03:44
Small Python script to keep track of the Binance stocks and alert on low / high price (Windows)
'''
binance.py
To add crypto values add them to the <watchlist> dictionary:
"ZECBNB": {
"a": "ZEC",
"b": "BNB",
# Price coin
"pc": [2, 4]
@mkostrikin
mkostrikin / Alpine_linux_on_tilaa.md
Created September 9, 2025 02:58 — forked from profOnno/Alpine_linux_on_tilaa.md
Alpine linux on Tilaa

Introduction

Tilaa is my vps provider but doesn't have alpine in the install options After playing around with the vps systems... coreos ubuntu.. i did make mistakes... coreos got invaded ... opened a webgui... forgot to protect it... needed to get some data from it. So used the Tilaa rescue boot (in the Dashboard) and mounted the disks. Also used it when i increased the disk size for an installation (if I remember correctly), deleting the partition, creating a new one with the same starting address), do a resize2fs to expand and voila.. Bob was my uncle.

After playing arround with Alpine Linux in coreos and ubuntu lxd. I thought it would be a nice distro to get running straight from the vps. A weekend without sunlight but with pixellight I got it running, needs another iteration to make it a smooth experiance :o.

DISCLAIMER Any action you take upon the information on this page is strictly at your own risk, I won't be liable for any losses and damages in connection with the use of this page.

St