Skip to content

Instantly share code, notes, and snippets.

View B4nan's full-sized avatar

Martin Adámek B4nan

View GitHub Profile
@B4nan
B4nan / gist:10259532
Created April 9, 2014 11:47 — forked from carlosmcevilly/gist:2221249
Fix commit author before pushed
If:
- you add and commit with the wrong email address in git, and
- your remote has a hook set up to prevent you from pushing with the bad address
Then you need to amend the author of your commit before push can succeed:
1. fix your email address in git config:
$ git config user.name "Your Name"
@B4nan
B4nan / 0_reuse_code.js
Created February 25, 2016 20:42
Here are some things you can do with Gists in GistBox.
// Use Gists to store code you would like to remember later on
console.log(window); // log the "window" object to the console
@B4nan
B4nan / Dockerfile
Last active May 25, 2021 09:22 — forked from jancurn/Dockerfile
Example of an Apify actor stored in a GitHub Gist.
# 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:16
# Copy all files and directories from the directory to the Docker image
COPY . ./