Try to guess what will the code display before before clicking Details
.
Inspired by https://janiczek.github.io/silent-teacher/.
main =
Try to guess what will the code display before before clicking Details
.
Inspired by https://janiczek.github.io/silent-teacher/.
main =
```diff | |
diff --git a/Green.Book.2018.2160p.UHD.BluRay.X265-IAMABLE.srt b/Green.Book.2018.2160p.UHD.BluRay.X265-IAMABLE.srt | |
index 11a1f37..19cc58e 100644 | |
--- a/Green.Book.2018.2160p.UHD.BluRay.X265-IAMABLE.srt | |
+++ b/Green.Book.2018.2160p.UHD.BluRay.X265-IAMABLE.srt | |
@@ -1,4 +1,4 @@ | |
-1 | |
+1 | |
00:01:22,886 --> 00:01:27,734 | |
Witaj Nowy Jorku! Jestem Bobby Rydell |
diff --git a/mock/server/src/main.rs b/mock/server/src/main.rs
index 91dbf9c7..f53b9dd6 100644
--- a/mock/server/src/main.rs
+++ b/mock/server/src/main.rs
@@ -1,4 +1,3 @@
-extern crate actix;
extern crate actix_web;
extern crate bytes;
extern crate env_logger;
<-- | |
Screen Text 0 0 0 | |
Screen Background 255 255 255 | |
Popup Text 255 255 255 | |
Popup Background 0 0 0 | |
255 255 255 | |
0 0 178 | |
0 166 0 |
// ==UserScript== | |
// @name Fixed to Absolute Important | |
// @namespace https://greasyfork.org/en/scripts/369282-fixed-to-absolute-important | |
// @description Stops elements from following you as you scroll down the page | |
// @version 1 | |
// ==/UserScript== | |
// https://gist.github.com/rofrol/a52a36102daf59eeef91c715c0ae402b | |
// Based on https://alisdair.mcdiarmid.org/kill-sticky-headers/ |
module Main exposing (..) | |
import Html exposing (text) | |
import Json.Decode as Decode exposing (..) | |
type FormField | |
= InputField Input | |
| DecimalField Decimal | |
| SpecialField String |
/* | |
Write some code, that will flatten an array of arbitrarily nested arrays of integers into a flat array of integers. e.g. [[1,2,[3]],4] -> [1,2,3,4]. | |
Your solution should be a link to a gist on gist.github.com with your implementation. | |
When writing this code, you can use any language you're comfortable with. The code must be well tested and documented if necessary, and in general please treat the quality of the code as if it was ready to ship to production. | |
Try to avoid using language defined methods like Ruby's Array#flatten.* |