Skip to content

Instantly share code, notes, and snippets.

View FedorChervyakov's full-sized avatar

Fedor Chervyakov FedorChervyakov

View GitHub Profile
@so1tsuda
so1tsuda / bybit_get_historical_kline.py
Last active March 11, 2024 22:50
Bybit get historical OHLCV data
# this code is based on get_historical_data() from python-binance module
# https://github.com/sammchardy/python-binance
# it also requires pybybit.py available from this page
# https://note.mu/mtkn1/n/n9ef3460e4085
# (where pandas & websocket-client are needed)
import time
import dateparser
import pytz
import json
@robodhruv
robodhruv / modelsim_installation.md
Last active September 10, 2023 17:23
Installing ModelSim on Ubuntu

ModelSim Installation issues

Ubuntu 14.xx and above

Ignore this if you have not encountered any issue with the installation and running of ModelSim and Quartus on your system. You are very lucky. (Just Kidding! You have surely had this issue, only sorted.)

Hence assuming you have been following the procedure given in this guide. Most certainly, Quartus will install jsut fine, and so will ModelSim. The issue is in launching due to inappropriate linking etc.

Stage 1

This is the simplest error you would encounter. Navigate to the modelsim_ase folder and run:

Raspberry Pi VPN Router

This is a quick-and-dirty guide to setting up a Raspberry Pi as a "router on a stick" to ExpressVPN.

This is adapted from SuperJamie's gist.

Requirements

I used a Raspberry Pi 3 - seems like the extra speed may be useful for running VPN.

@canton7
canton7 / 0main.md
Last active November 7, 2023 08:16
Local versions of tracked config files

How to have local versions of tracked config files in git

This is a fairly common question, and there isn't a One True Answer.

These are the most common techniques:

If you can modify your application