Skip to content

Instantly share code, notes, and snippets.

View MarcelMalik's full-sized avatar

Marcel MarcelMalik

View GitHub Profile

Keybase proof

I hereby claim:

  • I am marcelmalik on github.
  • I am marcelmalik (https://keybase.io/marcelmalik) on keybase.
  • I have a public key ASDpAu3rmde09tIRe7tA6-Zeeu1lj4K2K1QB_4vSG5oZ6go

To claim this, I am signing this object:

@MarcelMalik
MarcelMalik / robocopy.ps1
Created February 6, 2017 00:44 — forked from grenade/robocopy.ps1
Wrap robocopy in powershell to get standard (0/1) exit codes.
<#
.Synopsis
Robocopy wrapper with standard 0 (success) and 1 (failure) exit codes.
.Parameter source
Defines the source folder
.Parameter target
Defines the target folder
.Parameter include
Defines the files to include. Accepts wildcards. Eg: -include *.dll,*.pdb
Optional, Default value is $null and will include all files from source.
// Available variables:
// - Machine
// - interpret
// - assign
// - send
// - sendParent
// - spawn
// - raise
// - actions
@MarcelMalik
MarcelMalik / machine.js
Last active July 7, 2021 22:52
Generated by XState Viz: https://xstate.js.org/viz
const waterMachine = Machine({
id: 'water',
initial: 'liquid',
states: {
ice: {
on: {
HEAT: {
target: "liquid"
}
}