Skip to content

Instantly share code, notes, and snippets.

View p1nox's full-sized avatar

Raul Pino p1nox

View GitHub Profile
@p1nox
p1nox / ipfs.md
Created March 20, 2019 04:27
IPFS
@p1nox
p1nox / git-secret.sh
Last active May 17, 2020 05:08
git secret cmds
# 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 December 23, 2018 13:41 — forked from yuvadm/spacemacs_for_sublime.MD
Spacemacs 101 for Sublime users

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

# install node with official installer or
brew install n

sudo chown -R $USER /usr/local/lib/node_modules
@p1nox
p1nox / python.md
Last active May 10, 2023 06:46
Python notes

osx

brew install python
brew install python@3.7

brew install pyenv
pyenv install 3.6.5
pyenv global 3.6.5
@p1nox
p1nox / docker-cleanup-resources.md
Created June 21, 2018 22:30 — forked from bastman/docker-cleanup-resources.md
docker cleanup guide: containers, images, volumes, networks

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

@p1nox
p1nox / linux.md
Last active August 31, 2021 22:52
@p1nox
p1nox / Dockerfile
Last active March 18, 2018 17:15
Set Jitsi server
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