Skip to content

Instantly share code, notes, and snippets.

View ronihcohen's full-sized avatar
🎯
Focusing

Rony HaCohen ronihcohen

🎯
Focusing
View GitHub Profile
function sym() {
var args = Array.prototype.slice.call(arguments);
var flattened;
if (args.length>1){
flattened = args.reduce(function(previousValue, currentValue) {
var pre = clearIntersection (previousValue,true);
var cur = clearIntersection (currentValue,true);
name: github pages
on:
push:
branches:
- master
schedule:
- cron: '0 0 * * 0'
jobs:
import React from "react"
import {
useTable,
useSortBy,
useGlobalFilter,
useAsyncDebounce,
} from "react-table"
function Table({ columns, data }) {
// Define a default UI for filtering
# https://raspberrytips.nl/tm1637-4-digit-led-display-raspberry-pi/
import sys
import os
import time
import RPi.GPIO as IO
IO.setwarnings(False)
IO.setmode(IO.BCM)
@ronihcohen
ronihcohen / DS3231_MD_MAX72xx.ino
Last active June 29, 2024 06:02
Data from DS3231 displayed on 4 MAX7219
#include <MD_Parola.h>
#include <MD_MAX72xx.h>
#include <SPI.h>
#include <DS3231.h>
#define HARDWARE_TYPE MD_MAX72XX::FC16_HW
#define MAX_DEVICES 16
#define NUM_ZONES 4
#define CLK_PIN 13