Skip to content

Instantly share code, notes, and snippets.

Raul Pino p1nox

Block or report user

Report or block p1nox

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
@p1nox
p1nox / git-secret.sh
Last active Jan 22, 2019
git secret cmds
View git-secret.sh
# https://confluence.atlassian.com/bitbucketserver/using-gpg-keys-913477014.html
# generate your gpg keys
gpg --gen-key
# fill prompt questions
gpg --list-keys
gpg --list-secret-keys --keyid-format LONG
# import/export keys: https://www.debuntu.org/how-to-importexport-gpg-key-pair/
# show hash id of your keys
@p1nox
p1nox / spacemacs_for_sublime.MD
Created Dec 23, 2018 — forked from yuvadm/spacemacs_for_sublime.MD
Spacemacs 101 for Sublime users
View spacemacs_for_sublime.MD

This is a quick tutorial on how to start using Spacemacs coming from Sublime Text.

After installing Spacemacs, boot it up:

$ emacs

Open up a file by hitting SPACE f f, you can then locate and open a file by path with tab completion and ending with ENTER

View node.md
@p1nox
p1nox / python.md
Last active Feb 15, 2019
python 2 and 3 on osx
View python.md

osx

brew install python

alias python='python3'
alias pip='pip3'

pip install virtualenv
@p1nox
p1nox / docker-cleanup-resources.md
Created Jun 21, 2018 — forked from bastman/docker-cleanup-resources.md
docker cleanup guide: containers, images, volumes, networks
View docker-cleanup-resources.md

Docker - How to cleanup (unused) resources

Once in a while, you may need to cleanup resources (containers, volumes, images, networks) ...

delete volumes

// see: https://github.com/chadoe/docker-cleanup-volumes

$ docker volume rm $(docker volume ls -qf dangling=true)
$ docker volume ls -qf dangling=true | xargs -r docker volume rm
View linux.md
@p1nox
p1nox / Dockerfile
Last active Mar 18, 2018
Set Jitsi server
View Dockerfile
FROM ubuntu:16.04
MAINTAINER jitsi-meet <jitsi@meet.com>
ARG DEBIAN_FRONTEND=noninteractive
# we want python to output everything that's printed inside the app rather than buffering it
# ENV PYTHONUNBUFFERED 1
# update apt-get
RUN apt-get update
RUN apt-get install -y htop vim wget curl apt-transport-https
You can’t perform that action at this time.