- locate timelines via RPT API (Script 1)
- store result to file, convert to csv with powershell (Script 2)
- Import CSV with LibreOffice Calc because Excel and Outlook are too stupid to parse the timestamps properly
- save as CSV again, will use display values Outlook understands
- in outlook
- File → Open & Export → Import/Export
- Import from another program or file → Comma Separated Values
- Browse for your CSV file and choose destination folder
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<# | |
.SYNOPSIS | |
Gets a PowerShell Credential (PSCredential) from the Windows Credential Manager | |
.DESCRIPTION | |
This module will return a [PSCredential] object from a credential stored in Windows Credential Manager. The | |
Get-StoredCredential function can only access Generic Credentials. | |
Alias: GSC |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
cscript alldocx2pdf.vbs %1 | |
pause |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* | |
0 x..-1 | |
1 0..x | |
*/ | |
def test(index, myindex){ | |
ary = [ | |
/*0*/ 7, /*1*/ 8, /*2*/ 9, | |
/*3*/ 17, /*4*/ 18, /*5*/ 19] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
- hosts: AS | |
tasks: | |
- uri: | |
url: 'http://{{ inventory_hostname }}:9990/management' | |
url_username: '{{ jboss_eap_console_user }}' | |
url_password: '{{ jboss_eap_console_passwd }}' | |
method: POST | |
body_format: json | |
body: |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env bash | |
# integrate gitlab (shell) runner with jenkins scheduler | |
# uses flock filesystem locking for coordination | |
# the target is to ensure the gitlab runner obtains an jenkins executor so the machine where both runner and jenkins are running on is not | |
# overloaded while the resources can still be fully utilized. | |
# Christoph Schulz <christoph.2.schulz@atos.net> | |
# Aug 2020 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[null, "false", "true", "", "foo", "null", "0", "1", "2", "-1"].collectEntries { str -> | |
if(!str){ | |
[str, "empty"] | |
} else { | |
[str,"non-empty"] | |
} | |
} | |
// {null=empty, false=non-empty, true=non-empty, =empty, foo=non-empty, null=non-empty, | |
// 0=non-empty, 1=non-empty, 2=non-empty, -1=non-empty} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[Unit] | |
Description=Jenkins Node | |
[Service] | |
ExecStart=/var/lib/jenkins/launch-tcp.sh | |
User=jenkins |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# PowerShell-Based diffie-hellmann key exchange | |
# christoph.2.schulz@atos.net, Dec 2020. | |
# first, on both machines execute the script without parameters | |
# exchange public keys between machines | |
# on each machine run script again with (own) private key and (other) public key arguments set accordingly. | |
# inspired by https://gist.github.com/FrankSpierings/a5af505068073feea0ae | |
using namespace System.Security.Cryptography |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
cd $(dirname $0) | |
playlist=shuffled.xspf | |
cat >$playlist <<EOF | |
<?xml version="1.0" encoding="UTF-8"?> | |
<playlist version="1" xmlns="http://xspf.org/ns/0/"> | |
<trackList> |
OlderNewer