One Paragraph of project description goes here
These instructions will get you a copy of the project up and running on your local machine for development and testing purposes. See deployment for notes on how to deploy the project on a live system.
| #Python | |
| import numbers | |
| import types | |
| def arrayFlatten(A = [], b = []): | |
| '''This function take one or two array and recursively | |
| flattens array A''' | |
| #Based case | |
| #Making sure the size of A is greater than 0 |
| # Set as the root configuration system wide | |
| root = true | |
| # Unix-style newlines with a new line ending every file | |
| [*] | |
| end_of_line = lf | |
| # Remove trailing white spaces for every file type | |
| trim_trailing_whitespace = true | |
| # Matched different files |
| #!/bin/bash | |
| # (optional) You might need to set your PATH variable at the top here | |
| # depending on how you run this script | |
| # PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin | |
| # Hosted Zone ID e.g. BJBK35SKMM9OE | |
| ZONEID=( | |
| "ZONEID-0" | |
| "ZONEID-1" | |
| "ZONEID-2" |
| The following steps allows you to create an embeddable iframe from Livepeer tv: | |
| 1. Visit the player's web page. | |
| 2. Scroll to the bottom of the page. | |
| 3. In the bottom right corner of the webpage click on the embed symbol <>. | |
| 4. Copy the contents of the pop up that appears. | |
| 5. The copied contents from step 4 can be pasted in any html page in order to embed the video. | |
| 6. If you would like to enable the option of user being able to make the video go full screen add the word "allowfullscreen" just before the first ">". | |
| For Example |
| # Errors in resolvers | |
| 1. On line 82 getPayments was invoked with a function that should return a value. However it expects a | |
| function that should return void. I would change the function signature to expect a function that will | |
| return values. | |
| 2. On line 90 the return value of getCommentsByPostId is being assigned to post.comments as promises | |
| and not actual comments and not being returned as is expected by Array.map. This will cause the | |
| array values to be undefined and not be promises as required by Promise.all. Fixing this requires making | |
| sure that the promises are returned, then resolving them before assigning the result to post.comments. Lastly | |
| return the posts. |
| ;;; plantuml_helpers.el --- Provides plantuml helper functions -*- lexical-binding: t -*- | |
| ;;; Commentary: | |
| ;; plantuml helper functions | |
| ;;; Code: | |
| (require 'iimage) | |
| (autoload 'iimage-mode "iimage" "Support Inline image minor mode." t) | |
| (autoload 'turn-on-iimage-mode "iimage" "Turn on Inline image minor mode." t) | |
| (add-to-list 'iimage-mode-image-regex-alist '("@startuml\s+\\(.+\\)" . 1)) | |
| ;; Rendering plantuml |