Skip to content

Instantly share code, notes, and snippets.

View talhaHavadar's full-sized avatar
🎶
Listening Cankan - Yar Yar

Talha Can Havadar talhaHavadar

🎶
Listening Cankan - Yar Yar
View GitHub Profile
@SKGleba
SKGleba / sdwire.py
Last active October 14, 2024 16:06
A simple python script to control sdwire mux on Windows / Linux / MacOS
#!/usr/bin/env python3
#
# sdwire.py - SDWire control script
#
# Copyright (c) 2024 skgleba
#
# This software may be modified and distributed under the terms
# of the MIT license. See the LICENSE file for details.
#
@Pablo1107
Pablo1107 / README.md
Created June 3, 2023 20:24
Setup gvfs to work with Nautilus in Non-NixOS using Home Manager

Installing Nautilus directly from Nixpkgs in Non-NixOS systems have no support for mounting sftps and other features that needs gvfs.

The solution for this is to install gnome3.gvfs in your packages list and then setup the env variable like this:

home.packages = with pkgs; [
  gnome3.gvfs
  gnome3.nautilus
];
@mbrgm
mbrgm / gvfs.nix
Last active November 9, 2024 20:25
Non-root-NFS-enabled GVFS on NixOS
{ lib
, pkgs
, ... }:
let
package = pkgs.gnome.gvfs;
in {
@basak
basak / lxd-ssh.sh
Created October 11, 2017 02:57
lxd-ssh: wrapper for using ssh/scp/etc with lxd
#!/bin/sh
set -e
# lxd-ssh
# Wrapper for using ssh/scp/etc with lxd
# Author: Robie Basak <[email protected]>
# Last-Update: 2017-10-11
# Instructions:
#
@willprice
willprice / README-opencv-3.1-raspberry-pi-installation.md
Last active March 29, 2025 23:13
How to install OpenCV 3.1 on Raspbian Jessie (Lite)

Installing OpenCV 3.1 on Raspbian Jessie

Prerequisites

  • Keep your system up to date:
    • $ sudo apt-get update
    • $ sudo apt-get upgrade
    • $ sudo reboot
  • Make sure you've got an internet connection.
  • Make sure you've got
  • wget
@AnttiNykanen
AnttiNykanen / main.c
Created September 29, 2014 09:45
STM32F103C8 USART example
#include "stm32f10x.h"
#include "stm32f10x_conf.h"
int main(void)
{
GPIO_InitTypeDef GPIO_InitStructure;
USART_InitTypeDef USART_InitStructure;
uint16_t rxbuf[64];
int rxbuf_pos = 0;