This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// jeotario's academy | |
import 'dart:ui'; | |
import 'package:flutter/material.dart'; | |
import 'package:flutter/rendering.dart'; | |
import 'package:flutter/widgets.dart'; | |
void main() { | |
runApp(MyApp()); | |
} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import qualified Data.Set as Set | |
old = ['A', 'B', 'C'] | |
current = ['B', 'D', 'E', 'E', 'D'] | |
-- diff old current = (['A', 'C'], ['D', 'E']) | |
-- to remove: ['A', 'C'] | |
-- to add: ['D', 'E'] | |
diff [] [] = ([], []) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
FROM node:12.16.3-alpine3.10 | |
# install sqitch | |
RUN apk add --no-cache --virtual build-deps \ | |
g++ make \ | |
perl-dev tzdata \ | |
perl-dbd-pg postgresql-client && \ | |
cp /usr/share/zoneinfo/UTC /etc/localtime && \ | |
echo UTC > /etc/timezone && \ | |
perl -MCPAN -e "CPAN::Shell->notest('install', 'App::Sqitch')" && \ |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{-# LANGUAGE OverloadedStrings #-} | |
{-# LANGUAGE DataKinds #-} | |
{-# LANGUAGE TemplateHaskell #-} | |
{-# LANGUAGE QuasiQuotes #-} | |
module Repository.Tools.Statements ( | |
addTool, | |
getTools, | |
removeToolById, | |
addTags |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// https://github.com/jeovazero/performance-experiments/blob/master/perfMap.js | |
// node v12.13.0 (npm v6.12.0) | |
> node perfMap.js | |
== | |
Testing the 'map' function | |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
const R = require('ramda') | |
const _ = require('lodash') | |
const NS_PER_SEC = 1e9 | |
const NS_PER_MILLIS = 1e6 | |
function partitionV2(cond, data) { | |
const accepted = [] | |
const rejected = [] | |
const len = data.length |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
const expr = /export \{?((.|\s)+?)\}? from \'(.+)\'/gmi | |
process.stdin.setEncoding('utf8'); | |
let input = '' | |
process.stdin.on('data', (chunk) => { | |
input += chunk | |
}); | |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import qualified Data.Set as Set | |
fInput [] = [] | |
fInput (_:b:c:others) = | |
(words b, c):fInput others | |
solve' _ target [] ans | |
| target /= [] = [] | |
| otherwise = ans | |
solve' dict target (p:ps) ans = |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/src/CombinatorsAnimated.elm b/src/CombinatorsAnimated.elm | |
index 297029f..2afadc4 100644 | |
--- a/src/CombinatorsAnimated.elm | |
+++ b/src/CombinatorsAnimated.elm | |
@@ -19,18 +19,6 @@ import Html.Styled.Attributes as Attrs exposing (..) | |
import Html.Styled.Keyed as Keyed | |
import Html.Styled.Lazy exposing (lazy) | |
import StyleGuide as Theme | |
-import Styles | |
- exposing |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/src/Contents.elm b/src/Contents.elm | |
index 82ac772..f856fe4 100644 | |
--- a/src/Contents.elm | |
+++ b/src/Contents.elm | |
@@ -34,52 +34,59 @@ githubLinkData = | |
languages = | |
- [ { label = "OCaml" | |
- , rot = 15 |