https://myjira.local/rest/api/2/field
jira.transition_issue(issue, '81',fields={'customfield_XXXXX': "SomeStringValue"}) #Move to State 81 with mandatory field customfield_XXXXX
def ReadSVNLog(BaseRev,rev,variant): | |
FoundRev = "" | |
p = subprocess.Popen("svn log --stop-on-copy -r HEAD:{} --search r{} https://mysvn/{}".format(BaseRev,rev,variant) , stdout=subprocess.PIPE, shell=True) | |
for stdout_line in p.stdout: #Loop on lines printed to stdout | |
tmp = re.findall(r'r\d+\s|',str(stdout_line.decode('utf-8')))[0] #This is to match rXXXXX in commit msg header | |
if len(tmp) > 1: #at least rXXXXX | |
FoundRev = tmp.replace('r','').rstrip() | |
print("Debug {}".format(FoundRev)) | |
if rev in str(stdout_line): | |
p.stdout.close() |
https://myjira.local/rest/api/2/field
jira.transition_issue(issue, '81',fields={'customfield_XXXXX': "SomeStringValue"}) #Move to State 81 with mandatory field customfield_XXXXX
<!doctype html> | |
<html lang="en"> | |
<head> | |
<style> | |
html,body{ | |
height: 100%; | |
} | |
.container-fluid{ | |
background: red; |
set HTTP_PROXY=http://username:pAssw0rd@100.100.10.10:8080
set HTTPS_PROXY=https://username:pAssw0rd@100.100.10.10:8080
format: http://username:password@proxy_address:port
example: http://username:pAssw0rd@100.100.10.10:8080
using System; | |
using System.Runtime.InteropServices; | |
using Microsoft.Win32.SafeHandles; | |
using System.IO; | |
namespace heri16 | |
{ | |
/// <summary> | |
/// Static class to help Start a GUI/Console Windows Process as any user that is logged-in to an Interactive Terminal-Session (e.g. RDP). |
Angular Firebase (channel): | |
https://www.youtube.com/channel/UCsBjURrPoezykLs9EqgamOA/search?query=firestore | |
Quick Start: | |
https://angularfirebase.com/lessons/firestore-with-angularfire-basics/ | |
OAuth (Google, fb, etc.) Sign-in: | |
https://angularfirebase.com/lessons/google-user-auth-with-firestore-custom-data/ | |
Python SDK (maybe used on RPi) |
@echo off | |
TITLE "Windows 7 USB installer by MOHAMED EL-SHAHAWI" | |
set _DVD=H: | |
:Menu | |
CLS | |
echo. | |
echo. Windows 7 USB installer | |
echo. |
.\CompilerSim.exe | foreach-object -process { | |
switch ($_){ | |
{ $_.tolower().contains("warning")} {Write-Host $_ -foregroundColor Yellow} | |
{ $_.tolower().contains("error")} {Write-Host $_ -foregroundColor Red} | |
default {Write-Host $_ -foregroundColor White} | |
} | |
} | |
#Ref: https://stackoverflow.com/a/9530314/2747089 |
Add Submodule to repo: | |
git add submodule http://---- source/ | |
Add All Changes | |
git add . | |
Add Some files only | |
git add <filename> <filename2> | |
Open VIM for commit message before commit: |