I hereby claim:
- I am squid808 on github.
- I am squid808 (https://keybase.io/squid808) on keybase.
- I have a public key ASANGxPrsCZMJaBa4SrJqL5wQQBDJ8kfdIiUOyjSSgKNmgo
To claim this, I am signing this object:
I hereby claim:
To claim this, I am signing this object:
<# | |
.Synopsis | |
Gets the unicode characters for a given string | |
.DESCRIPTION | |
When using Hotstrings in AutoHotKey certain things need to be in unicode, like emojis. | |
This returns a properly formatted unicode set for that particular use. It's silly. | |
.EXAMPLE | |
Get-EmojiUnicode "ᕕ( ᐛ )ᕗ" | |
C:> {U+1555}{U+0028}{U+0020}{U+141B}{U+0020}{U+0029}{U+1557} | |
.NOTES |
<# | |
This is regarding the code generated here: | |
https://github.com/squid808/CanvasApis | |
The generated method for this function doesn't appropriately handle the | |
uploading of files, it instead needs to be handled specially to allow the | |
multipart/form-data type to contain both body params and the file itself | |
#> | |
function Post-CanvasSisImports { | |
[CmdletBinding()] |
I hereby claim:
To claim this, I am signing this object:
Add-Type -assembly “system.io.compression" | |
Import-Module gShell #https://github.com/squid808/gShell/ | |
$Desktop = $env:USERPROFILE + "\Desktop" | |
function ExtractGzAttachmentToXml ([byte[]]$ByteArray){ | |
try { | |
$CompressedStream = New-Object System.IO.MemoryStream -ArgumentList @(,$Bytes) | |
$ZipStream = New-Object System.IO.Compression.GZipStream ` |
using System.Collections.Generic; | |
using gShell.dotNet.Utilities.OAuth2; | |
using Google.Apis.Auth.OAuth2; | |
using Google.Apis.Admin.Directory.directory_v1; | |
namespace gShell_dotNetExample | |
{ | |
class Program |
{ | |
"kind": "discovery#restDescription", | |
"etag": "", | |
"discoveryVersion": "", | |
"id": "admin:emailsettings_v1", | |
"name": "admin", | |
"canonicalName": "emailsettings", | |
"version": "emailsettings_v1", | |
"revision": "20160313", | |
"title": "Admin Email Settings API", |
Import-Module PagerDuty | |
#TAKE ANOTHER LOOK AT THE INCIDENTS GET/SET | |
try { | |
#Test creating new things | |
Write-Host -ForegroundColor Green -Object "Testing New-PagerDutyUser" | |
$NewUser1 = New-PagerDutyUser -Name "New TestUser1" -Email "newTestUser1@somefakedomain.com" | |
$NewUser2 = New-PagerDutyUser -Name "New TestUser2" -Email "newTestUser2@somefakedomain.com" | |
$NewUser3 = New-PagerDutyUser -Name "New TestUser3" -Email "newTestUser3@somefakedomain.com" |