- Two
- Two
- Three
- Four
Hello
MyOtherVariable = 39km |
const path = require('path'); | |
const { readdirSync } = require('fs'); | |
const exec = require('child_process').execSync; | |
const dir = 'src' | |
const entry = readdirSync(dir) | |
.filter(item => /\.(t|j)s$/.test(item)) | |
.filter(item => !/\.d\.(t|j)s$/.test(item)) | |
.reduce((acc, fileName) => ({ | |
...acc, |
provider "aws" { | |
region = "eu-west-1" | |
profile = "my-profile" | |
} | |
resource "aws_iam_role" "iam_for_lambda" { | |
name = "iam_for_lambda" | |
assume_role_policy = <<EOF | |
{ |
import { EditorState, Modifier } from 'draft-js'; | |
import { TAB_CHARACTER } from './CONSTANTS'; | |
const changeIndent = (editorState, isDedent) => { | |
const selection = editorState.getSelection(); | |
const contentState = editorState.getCurrentContent(); | |
let blockMap = contentState.getBlockMap(); | |
const blockKeys = blockMap.keySeq(); | |
const selectionStartKey = selection.getStartKey(); | |
const selectionEndKey = selection.getEndKey(); |
import React, { PureComponent } from 'react' | |
/* | |
* PollBounds | |
* render with referenced element measurements | |
* @param measureRef: React.Ref | |
* @param pollTime: number - polling time for polling client rect | |
* @param children({ bounds }) | |
*/ |
<RenderObservable | |
observable={interval(2000).pipe(startWith(0))} | |
> | |
{({ value, value$ }) => <div> | |
<Number>Value of {value}</Number> | |
<RenderObservable | |
observable={value$ && merge(value$, interval(300))} | |
> | |
{({ value }) => <Number>Value of {value}</Number>} | |
</RenderObservable> |
import React, { Component } from 'react'; | |
import logo from './logo.svg'; | |
import './App.css'; | |
import { interval } from 'rxjs' | |
class RenderObservable extends Component { | |
state = { | |
value: null | |
} |
/* Configure these parameters to crawl for your statements */ | |
const userId = '<your-user-id>'; | |
const password = '<your-password>'; | |
const secret = '<your-secret>'; | |
const dateStringUntil = '<date>'; | |
const Nightmare = require('nightmare'); | |
const nightmare = Nightmare({ show: true }); | |
const createCsvWriter = require('csv-writer').createObjectCsvWriter; |
import React, { Component } from 'react'; | |
import { EditorState } from 'draft-js-plugins'; | |
import Editor from 'djsp.editor'; | |
import autocompletePlugin from 'djsp.autocomplete'; | |
import selectionPositionPlugin from 'djsp.selection-position'; | |
import entityDecoratorPlugin from 'djsp.entity-decorator'; | |
import Popover from 'djsp.popover'; | |
import ListBox from 'djsp.listbox'; | |
import addEntity from 'djsp.add-entity'; |