This file contains hidden or 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
| git config --global alias.recent "for-each-ref --sort=committerdate refs/heads/ --format='%(HEAD) %(color:yellow)%(refname:short)%(color:reset) - %(color:red)%(objectname:short)%(color:reset) - %(contents:subject) - %(authorname) (%(color:green)%(committerdate:relative)%(color:reset))'" | |
| git config --global alias.co checkout | |
| git config --global alias.br branch | |
| git config --global alias.ci commit | |
| git config --global alias.st status | |
| git config --global alias.cp cherry-pick |
This file contains hidden or 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
| using Microsoft.SharePoint.Client; | |
| using System; | |
| using System.Collections.Generic; | |
| using System.Linq; | |
| using System.Security; | |
| using System.Text; | |
| using System.Threading.Tasks; | |
| namespace SharePointOnlineTest { | |
| class Program { |
This file contains hidden or 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
| <?xml version="1.0" encoding="UTF-8"?> | |
| <con:soapui-project id="5bd9ce8d-2762-4c4f-ba6c-d8870f999878" activeEnvironment="Default" name="confluence" resourceRoot="" soapui-version="5.4.0" xmlns:con="http://eviware.com/soapui/config"><con:settings/><con:interface xsi:type="con:WsdlInterface" id="241b4ecf-ef3e-4ad5-b9dd-99f86f597f8c" wsaVersion="NONE" name="confluenceservice-v2SoapBinding" type="wsdl" bindingName="{http://localhost:8090/plugins/servlet/soap-axis1/confluenceservice-v2}confluenceservice-v2SoapBinding" soapVersion="1_1" anonymous="optional" definition="http://localhost:8090/rpc/soap-axis/confluenceservice-v2?wsdl" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><con:settings/><con:definitionCache type="TEXT" rootPart="http://localhost:8090/rpc/soap-axis/confluenceservice-v2?wsdl"><con:part><con:url>http://localhost:8090/rpc/soap-axis/confluenceservice-v2?wsdl</con:url><con:content><![CDATA[<wsdl:definitions targetNamespace="http://localhost:8090/plugins/servlet/soap-axis1/confluenceservice-v2" |
This file contains hidden or 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 | |
| Get access token for AAD web app. | |
| .Description | |
| Authorizes AAD app and retrieves access token using OAuth 2.0 and endpoints. | |
| Refreshes the token if within 5 minutes of expiration or, optionally forces refresh. | |
| Sets global variable ($Global:accessTokenResult) that can be used after the script runs. | |
| .Todo |
This file contains hidden or 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 | |
| out_dir="/home/ndipiazza/test-files/lots_of_small_text_files" | |
| mkdir -p "$out_dir" | |
| num_folders=10 | |
| num_files_in_folders=1000 | |
| for i in $(seq 1 $num_folders) | |
| do | |
| mkdir "$out_dir/$i" | |
| for j in $(seq 1 $num_files_in_folders) | |
| do |
This file contains hidden or 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
| apipkg==1.4 | |
| appdirs==1.4.3 | |
| asn1crypto==0.22.0 | |
| atomicwrites==1.1.5 | |
| attrs==18.1.0 | |
| awscli==1.10.58 | |
| azure-common==1.1.4 | |
| azure-nspkg==1.0.0 | |
| azure-storage==0.20.3 | |
| bcrypt==3.1.4 |
This file has been truncated, but you can view the full file.
This file contains hidden or 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
| [ { | |
| "revisionListGuid" : "{2CF11C0C-71AD-6F4E-BF76-E0E2AB84257D} [1]", | |
| "oneNoteType" : "Revision", | |
| "fileNode" : { | |
| "oneNoteType" : "FileNodePointer", | |
| "size" : 7, | |
| "offsets" : [ 0, 1 ], | |
| "children" : [ { | |
| "fileNodeBaseType" : "0x1", | |
| "oneNoteType" : "FileNode", |
This file contains hidden or 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 | |
| Retrieve SPOIDCR cookie for SharePoint Online. | |
| .Description | |
| Authenticates to the sts and retrieves the SPOIDCR cookie for SharePoint Online. | |
| Will use the custom IDP if one has been setup. | |
| Optionally, can use integrated credentials (when integrated is set to true) with ADFS using the windowsmixed endpoint. | |
| Results are formattable as XML, JSON, KEYVALUE, and by line. | |
| Makes global variables avaiable at the end of the run. |
This file contains hidden or 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
| apt update | |
| apt install openssl | |
| # edit me, MUST have trailing slash | |
| export fusion_host="http://192.168.1.199:8764/" | |
| export myip="$(hostname --ip-address)" | |
| echo '[ req ]' >> /usr/local/apache2/fusion.com.conf | |
| echo 'default_bits = 4096' >> /usr/local/apache2/fusion.com.conf |
This file contains hidden or 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
| { | |
| "enabled": true, | |
| "name": "trusted_http_realm", | |
| "realmType": "trusted-http", | |
| "roleNames": [ | |
| "admin" | |
| ], | |
| "config": { | |
| "autoCreateUsers": true, | |
| "identityKey": "iv-user", |