This file contains 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 pyspark import SparkContext, SparkConf | |
import os | |
import sys | |
#datasets path on shared group directory on Ukko2. Uncomment the one which you would like to work on. | |
dataset = "/proj/group/distributed-data-infra/data-1-sample.txt" | |
#dataset = "/proj/group/distributed-data-infra/data-1.txt" | |
#dataset = "/proj/group/distributed-data-infra/data-2-sample.txt" | |
#dataset = "/proj/group/distributed-data-infra/data-2.txt" |
This file contains 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 * as React from 'react' | |
import ReactDOM from 'react-dom' | |
import { EditorState } from 'prosemirror-state' | |
import { EditorView } from 'prosemirror-view' | |
import { Node, Schema } from 'prosemirror-model' | |
import applyDevTools from 'prosemirror-dev-tools' | |
import styled from 'styled-components' | |
// Here we have the (too simple) React component which | |
// we'll be rendering content into. |
This file contains 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 * as React from 'react' | |
import ReactDOM from 'react-dom' | |
import { EditorState } from 'prosemirror-state' | |
import { EditorView } from 'prosemirror-view' | |
import { Node, Schema } from 'prosemirror-model' | |
import applyDevTools from 'prosemirror-dev-tools' | |
import styled from 'styled-components' | |
// Here we have the (too simple) React component which | |
// we'll be rendering content into. |
This file contains 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
name: Migrate Heroku DB | |
on: | |
push: | |
branches: | |
- main | |
workflow_dispatch: | |
inputs: | |
run_seed: | |
description: 'Run post migrate operation: <none> | seed' |
This file contains 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://drive.google.com/file/d/14heSnXHGXAM7KSrN3rLpdU3DTpX1554w/view?usp=sharing | |
https://drive.google.com/file/d/1aVV1PmguPnJRVMAdp33F-1jgC07VYRXc/view?usp=sharing | |
https://drive.google.com/file/d/1ndclz_UZi7NuiNbSmT_AmLyC9m2qUvJZ/view?usp=sharing | |
https://drive.google.com/file/d/1tMIDjYAgS4d1EQHs54rP8MaIhLbe0yXy/view?usp=sharing |
This file contains 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
#!/usr/bin/env bash | |
# or for alpine #!/bin/sh | |
######################################################## | |
# Installs AWS CLI v2 https://docs.aws.amazon.com/cli/ # | |
######################################################## | |
# Needs curl or wget and unzip installed | |
# If you are using Alpine, you should use apk directly (because reasons https://github.com/aws/aws-cli/issues/4971) | |
# apk add aws-cli=2.13.5-r0 |
This file contains 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
Show hidden characters
{ | |
"root": true, | |
"parser": "@typescript-eslint/parser", | |
"plugins": ["svelte3", "@typescript-eslint", "eslint-plugin-import", "eslint-plugin-prettier"], | |
"extends": ["eslint:recommended", "plugin:@typescript-eslint/recommended", "prettier"], | |
"env": { | |
"es6": true, | |
"browser": true, | |
"node": true | |
}, |
This file contains 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 js from '@eslint/js' | |
import ts from 'typescript-eslint' | |
import svelte from 'eslint-plugin-svelte' | |
import prettier from 'eslint-config-prettier' | |
import globals from 'globals' | |
/** @type {import('eslint').Linter.FlatConfig[]} */ | |
export default [ | |
js.configs.recommended, | |
...ts.configs.recommended, |
OlderNewer