Installation
pacman -S mpd ncmpcpp
MPD
copy the example configuration in mpd.conf
# cp /usr/share/doc/mpd/mpdconf.example /etc/mpd.conf
| //////////////////////////////////////////////////////////////////////// | |
| // Intro | |
| /////////////////////// | |
| // Tools like Redux-saga, React-redux and Reselect can easily be used without Redux | |
| // For Reselet there's nothing to do, it's just not coupled to Redux | |
| // For the others, you just need to provide an adapter | |
| // At Stample.co we use a legacy framework that is quite close to Redux but with a bad API | |
| // We want to progressively migrate to Redux, so starting now to use Redux tools on new features will make our migration faster |
| uniform vec3 diffuse; | |
| uniform vec3 emissive; | |
| uniform float opacity; | |
| varying vec3 vLightFront; | |
| #ifdef DOUBLE_SIDED | |
| varying vec3 vLightBack; |
Installation
pacman -S mpd ncmpcpp
MPD
copy the example configuration in mpd.conf
# cp /usr/share/doc/mpd/mpdconf.example /etc/mpd.conf
A complete list of RxJS 5 operators with easy to understand explanations and runnable examples.
| #!/usr/bin/python | |
| import sys | |
| ''' | |
| Just a simple tool that adds the line number at | |
| the end of each line | |
| ''' | |
| with open(sys.argv[1]) as f_in, open(sys.argv[2], 'w') as f_out: |
Services declared as oneshot are expected to take some action and exit immediatelly (thus, they are not really services,
no running processes remain). A common pattern for these type of service is to be defined by a setup and a teardown action.
Let's create a example foo service that when started creates a file, and when stopped it deletes it.
Create executable file /opt/foo/setup-foo.sh:
Some thoughts:
Task:
###Redux Egghead Video Notes###
####Introduction:#### Managing state in an application is critical, and is often done haphazardly. Redux provides a state container for JavaScript applications that will help your applications behave consistently.
Redux is an evolution of the ideas presented by Facebook's Flux, avoiding the complexity found in Flux by looking to how applications are built with the Elm language.
####1st principle of Redux:#### Everything that changes in your application including the data and ui options is contained in a single object called the state tree
| var PIXI = require('pixi.js') | |
| console.log(PIXI) |