Skip to content

Instantly share code, notes, and snippets.

View mexitalian's full-sized avatar
🐙
Smart like the Quadropus

Carlo Marasco mexitalian

🐙
Smart like the Quadropus
View GitHub Profile
function render(model){
let current_state_name = model.active_states[0].name;
return $("h1",
{style: {color: "darkBlue"}},
`The current state is: ${current_state_name}`);
}
@mexitalian
mexitalian / SketchSystems.spec
Created April 20, 2023 07:26
My Awesome Sketch
My Awesome Sketch
First State
some event -> Second State
Second State
@mexitalian
mexitalian / build-pocketvj.md
Created April 21, 2020 19:51 — forked from baydam/build-pocketvj.md
How to build PocketVJ on Raspberry Pi 3

Documentation for building PocketVJ on raspberry Pi 3

Install Raspbian Lite

Find the instruction in the link below https://www.raspberrypi.org/documentation/installation/installing-images/README.md

Install dependencies

$ sudo apt-get -y install lxde-core lxterminal lxappearance xinit lightdm ntfs-3g python-pexpect vim figlet git-core firmware-ralink hostapd isc-dhcp-server lighttpd samba samba-common-bin php5-common php5-cgi php5 php5-mysql screen fbi ttf-mscorefonts-installer mediainfo gparted php5-cli iptables xtightvncviewer imagemagick dosfstools exfat-utils exfat-fuse hfsplus hfsprogs hfsutils xdotool expect expect-dev avahi-daemon libavahi-compat-libdnssd-dev feh libjpeg8 libjpeg8-dev libao-dev avahi-utils libavahi-compat-libdnssd-dev libva-dev youtube-dl python-smbus mpg321 mpg123 libreoffice-impress rc-gui python-pip iceweasel python-dev python-dbus xpdf x11-xserver-utils libncurses5-dev shellinabox tk okular usbmount libgstreamer0.10-0 libgstreamer0.10-dev gstreamer0.10-tools gstr
@mexitalian
mexitalian / main.cpp
Created March 7, 2020 14:06
Basic snake ping ponging along a 30 led strip
#include <Arduino.h>
#include <FastLED.h>
#define NUM_LEDS 30
#define MILLIS_PER_FRAME 33
#define FRAMES_PER_SECOND 30;
CRGB leds[NUM_LEDS];
int frame = 0;
@mexitalian
mexitalian / index.html
Last active August 29, 2015 14:22
mJWqBg
<div id="robot"></div>