I hereby claim:
- I am philipsd6 on github.
- I am philipsd6 (https://keybase.io/philipsd6) on keybase.
- I have a public key whose fingerprint is 0CE0 D71F 0491 3A03 AF2A D02E E66F DBF7 D927 3C2C
To claim this, I am signing this object:
Loading configuration file /home/philipsd6/.config/pypoetry/config.toml | |
Loading configuration file /home/philipsd6/.config/pypoetry/auth.toml | |
Adding repository artifactory (https://internal-repository/api/pypi/pypi/simple) and setting it as the default one | |
Deactivating the PyPI repository | |
Using virtualenv: /home/philipsd6/.cache/pypoetry/virtualenvs/testing-poetry-7qidRo_f-py3.10 | |
Updating dependencies | |
Resolving dependencies... | |
1: fact: testing-poetry is 0.1.0 | |
1: derived: testing-poetry | |
1: fact: testing-poetry depends on fastapi (^0.68.0) |
[tool.poetry] | |
name = "testing-poetry" | |
description = "poetry update reinstalls same versions" | |
version = "0.1.0" | |
authors = ["Me <[email protected]>"] | |
readme = "README.md" | |
[tool.poetry.dependencies] | |
python = "^3.9" | |
fastapi = "^0.68.0" |
#compdef openstack aodh barbican ceilometer cinder cloudkitty designate glance gnocchi heat ironic keystone magnum manila mistral monasca murano neutr | |
# https://wiki.openstack.org/wiki/OpenStackClients | |
# http://docs.openstack.org/user-guide/common/cli-install-openstack-command-line-clients.html | |
local curcontext="$curcontext" state line expl ret=1 | |
local -a clnts_compl_new clnts_compl_old clnts_swift_like | |
# |
# Install tmux on rhel/centos 7 | |
# install deps | |
yum install gcc kernel-devel make ncurses-devel | |
# DOWNLOAD SOURCES FOR LIBEVENT AND MAKE AND INSTALL | |
curl -OL https://github.com/libevent/libevent/releases/download/release-2.0.22-stable/libevent-2.0.22-stable.tar.gz | |
tar -xvzf libevent-2.0.22-stable.tar.gz | |
cd libevent-2.0.22-stable | |
./configure --prefix=/usr/local |
# [Previewing Markdown Files from the Terminal][1] | |
# [1]: http://blog.metamatt.com/blog/2013/01/09/previewing-markdown-files-from-the-terminal/ | |
mdless () { | |
pandoc -s -f markdown -t man $1 | groff -T utf8 -man| grep -v '()$' | less | |
} |
# http://nparikh.org/notes/zshrc.txt | |
# Usage: smartextract <file> | |
# Description: extracts archived files / mounts disk images | |
# Note: .dmg/hdiutil is Mac OS X-specific. | |
smartextract () { | |
if [[ -f $1 ]]; then | |
case $1 in | |
*.tar.bz2) tar -jxvf $1 ;; | |
*.tar.gz) tar -zxvf $1 ;; | |
*.bz2) bunzip2 $1 ;; |
# complete words from tmux pane(s) {{{1 | |
# Source: http://blog.plenz.com/2012-01/zsh-complete-words-from-tmux-pane.html | |
_tmux_pane_words() { | |
local expl | |
local -a w | |
if [[ -z "$TMUX_PANE" ]]; then | |
_message "not running inside tmux!" | |
return 1 | |
fi | |
# capture current pane first |
I hereby claim:
To claim this, I am signing this object:
# https://gist.github.com/philipsd6/3646b2856d2d6aaa2826 | |
import dropboxlogin |
gitlab-dirs: | |
file.directory: | |
- names: | |
- gitlab-satellites | |
- gitlab/tmp/pids | |
- gitlab/tmp/sockets | |
- gitlab/public/uploads | |
- user: git | |
- group: git | |
- mode: 755 |