Skip to content

Instantly share code, notes, and snippets.

View jkfran's full-sized avatar
🏠
Working from home

Francisco Jiménez Cabrera jkfran

🏠
Working from home
View GitHub Profile
@jkfran
jkfran / ubuntu-sleep.yaml
Created July 27, 2023 12:47 — forked from tcdowney/ubuntu-sleep.yaml
Ubuntu Sleep Pod
apiVersion: v1
kind: Pod
metadata:
name: ubuntu
labels:
app: ubuntu
spec:
containers:
- image: ubuntu
command:
@jkfran
jkfran / import-github-labels.js
Last active July 31, 2020 12:53 — forked from Isaddo/import-github-labels.js
import github labels via console command
/*
Go on your labels page (https://github.com/user/repo/labels)
Edit the following label array
or
Use this snippet to export github labels (https://gist.github.com/MoOx/93c2853fee760f42d97f)
and replace it
Paste this script in your console
Press Enter!!
@jkfran
jkfran / export-github-labels.js
Last active March 24, 2020 17:25 — forked from MoOx/index.js
Export/import github labels
// 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(".js-label-link"))
.forEach(function(element) {
labels.push({
name: element.textContent.trim(),