Skip to content

Instantly share code, notes, and snippets.

@jporcenaluk
jporcenaluk / backup_endnote.ps1
Last active March 2, 2024 16:25
Endnote Backup And Compress Powershell
# https://learn.microsoft.com/en-us/powershell/module/microsoft.powershell.archive/compress-archive?view=powershell-7.4
$source = "C:\Users\foo\endnote"
$destination = "C:\Users\foo\OneDrive\Personal\Projects\University\endnote_backup"
$date = Get-Date -Format "yyyyMMdd"
$zipFile = "$destination\endnote_backup_$date.zip"
$maxBackups = 10
$compress = @{
Path = $source
CompressionLevel = "Fastest"
@jporcenaluk
jporcenaluk / machine.js
Created April 27, 2021 09:20
Generated by XState Viz: https://xstate.js.org/viz
// Available variables:
// - Machine
// - interpret
// - assign
// - send
// - sendParent
// - spawn
// - raise
// - actions
@jporcenaluk
jporcenaluk / machine.js
Last active April 19, 2021 20:55
Generated by XState Viz: https://xstate.js.org/viz
// Available variables:
// - Machine
// - interpret
// - assign
// - send
// - sendParent
// - spawn
// - raise
// - actions
@jporcenaluk
jporcenaluk / machine.js
Created April 14, 2021 19:12
Generated by XState Viz: https://xstate.js.org/viz
// Available variables:
// - Machine
// - interpret
// - assign
// - send
// - sendParent
// - spawn
// - raise
// - actions
@jporcenaluk
jporcenaluk / machine.js
Last active March 19, 2021 14:44
Generated by XState Viz: https://xstate.js.org/viz
// Available variables:
// - Machine
// - interpret
// - assign
// - send
// - sendParent
// - spawn
// - raise
// - actions
@jporcenaluk
jporcenaluk / machine.js
Created March 15, 2021 14:54
Generated by XState Viz: https://xstate.js.org/viz
// Available variables:
// - Machine
// - interpret
// - assign
// - send
// - sendParent
// - spawn
// - raise
// - actions
@jporcenaluk
jporcenaluk / machine.js
Last active March 12, 2021 20:30
Generated by XState Viz: https://xstate.js.org/viz
// Available variables:
// - Machine
// - interpret
// - assign
// - send
// - sendParent
// - spawn
// - raise
// - actions
@jporcenaluk
jporcenaluk / machine.js
Last active March 9, 2021 16:49
Generated by XState Viz: https://xstate.js.org/viz
// Available variables:
// - Machine
// - interpret
// - assign
// - send
// - sendParent
// - spawn
// - raise
// - actions
// Available variables:
// - Machine
// - interpret
// - assign
// - send
// - sendParent
// - spawn
// - raise
// - actions
@jporcenaluk
jporcenaluk / machine.js
Last active June 10, 2020 23:20
Generated by XState Viz: https://xstate.js.org/viz
// Available variables:
// - Machine
// - interpret
// - assign
// - send
// - sendParent
// - spawn
// - raise
// - actions