Assuming
- your project prefix is
EXAMPLE
- your JIRA installation is at
https://example.com/jira
then regex to match is
(EXAMPLE-(\d)*)
# This is what you'd expect - prints 1 | |
declare var | |
var=$(false) | |
echo $? | |
# This does not do what you'd expect - prints 0 | |
declare var2=$(false) | |
echo $? |
#!/usr/bin/env ruby | |
require 'nokogiri' | |
require 'optparse' | |
require 'resolv' | |
options = {} | |
OptionParser.new do |opts| | |
opts.banner = "Usage: google-dmarc-parser.rb [options]" |
import org.apache.commons.csv.CSVPrinter | |
import org.apache.commons.csv.CSVFormat | |
CSVPrinter printer = new CSVPrinter( | |
new PrintWriter("test.csv"), | |
CSVFormat.DEFAULT | |
) | |
answer = [ [5,6,"asdf",7],[9,10,"a b","z,x",12]] |
# A quick alias for those of us without such a command | |
tiff2png () | |
{ | |
local ifile=$1 | |
local ofile=$(dirname "${ifile}")/$(basename "${ifile}" .tiff).png | |
tifftopnm < "${ifile}"| pnmtopng > "${ofile}" | |
} |
function lgrep { | |
local str=$1 | |
find . -type f -not -path '*/.git/*' -exec grep -l ${str} {} \; | |
} |
<?xml version="1.0" encoding="UTF-16"?> | |
<Task version="1.2" xmlns="http://schemas.microsoft.com/windows/2004/02/mit/task"> | |
<RegistrationInfo> | |
<Date>2016-09-20T11:25:05.3204</Date> | |
<Author>SOMESERVER\Administrator</Author> | |
<Description>Simple reboot task</Description> | |
</RegistrationInfo> | |
<Triggers> | |
<TimeTrigger> | |
<StartBoundary>2016-09-21T06:00:00</StartBoundary> |
Verifying that +nicdoye is my blockchain ID. https://onename.com/nicdoye |
# replace with your variable name | |
variable=$(echo ${variable} 1 + f | dc) |
# Find all RPMs of libraries for binaries in this folder | |
rpm -qf $(ldd * | grep = | awk '{print $3}' | sort -u | grep ^/) | sort -u | |
# Similarly, for all .so files under this folder | |
rpm -qf $(find . -name \*.so -exec ldd {} \; | grep = | awk '{print $3}' | sort -u | grep ^/) | sort -u |