1: Open Dev tools (Command + Option + J on Mac, Control + Shift + J on Windows).
2: Navigate to Sources tab.
3: Open Snippets.
4: Add a new snippet, give it a name (anything you want), copy the function from getTwitchChannelPoints.js
and paste it into the newly created snippet.
5: Run the snippet.
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
$attachment = Get-Item C:\Users\Akabane\Desktop\2018-05-05_19-20-53.png | |
$ol = New-Object -comObject Outlook.Application | |
$mail = $ol.CreateItemFromTemplate('C:\Users\Akabane\Desktop\ajajajajaj.oft') | |
$mail.HTMLBody = $mail.HTMLBody.Replace('#FECHA#', '10/25/15') | |
$mail.HTMLBody = $mail.HTMLBody.Replace('#IMAGEN#', '<br /><img src="{0}" />' -f ($attachment.Name)) | |
$attach = $mail.Attachments.Add($attachment.FullName) | |
$attach.PropertyAccessor.SetProperty("http://schemas.microsoft.com/mapi/proptag/0x3712001F", "2018-05-05_19-20-53.png") |
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
'use-strict' | |
var dictionary = {}; | |
function addValues(){ | |
var llave = document.getElementById("llave").value; | |
var valor = document.getElementById("valor").value; | |
dictionary[llave] = valor; | |
} |