4 ms·
PowerShell for those on Windows: for (;;) { write-host -n (get-random ╱,╲) } Obviously this requires a font supporting those characters. MS Mincho seems to se
by halter73 14y ago
PowerShell for those on Windows:
for (;;) { write-host -n (get-random ╱,╲) }
Obviously this requires a font supporting those characters. MS Mincho seems to serve well: http://www.microsoft.com/typography/fonts/font.aspx?FMID=206 http://www.microsoft.com/typography/fonts/font.aspx?FMID=206
- ygra 14y agoYou can also just use for(){...}. No need for the semicolons there.
- cocoflunchy 14y agoIf you don't want to install a font, you can use slashes. Works pretty well. for (;;) { write-host -n (get-random /,\) } It's kind of nice with _ and | too : for (;;) { write-host -n (get-random '_','|') }