Skip to content

Instantly share code, notes, and snippets.

@j0n3
j0n3 / Dockerfile
Created November 13, 2021 12:55 — forked from lenalebt/Dockerfile
Installing Taskwarrior in Kubernetes
FROM ubuntu:18.04
RUN apt-get update && apt-get -y upgrade
RUN apt-get install -y taskd
CMD taskd server
@j0n3
j0n3 / gist:45113a31f0192915e83881bcbe7cd778
Created November 13, 2021 12:35 — forked from graymouser/gist:8771fdcf0d7715929073b4f8b6143b40
Setup taskwarrior taskserver on ec2 amazon linux
#A sequence for installing a taskwarrior server on an ec2 amazon linux instance
#hopefully this can save someone a bunch of time
#FIRST go to the ec2 instance management panel,
#edit the security group for the instance and add an inbound rule, custom tcp, port 53589, source anywhere (0.0.0.0/0)
#THEN ssh to the box as ec2-user and run the following
#build taskserver
sudo yum install gcc cmake gnutls-devel gnutls-utils libuuid-devel clang
curl -O http://taskwarrior.org/download/taskd-latest.tar.gz

Keybase proof

I hereby claim:

  • I am j0n3 on github.
  • I am j0n3 (https://keybase.io/j0n3) on keybase.
  • I have a public key ASAhsRYQcoi8y_yOJZyi_t-9gYd7YGjPgB7NoicnbvXzuAo

To claim this, I am signing this object:

@j0n3
j0n3 / mimimify.md
Last active December 31, 2020 16:50
Mimimify

Mimify text

This substitutes any vowel with an 'i'

Javascript bookmarklet:

Add it to your browser bookmarks. Mimimifies selected text or opens a popup window if none selected

javascript:sel = %22%22 + (window.getSelection ? window.getSelection() : document.getSelection ? document.getSelection() : document.selection.createRange().text); if (!sel) sel = prompt(%22Select text to mimimify:%22, %22%22); if (sel!=null) alert(sel.replace(/[aeiouAEIOU]/g, 'i')); void 0
@j0n3
j0n3 / Generate Squash Classes.groovy
Created October 17, 2018 16:10 — forked from pabl0rg/Generate Squash Classes.groovy
Generate Squash classes from existing DB table
import com.intellij.database.model.DasTable
import com.intellij.database.model.ObjectKind
import com.intellij.database.util.Case
import com.intellij.database.util.DasUtil
/*
* Available context bindings:
* SELECTION Iterable<DasObject>
* PROJECT project
* FILES files helper
@j0n3
j0n3 / living-in-a-console.md
Last active November 13, 2021 12:57
Living in a Linux console

living in a linux console

This is a compilation of tips and tricks, tools and shortcuts for those who enjoy living inside a terminal.

I use debian + gnome3 + terminator + zsh + oh-my-zsh and some commands could not work on all terminals.

Bash shortcuts

(from http://www.skorks.com/2009/09/bash-shortcuts-for-maximum-productivity/)

Command Editing Shortcuts

@j0n3
j0n3 / raspberrypi_motion.md
Last active April 28, 2018 13:17
Crear cámara de seguridad con una raspberry pi, una webcam, motion... sobre https

Raspberry pi + motion + nginx + ssl (headless)

  • Crear una cámara de seguridad usando una raspberry pi 3 y una webcam

Características

  • Instalación headless (no se necesita teclado ni pantalla para hacer la instalación)
  • Visualización en tiempo real de la webcam (web, vlc, android ipcam)
  • Acceso con password
  • Detección de movimiento y grabación de eventos
@j0n3
j0n3 / vim-basics.md
Last active January 14, 2019 20:20

Introducción

Este documento son sólo mis notas para hacer una charla/práctica de introducción a Vim. No está pensado como cheatsheet pero puede que lo vaya retocando para que pueda ser usado como tal.

Historia

Moolenaar publicó Vim por primera vez (v1.14) en 1991.
Vim se basó en un editor anterior, Stevie, para el Atari ST
y blablabla... (Wikipedia)
  • ¿Por qué vim?
  • Editor universal