Skip to content

Instantly share code, notes, and snippets.

View aballiet's full-sized avatar

Antoine Balliet aballiet

View GitHub Profile
@aballiet
aballiet / alsa.conf.md
Last active April 14, 2022 00:58
Modipy on Raspberry Pi

edit /usr/share/alsa/alsa.conf

with values :

defaults.ctl.card 1
defaults.pcm.card 1
defaults.pcm.device 0
@aballiet
aballiet / wifi_to_ethernet_bridge.md
Last active April 13, 2022 22:45
Raspberry Pi : WiFi over the Ethernet Port

See video tutorial here

1. Update & install packages

sudo apt-get update
sudo apt-get install dnsmasq
sudo apt-get install iptables
@aballiet
aballiet / convert_MSSQL_db_to_PostgreSQL.md
Created August 20, 2021 14:00
Convert Microsoft SQL Server Database to PostgreSQL

Convert Microsoft SQL Server Database to PostgreSQL

Converting Microsoft SQL Server Database to PostgreSQL may be a painful task, here is a tutorial that allows you to transfer your data while keeping a fairly decent mapping

Tutorials for Windows only

Setting up your Microsoft SQL Server

  1. (if not installed yet) Install Microsoft® SQL Server® 2019 Express
  2. (optional) Import your MSSQL DB to your server
  3. put the dump file in C:\Program Files\Microsoft SQL Server\MSSQL15.SQLEXPRESS\MSSQL\Backup
@aballiet
aballiet / Bluetooth-Audio-Receiver.md
Last active May 30, 2021 16:47
Stream any Audio source through any computer under any VPN blocking network using Bluetooth

Stream any Audio source through any computer under any VPN blocking network using Bluetooth

Use Cases

Sometimes we may need to use computers (without Admin Privileges) connected to Corporate / Private networks with VPN that does not allow streaming audio from popular streaming websites : Spotify, YouTube, etc.

In such scenario we may also need to hear the sound directly form the computer (Skype Notifications / Microsoft Teams / Calls / System sounds...).

Listening to your music with your smartphone or any other external device, may not be the best solution as you will have to disconnect/reconnect your headphones between your computer & the external device you need to use.

Approaches