- #multirpg
BakaShiMoe
<?php | |
/* | |
Plugin Name: WooCommerce Shipping Contact | |
Plugin URI: https://github.com/helgatheviking/wc-shipping-contact | |
Description: Add a shipping email field to checkout and notify of new orders | |
Version: 1.1.0 | |
Author: Kathy Darling | |
Author URI: http://kathyisawesome.com | |
Requires at least: 4.0 | |
Tested up to: 4.8 |
On MacOS terminal | |
=============== | |
1. Run the following command to install the express generator | |
~ sudo npm install express-generator -g | |
2. Create a folder for the application | |
~ mkdir azurenodejsapp | |
~ cd azurenodejsapp |
Assignments | |
1. Create an app that lets users choose to display between 1 and 50 random dog images, then prints the results to the console. The app should feature a form with a required input where users indicate the number of images to retrieve, and the input should default to 3. Use the endpoint described in the "DISPLAY MULTIPLE RANDOM IMAGES FROM ALL DOGS COLLECTION" section of this page of the DogAPI docs. | |
https://repl.it/@travelingtonic/simple-get-assignment-1 | |
2. Building on the previous app, create an app that lets users choose to display between 1 and 50 random dog images, then loads the images in the console. This app should adhere to all of the requirements from the first one, in addition to displaying the images in the DOM. | |
https://repl.it/@travelingtonic/simple-get-assignment-2 | |
3. Create an app that loads a single random image for a specific breed. This app should account for the happy case when the breed is found, as well as the unhappy case when it is not. Use the endpoint described in th |
final private static CharSequenceTranslator quotes = buildAggregateTranslator(Mode.ENT_QUOTES); | |
final private static CharSequenceTranslator noquotes = buildAggregateTranslator(Mode.ENT_NOQUOTES); | |
private static AggregateTranslator buildAggregateTranslator(Mode mode) { | |
Map<CharSequence, CharSequence> map = new HashMap<>(); | |
if (mode == Mode.ENT_QUOTES) { | |
map.put("\"", """); // " - double-quote | |
map.put("'", "'"); // ' - apostrophe | |
} |
#EXTM3U | |
#EXTINF:-1,Digitally Imported - Ambient | |
http://pub1.diforfree.org:8000/di_ambient_hi | |
#EXTINF:-1,Digitally Imported - Big Room House | |
http://pub1.diforfree.org:8000/di_bigroomhouse_hi | |
#EXTINF:-1,Digitally Imported - Breaks | |
http://pub1.diforfree.org:8000/di_breaks_hi |
(by @andrestaltz)
So you're curious in learning this new thing called (Functional) Reactive Programming (FRP).
Learning it is hard, even harder by the lack of good material. When I started, I tried looking for tutorials. I found only a handful of practical guides, but they just scratched the surface and never tackled the challenge of building the whole architecture around it. Library documentations often don't help when you're trying to understand some function. I mean, honestly, look at this:
Rx.Observable.prototype.flatMapLatest(selector, [thisArg])
Projects each element of an observable sequence into a new sequence of observable sequences by incorporating the element's index and then transforms an observable sequence of observable sequences into an observable sequence producing values only from the most recent observable sequence.