Skip to content

Instantly share code, notes, and snippets.

View itshaadi's full-sized avatar

Hadi Azami itshaadi

View GitHub Profile
@msudgh
msudgh / zipper.sh
Last active June 7, 2018 07:18
Compress the files and exclude the gitignore file lines
#!/bin/bash
# --------------------------------------------------------------
# [Author] Masoud Ghorbani (@msudgh)
# [Created] June 8, 2017
# [Description] Compress the files and exclude the gitignore file lines
# --------------------------------------------------------------
# Define the source file that represent the files to be exclude
file=.gitignore
@PurpleBooth
PurpleBooth / README-Template.md
Last active September 22, 2024 04:13
A template to make good README.md

Project Title

One Paragraph of project description goes here

Getting Started

These instructions will get you a copy of the project up and running on your local machine for development and testing purposes. See deployment for notes on how to deploy the project on a live system.

Prerequisites

@bahamas10
bahamas10 / cec-keypresses.sh
Last active January 16, 2022 13:02
use `cec-client` to fire events when keys are pressed
#!/usr/bin/env bash
#
# react to cec keypresses in the jankiest way possible
#
# Author: Dave Eddy <dave@daveeddy.com>
# Date: 10/15/2013
# Licens: MIT
# Tested on: Raspberry pi with libcec compiled from soure
onright() {