(by @andrestaltz)
If you prefer to watch video tutorials with live-coding, then check out this series I recorded with the same contents as in this article: Egghead.io - Introduction to Reactive Programming.
| [unix_http_server] | |
| file=/tmp/supervisor.sock ; path to your socket file | |
| [supervisord] | |
| logfile=/var/log/supervisord/supervisord.log ; supervisord log file | |
| logfile_maxbytes=50MB ; maximum size of logfile before rotation | |
| logfile_backups=10 ; number of backed up logfiles | |
| loglevel=error ; info, debug, warn, trace | |
| pidfile=/var/run/supervisord.pid ; pidfile location | |
| nodaemon=false ; run supervisord as a daemon |
(by @andrestaltz)
If you prefer to watch video tutorials with live-coding, then check out this series I recorded with the same contents as in this article: Egghead.io - Introduction to Reactive Programming.
| pip list --outdated | grep -Eo '^[^ ]+' | xargs pip install -U |
| Title Mininum Alpha | |
| Author Jere Majava | |
| ======== | |
| OBJECTS | |
| ======== | |
| background _ | |
| darkblue | |
| player |
| #!/usr/bin/env python | |
| # Source: http://code.activestate.com/recipes/325905-memoize-decorator-with-timeout/#c1 | |
| import time | |
| from functools import wraps | |
| class MWT: | |
| """Memoize With Timeout""" | |
| _caches = {} | |
| _timeouts = {} |
| /** | |
| * Two Channel Receiver | |
| * Author: Shawn Hymel (SparkFun Electronics) | |
| * Date: Aug 24, 2017 | |
| * | |
| * Connect a TB6612FNG and RC (PWM) receiver to the Arduino. | |
| * Mixes two channels for arcade drive. | |
| * | |
| * This code is beerware; if you see me (or any other SparkFun | |
| * employee) at the local, and you've found our code helpful, |
| buildscript { | |
| dependencies { | |
| classpath "org.sonarsource.scanner.gradle:sonarqube-gradle-plugin:2.6.2" | |
| } | |
| } |
Commit format: <emoji_type> <commit_type>(<scope>): <subject>. <issue_reference>
:sparkles: feat(Component): Add a new feature. Closes: #
^--------^ ^--^ ^-------^ ^---------------^ ^------^
| | | | |
| | | | +--> (Optional) Issue reference: if the commit closes or fixes an issue
| float my_sound[][2] = SONG(ONE_UP_SOUND); | |
| bool process_record_user(uint16_t keycode, keyrecord_t *record) { | |
| switch (keycode) { | |
| case KC_ENTER: | |
| if (record->event.pressed) { | |
| PLAY_SONG(my_sound); | |
| } | |
| break; | |
| } |