Skip to content

Instantly share code, notes, and snippets.

View misaelnieto's full-sized avatar
🏠
Working from home

Noe Nieto misaelnieto

🏠
Working from home
View GitHub Profile
@Hypnotriod
Hypnotriod / stereo-camera-mjpeg-stream.py
Last active November 17, 2023 21:43
Waveshare IMX219-83 CSI Stereo Camera MJPEG streaming example with python and GStreamer for Beagle Bone AI-64
#!/usr/bin/python
# BeagleBone AI-64 MJPEG stream of Waveshare IMX219-83 Stereo Camera with GStreamer example
# Based on https://gist.github.com/misaelnieto/2409785
# Waveshare IMX219-83 CSI Stereo Camera: https://www.waveshare.com/wiki/IMX219-83_Stereo_Camera
# To add cameras overlays modyfy 'fdtoverlays' property of '/boot/firmware/extlinux/extlinux.conf' with:
# fdtoverlays /overlays/BBAI64-CSI0-imx219.dtbo /overlays/BBAI64-CSI1-imx219.dtbo
# and reboot
# Get TI Image Signal Processing GStreamer drivers:
# wget https://github.com/Hypnotriod/bbai64/raw/master/imaging.zip
# sudo unzip imaging.zip -d /opt/
@jmolivas
jmolivas / contrib.md
Last active December 17, 2015 05:48

Drupal Ladder

Review the program http://drupalladder.org/ this contains (or links to) lessons and materials to help people learn about and contribute to Drupal. The site was created by theBoston Initiative to help Drupal user groups develop and share and develop materials for learn sprints and issue sprints.

Drupal Ladder at d.o.

https://groups.drupal.org/drupal-ladder

Overview of the Learn Drupal Ladder

https://drupalize.me/videos/overview-learn-drupal-ladder?p=1176

Drupal Community Tools and Core Mentoring

https://drupalize.me/guides/drupal-community-tools-and-core-mentoring

Drupal Community Tools Workshop

@edouard-lopez
edouard-lopez / gulpfile.js
Created May 5, 2014 15:18
Gulp copy font-awesome files to dist/ directory
'use strict';
// Generated on 2014-04-14 using generator-leaflet 0.0.14
var gulp = require('gulp');
var open = require('open');
var wiredep = require('wiredep').stream;
// Load plugins
var $ = require('gulp-load-plugins')();
@lelandbatey
lelandbatey / whiteboardCleaner.md
Last active June 16, 2024 13:44
Whiteboard Picture Cleaner - Shell one-liner/script to clean up and beautify photos of whiteboards!

Description

This simple script will take a picture of a whiteboard and use parts of the ImageMagick library with sane defaults to clean it up tremendously.

The script is here:

#!/bin/bash
convert "$1" -morphology Convolve DoG:15,100,0 -negate -normalize -blur 0x1 -channel RBG -level 60%,91%,0.1 "$2"

Results

@werkshy
werkshy / start-mysql-in-mem
Created March 29, 2013 14:37
Script to start a second mysql server using ramdisk/tmpfs for unit tests.
#!/bin/bash
DATADIR=/dev/shm/mysql
TMPDIR=/dev/shm/mysql_tmp
MYSQL_SOCKET=/dev/shm/mysql.sock
pkill -9 -f mysql.*datadir.*$DATADIR
mkdir -p $DATADIR