Skip to content

Instantly share code, notes, and snippets.

View HelloWorld-n's full-sized avatar
:electron:
things.each((thing) => {thing.make();})

const value = (()=>"Hello, world!\n")() HelloWorld-n

:electron:
things.each((thing) => {thing.make();})
View GitHub Profile
@Ramo-Y
Ramo-Y / AppendCreationDateToFolders.ps1
Last active April 13, 2024 13:33
This script appends the creation date to a folders name in the ISO8601 format (yyyy-MM-dd) if it's not already named like this
<#
.SYNOPSIS
Append creation date to folders
.DESCRIPTION
This script appends the creation date to a folders name in the ISO8601 format (yyyy-MM-dd) if it's not already named like this
.PARAMETER rootDir
Root directory where the renaming should start
#>
[CmdletBinding()]
using System.Text;
var helloWorld = new HelloWorld();
helloWorld.WriteLine(Console.Out);
/* Output: Hello, World! */
public sealed class HelloWorld:CursedQueue<char> {
public HelloWorld() {
_ = 'H'; _ = 'e'; _ = 'l'; _ = 'l'; _ = 'o'; _ = ','; _ = ' ';
_ = 'W'; _ = 'o'; _ = 'r'; _ = 'l'; _ = 'd'; _ = '!';
public readonly struct @object {
private readonly object value;
private @object(object value) => this.value = value;
public bool HasValue => value != null;
public object _ => value;
public static implicit operator bool (@object value) => value.HasValue;
public static implicit operator @object (int value) => new @object(value);