Download JIRA attachments with Python

Download JIRA attachments with Python

I’m working in some automation and one of the things I needed to solve was a script to download JIRA attachments with Python, here’s how I did it. Using the REST API of JIRA and some python modules: We start defining the she-bang, author, modules and...
Inherit shell environment in python for bash subshell

Inherit shell environment in python for bash subshell

While executing a bash subshell inside a Python script I had to inherit the environment variables, that can be done in this way: Bashrc Shell $ cat ~/.bashrc |grep LOLO export LOLO="/foo/bar" 12 $ cat ~/.bashrc |grep LOLOexport LOLO="/foo/bar" *Here you need to...
Undeletable files in Cygwin or GIT

Undeletable files in Cygwin or GIT

Today I’ve come across a weird an annoying problem “a undeletable file” in Windows that was created while using a shell script in Cygwin. The file had owner:  “Unknown+User” and group:  “Unknown+Group” making virtually...
Different Cygwin usages

Different Cygwin usages

Change Cygwin’s user I’ve tried looking for an option like “login” but didn’t work for me. As a workaround I use this: #using RUNAS runas /user:<HOSTNAME>\<USER> D:\cygwin-64\Cygwin.bat #using PSEXEC psexec \\computername -u...
How to fix Cygwin Warning: Input is not from a terminal

How to fix Cygwin Warning: Input is not from a terminal

If you are experiencing this messages: Vim cygwin Warning: Input is not from a terminal cygwin Warning: Output is not from a terminal 12 cygwin Warning: Input is not from a terminalcygwin Warning: Output is not from a terminal Using GIT or just vim only, here’s...