Skip to content

Instantly share code, notes, and snippets.

View littlebee's full-sized avatar

Bee Wilkerson littlebee

  • seattle, wa
View GitHub Profile
@littlebee
littlebee / gist:72f2e324ab9452d24c5756ef063e7b44
Created September 12, 2022 01:33
Install Opencv on Raspian Bullseye 64bit OS Lite headless
#!/bin/bash
log 'Installing opencv & deps (https://singleboardblog.com/install-python-opencv-on-raspberry-pi/)'
sudo apt-get install -y libhdf5-dev libhdf5-serial-dev python3-pyqt5 libatlas-base-dev
sudo pip3 install --upgrade pip setuptools wheel
# see (https://www.piwheels.org/project/opencv-contrib-python/)
sudo pip3 install opencv-contrib-python-headless==4.5.5.62
# Your init script
#
# Atom will evaluate this file each time a new window is opened. It is run
# after packages are loaded/activated and after the previous editor state
# has been restored.
#
# An example hack to log to the console when each text editor is saved.
#
# atom.workspace.observeTextEditors (editor) ->
# editor.onDidSave ->
@lnmunhoz
lnmunhoz / README.md
Last active November 25, 2020 09:23
Atom: Enable fix files on save with linter-eslint

Atom: Enable fix files on save with linter-eslint

Atom linter-eslint has a very handy command to fix the file with specified linting rules.

You can lint your file with by calling Command + P and typing Fix.

This saves time but you still need to type Fix over and over again to fix your file. Its more time saving if you could lint your file on saving, right? You can!

There's two ways you can config this behaviour. Follow the method that most please you: