This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[package] | |
name = "xmas-m5atom-matrix-rust" | |
version = "0.1.0" | |
edition = "2021" | |
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html | |
[dependencies] | |
esp-idf-sys = { version = "0.32", features = ["binstart"] } | |
smart-leds = "*" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#if defined(ARDUINO_ESP32_DEV) | |
#include <Arduino.h> | |
#include <FS.h> | |
#include <SD.h> | |
#include <SPI.h> | |
#else | |
#include <M5Stack.h> | |
#include <M5StackUpdater.h> | |
#endif | |
#include <Preferences.h> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/env gjs | |
/* Copyright (c) 2021 @cat_in_136 | |
* | |
* Permission is hereby granted, free of charge, to any person | |
* obtaining a copy of this software and associated documentation | |
* files (the "Software"), to deal in the Software without | |
* restriction, including without limitation the rights to use, | |
* copy, modify, merge, publish, distribute, sublicense, and/or sell | |
* copies of the Software, and to permit persons to whom the | |
* Software is furnished to do so, subject to the following |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// based on https://qiita.com/coppercele/items/fef9eacee05b752ed982#m5stickc%E3%83%90%E3%83%BC%E3%82%B8%E3%83%A7%E3%83%B3 | |
#define ENABLE_M5STACK_UPDATER | |
#include <Arduino.h> | |
#include <M5Stack.h> | |
#ifdef ENABLE_M5STACK_UPDATER | |
#include <M5StackUpdater.h> | |
#endif | |
#include <BLEDevice.h> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
const { app, BrowserWindow } = require("electron"); | |
(async function () { | |
await app.whenReady(); | |
const win = new BrowserWindow({ | |
width: 800, | |
height: 600, | |
webPreferences: { | |
nodeIntegration: true, |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
CC=gcc | |
CFLAGS=-Wall -O2 `pkg-config --cflags x11` | |
LDFLAGS=`pkg-config --libs x11` | |
SOURCES=toggle-decorations.c | |
EXECUTABLE=$(patsubst %.c,%,$(SOURCES)) | |
all: $(EXECUTABLE) | |
clean: $(EXECUTABLE) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
DO WHAT THE FUCK YOU WANT TO PUBLIC LICENSE | |
Version 2, December 2004 | |
Copyright (C) 2019 @cat_in_136 | |
Everyone is permitted to copy and distribute verbatim or modified | |
copies of this license document, and changing it is allowed as long | |
as the name is changed. | |
DO WHAT THE FUCK YOU WANT TO PUBLIC LICENSE |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<script src="https://unpkg.com/[email protected]/dist/tribute.min.js"></script> | |
<link type="text/css" href="https://unpkg.com/[email protected]/dist/tribute.css" rel="stylesheet"> | |
<script> | |
//<![CDATA[ | |
function inlineAutoComplete(element) { | |
'use strict'; | |
// do not attach if Tribute is already initialized | |
if (element.dataset.tribute === 'true') {return;} | |
const issuesUrl = element.dataset.issuesUrl; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Created by https://www.gitignore.io/api/vim,emacs,ruby | |
### Emacs ### | |
# -*- mode: gitignore; -*- | |
*~ | |
\#*\# | |
/.emacs.desktop | |
/.emacs.desktop.lock | |
*.elc |
NewerOlder