Skip to content

Instantly share code, notes, and snippets.

@roycohen2013
roycohen2013 / gini
Created November 8, 2024 17:10 — forked from keithmorris/gini
Simple shell script to initialize a Git repository, create an initial commit, add origin server, create a develop branch and push to the server
#!/usr/bin/env bash
git init .
touch .gitignore
git add --all
git commit -m"initial commit"
git remote add origin $1
git branch develop
git push origin --all
@roycohen2013
roycohen2013 / gist:a968d2806f98040ab1ec0aefed8c39a8
Created September 10, 2024 03:40 — forked from siso/gist:c257a1ac5f6dc56d4930
Wallpaper with IPv4 infor for Raspberry Pi, Rapbian, LXDE
#!/usr/bin/env sh

export DISPLAY=:0.0

CANVAS=$(mktemp).jpg
WALLPAPER=$(mktemp).jpg

# Create white background image
convert -size 1280x800 xc:white $CANVAS
void EDMA_SetCallback(edma_handle_t *handle, edma_callback callback, void *userData)
{
assert(handle != NULL);
handle->callback = callback;
handle->userData = userData;
}
/**
******************************************************************************
* @file UART/UART_TwoBoards_ComIT/Src/stm32f4xx_hal_msp.c
* @author MCD Application Team
* @version V1.2.7
* @date 17-February-2017
* @brief HAL MSP module.
******************************************************************************
* @attention
*
library IEEE;
use IEEE.STD_LOGIC_1164.ALL;
entity T_FF_VHDL is
port( T: in std_logic;
Reset: in std_logic;
Clock_enable: in std_logic;
Clock: in std_logic;
Output: out std_logic);
end T_FF_VHDL;