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 org.scalatest.tagobjects.Retryable | |
import org.scalatest.{ Canceled, Failed, Outcome, Retries, Succeeded } | |
class SomeTestSuite extends FunSpec with Retries { | |
val retries = 1000 | |
override def withFixture(test: NoArgTest): Outcome = { | |
if (isRetryable(test)) withFixture(test, retries) else super.withFixture(test) | |
} |
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 React, { Component } from 'react'; | |
import { Pager } from "react-bootstrap"; | |
import ReactPageScroller from 'react-page-scroller'; | |
import NavBar from '../src/components/NavBar' | |
import FirstPage from '../src/components/pages/FirstPage'; | |
import SecondPage from '../src/components/pages/SecondPage'; | |
class App extends Component { |
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
# We will squash into master, but push the result back to our feature branch. This way we can easily open a PR for the squashed commit. | |
git checkout branch | |
# Set HEAD back to origin/master so we can merge to the correct place on remote, but keep local changes to master intact if we have them | |
git reset --hard origin/master | |
# Merge our branch to current head (origin/master set from last command). Squash to one commit. | |
git merge --squash origin/branch | |
# In the merge commit, include all commits to the branch | |
git commit --no-edit | |
# Push the squashed commit on branch so we can open a PR |
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
apk update && apk add git | |
apk add build-base automake autoconf libxml fuse-dev curl-dev | |
git clone https://github.com/s3fs-fuse/s3fs-fuse.git | |
cd s3fs-fuse | |
./autogen.sh | |
./configure | |
make | |
make install |