A very simple adaptation from this gist: https://gist.github.com/dendrochronology/c3df295805cc5d43a0f2
I just added a backgroundColor ;)
Thank to @dendrochronology
| module Main exposing (main) | |
| import Browser | |
| import Html exposing (Html, a, div, form, input, li, text, ul) | |
| import Html.Attributes exposing (class, classList, href, placeholder, style, target, value) | |
| import Html.Events exposing (onClick, onInput, onSubmit) | |
| import Svg | |
| import Svg.Attributes as SvgAttr | |
| // Available variables: | |
| // - Machine | |
| // - interpret | |
| // - assign | |
| // - send | |
| // - sendParent | |
| // - spawn | |
| // - raise | |
| // - actions |
| snail = function(array) { | |
| if (!array || array.length && !array[0].length) { | |
| return []; | |
| } | |
| const start = 0, nbCols = array[0].length, nbRows = array.length; | |
| return parse(array, start, nbCols, 0, nbRows); | |
| } | |
| function parse(array, start, nbCols, row, nbRows) { |
| // ... | |
| const dotenv = require("dotenv"); | |
| // ... | |
| console.log(`Bundling application for entryPath ${entryPath}...`); | |
| dotenv.config() | |
| const isUppercase = key => key.toUpperCase() === key; | |
| const envKeys = Object.keys(env); |
A very simple adaptation from this gist: https://gist.github.com/dendrochronology/c3df295805cc5d43a0f2
I just added a backgroundColor ;)
Thank to @dendrochronology
| import java.io.InputStream | |
| import org.apache.spark.sql.execution.datasources.jdbc.JdbcUtils | |
| import org.apache.spark.sql.{ DataFrame, Row } | |
| import org.postgresql.copy.CopyManager | |
| import org.postgresql.core.BaseConnection | |
| val jdbcUrl = s"jdbc:postgresql://..." // db credentials elided | |
| val connectionProperties = { |
| Sync for atom |
Run Cmd/Ctrl+Shift+P and type :
Open your stylesheet
Then add the content of style.less in that file.
| mongoose = require('mongoose'); | |
| var _ = require('underscore'); | |
| var db = mongoose.createConnection('localhost', 'stack-test'); | |
| /* Schema definition */ | |
| var SellerSchema = new mongoose.Schema({ | |
| created: { | |
| type: Date, | |
| default: Date.now | |
| }, |