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
FROM node:10-latest | |
EXPOSE 3000 | |
RUN mkdir app | |
WORKDIR app | |
COPY . . | |
RUN npm install | |
RUN chmod a+x docker-entrypoint.sh |
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
from cue_sdk import CUESDK, CAM, CLK, CorsairLedColor | |
import os | |
from random import choice | |
import time | |
# The directory where CUESDK is located | |
SDK_DIR = "D:\\Portable Apps\\CUEAudioVisualizer\\x86" | |
# The filename of the SDK dll file | |
SDK_DLL = "CUESDK_2015.dll" | |
# How much each animation will last (in 1/100 seconds) |
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
# CUE SDK from: https://github.com/10se1ucgo/cue_sdk | |
from cue_sdk import * | |
# Pillow library: https://pillow.readthedocs.io/en/4.0.x/ | |
import ImageGrab | |
import os | |
import time | |
# Setup the keys matrix | |
keys = [['Escape', 'F1', 'F2', 'F3', 'F4', 'F5', 'F6', 'F7', 'F8', 'F9', 'F10', 'F11', 'F12'], | |
['GraveAccentAndTilde', '_1', '_2', '_3', '_4', '_5', '_6', '_7', '_8', '_9', '_0', 'MinusAndUnderscore', 'EqualsAndPlus', 'Backspace'], |