Skip to content

Instantly share code, notes, and snippets.

Avatar
💭
My dream is to be machine learning engineer, looking for opportunities

Māris Ancāns marisancans

💭
My dream is to be machine learning engineer, looking for opportunities
View GitHub Profile
@marisancans
marisancans / auto_bluetooth_linux.sh
Created Nov 2, 2021
Automatic bluetooth connecting and pairing on linux
View auto_bluetooth_linux.sh
# Install bluez tools
# sudo apt-get install -y bluez-tools
# timeout 10 means it will scan the devices for 10 seconds
BT_DEVICE=08:07:20:73:63:2A
bt-device -l
bt-device -r ${BT_DEVICE}
timeout 10 bt-adapter -d
View docker compose mongo and mongo express
version: "3.7"
services:
mongodb:
container_name: mongo-tasker-container
image: mongo
restart: always
environment:
MONGO_INITDB_ROOT_USERNAME: root
View Salae Infra red analyzer plugin setup
1.) git clone https://github.com/kodizhuk/Salae-Logic-NEC-Analyzer.git
2.) Created a CMakeLists.txt file:
project(IR_analyzer)
cmake_minimum_required(VERSION 3.12)
file(GLOB SOURCES
"source*.h"
View Docker on raspberry pi zero 1.6
Raspbian lite os
https://www.youtube.com/watch?v=O4oVIsZJDs4
Start by editing the wpa-supplicant config file:
sudo nano /etc/wpa_supplicant/wpa_supplicant.conf
network={
ssid="YOUR_NETWORK_SSID"
psk="WIFI_PASSWORD"