Skip to content

Instantly share code, notes, and snippets.

View marisancans's full-sized avatar
🟢

Māris Ancāns marisancans

🟢
View GitHub Profile
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"
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"
@marisancans
marisancans / docker compose mongo and mongo express
Last active January 25, 2021 11:43
Docker compose mongo express
version: "3.7"
services:
mongodb:
container_name: mongo-tasker-container
image: mongo
restart: always
environment:
MONGO_INITDB_ROOT_USERNAME: root
@marisancans
marisancans / auto_bluetooth_linux.sh
Created November 2, 2021 09:06
Automatic bluetooth connecting and pairing on linux
# 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