Skip to content

Instantly share code, notes, and snippets.

View mtrunkat's full-sized avatar
💻
Hiding behind the keyboard

Marek Trunkát mtrunkat

💻
Hiding behind the keyboard
View GitHub Profile
<section class="page-content">
<h4>2016-11-24</h4>
<ul>
<li>Web: Added a new feature ... </li>
</ul>
<h4>2016-11-09</h4>
<ul>
<li>General: Increased the length limit ...</li>
<li>Web: Showing more relevant statistics ...</li>
@mtrunkat
mtrunkat / Dockerfile
Last active July 26, 2021 09:45 — forked from jancurn/Dockerfile
WARNING for future me: Do not ever delete this thing! It's used in integration tests.
# Here you choose the base Docker image for the actor. Apify provides the following images:
# apify/actor-node-basic
# apify/actor-node-chrome
# apify/actor-node-puppeteer
# However, you can use any other image from Docker Hub.
# For more information, see https://apify.com/docs/actor#base-images
FROM apify/actor-node-basic
# Copy all files and directories from the directory to the Docker image
COPY . ./
@mtrunkat
mtrunkat / docker-mongo-repair
Last active March 19, 2024 06:28
Run "mongo --repair" in Docker container that cannot start because of MongoDB error
#!/bin/bash
# See https://github.com/docker-library/mongo/pull/63
docker run --rm --volumes-from my-mongo-server mongo unlink "/data/db/mongod.lock"
docker run --rm --volumes-from my-mongo-server mongo --repair