Navigation Menu

Skip to content

Instantly share code, notes, and snippets.

View ppineda32's full-sized avatar
🏠
Working from home

Pablo Pineda ppineda32

🏠
Working from home
  • Guatemala
View GitHub Profile
@ppineda32
ppineda32 / README.md
Last active September 9, 2022 00:24 — forked from lvcasjm/README.md
Twitch Auto Channel Points Clicker

Twitch Auto Channel Points Clicker

How to use with Chrome:

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.

@ppineda32
ppineda32 / script.ps1
Created May 14, 2018 02:16
Create from template. replace date field, replace image and make it inline attachement.
$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")
@ppineda32
ppineda32 / archivo.js
Created October 19, 2017 04:02
imprimir json y xml
'use-strict'
var dictionary = {};
function addValues(){
var llave = document.getElementById("llave").value;
var valor = document.getElementById("valor").value;
dictionary[llave] = valor;
}