This file contains 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 System.Linq; | |
using EPiServer.DataAbstraction; | |
using EPiServer.PlugIn; | |
using EPiServer.Scheduler; | |
namespace Web.ScheduledJobs | |
{ | |
[ScheduledPlugIn( | |
DisplayName = "Remove unused properties on content types", | |
Description = "", |
This file contains 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
$source = "" | |
$apikey = "" | |
$feed = "" | |
Get-ChildItem $source -Filter *.nupkg | | |
Foreach-Object { | |
Invoke-Expression ("nuget.exe push -Source {0} -ApiKey {1} '{2}'" -f $feed, $apikey, $_.FullName) | |
} |
This file contains 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
(() => { | |
let csvContent = "data:text/plain;charset=utf-8,"; | |
$('.riaf-datatable-contents').each((key, value) => { | |
let row = $(value); | |
let dateSplit = row.find('.riaf-datatable-column-date').text().split('-'); | |
let date = `${dateSplit[2]}/${dateSplit[1]}/${dateSplit[0]}`; | |
let text = row.find('.riaf-datatable-column-text').first().text(); | |
let amount = parseFloat(row.find('.riaf-datatable-column-amount').text().replace(',', '.')); | |
let isDebit = row.find('.riaf-datatable-column-crdb').find('.riaf-datatable-icon-crdb-db')[0] !== undefined; |