Skip to content

Instantly share code, notes, and snippets.

View rubi022's full-sized avatar
πŸ’­
I may be slow to respond.

rubi022

πŸ’­
I may be slow to respond.
View GitHub Profile
@agungsptr
agungsptr / PostgreSQL-BackupAndRestore.md
Last active July 18, 2024 06:23
PostgreSQL - Backup and Restore

PostgreSQL Backup and Restore

Backup

Backup to .sql file

pg_dump -U username -d db_name -h host_name > out_filename.sql

# If using docker
docker container exec -it container_name pg_dump -U username -d db_name -h host_name > out_filename.sql
@basperheim
basperheim / raspberry-pi-no-wireless-interface-found.md
Last active April 30, 2024 17:02
Fix "No wireless interface found" on a Raspberry Pi

Fix "No wireless interface found" on a Raspberry Pi

Step 1 - Fix the interfaces file

Remove everything but first 'source-directory' line in /etc/network/interfaces.

Using nano:

sudo nano /etc/network/interfaces
@alinetskyi
alinetskyi / setup.sh
Last active March 24, 2023 09:39
Setup Debian machine for docker-compose
#!/bin/bash -x
COMPOSE_VERSION="1.23.2"
COMPOSE_URL="https://github.com/docker/compose/releases/download/$COMPOSE_VERSION/docker-compose-$(uname -s)-$(uname -m)"
# Opendax bootstrap script
install_core() {
sudo bash <<EOS
apt-get update
apt-get remove -y --purge unscd
@cryppadotta
cryppadotta / 001-Tradingview-Watchlist.md
Last active February 25, 2025 13:32
Tradingview Watchlist Import Files for Crypto Exchanges

Tradingview Watchlist Import Files for Crypto Exchanges

Below you'll find Tradingview import files for Bittrex and Binance BTC-base markets

Ordered by CMC's Market Cap

I use Tradingview and I like to quickly click through all coins on a particular exchange. The files below can be imported into a Tradingview watchlist.

β˜… β˜… β˜… If you use these, leave a comment or a star above β˜… β˜… β˜