Skip to content

Instantly share code, notes, and snippets.

@owns
owns / myjavahttpadapter.py
Last active June 15, 2022 19:07
Jython (Java) HTTPAdapter for Python's Requests module for skipping SSL verification in Java.
"""
owns
2015-04-06
Jython (Java) HTTPAdapter for Python's Requests module for skipping SSL
verification in Java.
This doesn't completely implement Requests' HTTPAdapter send method -
not all arguments are used. This is just a quick fix for development.
"""
try:
import java.net.Proxy as Proxy # @UnresolvedImport
CLS
<# list .net installed versions
[System.Environment]::Version()
Get-ChildItem 'HKLM:\SOFTWARE\Microsoft\NET Framework Setup\NDP' -recurse |
Get-ItemProperty -name Version,Release -EA 0 |
Where { $_.PSChildName -match '^(?!S)\p{L}'} |
Select PSChildName, Version, Release
#>
function Using-Object
{
@owns
owns / BPA Object - SharePoint CSOM.xml
Last active July 30, 2018 07:10
Blue Prism Object - Interact with SharePoint using CSOM
<process name="SharePoint CSOM" version="1.0" bpversion="6.1.0.992" narrative="interact with SharePoint using CSOM" type="object" runmode="Background" preferredid="dd74132c-8cd8-456a-9fa0-b6a370c01871">
<appdef>
<element name="Application Root">
<id>4931ccac-96a9-4d14-b12e-bdb23f0c3270</id>
<type>Application</type>
<basetype>Application</basetype>
<datatype>unknown</datatype>
<diagnose>False</diagnose>
</element>
</appdef>