Skip to content

Instantly share code, notes, and snippets.

Avatar
👋
😬 👋

Alexander Caba cabaalexander

👋
😬 👋
View GitHub Profile
@cabaalexander
cabaalexander / trello-card-number.js
Last active Oct 6, 2020
This is a javascript code for showing the ticket number on the trello board ;)
View trello-card-number.js
// this is taken from here:
// https://dev.to/rfornal/creating-a-document-fragment-5g7l
let fragmentFromString = (stringHTML) => {
let temp = document.createElement('template')
temp.innerHTML = stringHTML
return temp.content
}
let createNumberLabel = (content) => fragmentFromString(`
<span
View keybase.md

Keybase proof

I hereby claim:

  • I am cabaalexander on github.
  • I am cabaalexander (https://keybase.io/cabaalexander) on keybase.
  • I have a public key ASD1l0yivNkJCaDGRsxDxHUDN9sD4LKwp7isS7axfC_T6go

To claim this, I am signing this object:

@cabaalexander
cabaalexander / curl.md
Created Jul 9, 2018 — forked from subfuzion/curl.md
curl POST examples
View curl.md

Common Options

-#, --progress-bar Make curl display a simple progress bar instead of the more informational standard meter.

-b, --cookie <name=data> Supply cookie with request. If no =, then specifies the cookie file to use (see -c).

-c, --cookie-jar <file name> File to save response cookies to.

@cabaalexander
cabaalexander / tmux.md
Created Dec 30, 2017 — forked from andreyvit/tmux.md
tmux cheatsheet
View tmux.md

tmux cheat sheet

(C-x means ctrl+x, M-x means alt+x)

Prefix key

The default prefix is C-b. If you (or your muscle memory) prefer C-a, you need to add this to ~/.tmux.conf:

# remap prefix to Control + a
You can’t perform that action at this time.