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
#!/bin/bash | |
set -eu | |
export SNAP_NAME="microk8s" | |
export SNAP_DATA="/var/snap/microk8s/current/" | |
export SNAP="/snap/microk8s/current/" | |
export PATH="$SNAP/usr/sbin:$SNAP/usr/bin:$SNAP/sbin:$SNAP/bin:$PATH" | |
source $SNAP/actions/common/utils.sh |
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
Go to Bitbucket and create a new repository (its better to have an empty repo) | |
git clone [email protected]:abc/myforkedrepo.git | |
cd myforkedrepo | |
Now add Github repo as a new remote in Bitbucket called "sync" | |
git remote add sync [email protected]:def/originalrepo.git | |
Verify what are the remotes currently being setup for "myforkedrepo". This following command should show "fetch" and "push" for two remotes i.e. "origin" and "sync" | |
git remote -v |
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
% Many a time we have HTML articles published across multiple pages. | |
% And sometimes we want to print all those pages as one PDF. | |
% Here is how to do it: | |
% - Print into PDF from the browser into files like p01.pdf, p02.pdf etc | |
% - Use LaTeX to assemble these into one PDF. | |
% | |
% Here is the example. The \includepdf command supports scaling too, | |
% and I'm sure some other interesting commands as well. | |
% | |
% [copylifted from: http://yusung.blogspot.com/2007/02/combine-several-pdf-files-using-latex.html] |