Skip to content

Instantly share code, notes, and snippets.

View cardboardcode's full-sized avatar

Gary Bey cardboardcode

View GitHub Profile
@rajeshpachaikani
rajeshpachaikani / main.rs
Created November 14, 2021 11:14
Rust opencv demo
/*
Author: Rajesh Pachaikani
Contact: rajesh@makeitnow.in
*/
use opencv::{highgui, prelude::*, videoio, Result};
fn main() -> Result<()> {
let mut cam = videoio::VideoCapture::new(0, videoio::CAP_ANY)?;
highgui::named_window("window", highgui::WINDOW_FULLSCREEN)?;
@tfenster
tfenster / fork forced sync
Last active April 15, 2023 05:49 — forked from glennblock/fork forced sync
Force your forked repo to be the same as upstream. Forces master changes into fork and throws away all changes!
if no upstream remote created: git remote add upstream https://[upstream guy's repo url]
git fetch upstream
git reset --hard upstream/master
git push origin master --force