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
/** | |
* 1. Update the labels JSON object. | |
* 2. Open web browsers | |
* 3. Navigate to desired GitHub repository. | |
* 4. Navigate to Issues tab. | |
* 5. Navigate to Labels link. | |
* 6. Open web browswer Developer Tools | |
* 7. Navigate to the Console window. | |
* 8. Copy and Paste the below code snippets into the Console window. | |
*/ |
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 on you labels pages | |
// eg https://github.com/cssnext/cssnext/labels | |
// paste this script in your console | |
// copy the output and now you can import it using https://github.com/popomore/github-labels ! | |
var labels = []; | |
[].slice.call(document.querySelectorAll(".label-link")) | |
.forEach(function(element) { | |
labels.push({ | |
name: element.textContent.trim(), |
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 | |
containers=$(docker ps -a -q) | |
# Stop all containers | |
if [ ! -n "$containers" ]; then | |
docker stop $containers | |
docker rm $containers | |
fi |