There have been multiple accounts created with the sole purpose of posting advertisement posts or replies containing unsolicited advertising.

Accounts which solely post advertisements, or persistently post them may be terminated.

Blaze ,

Thanks, crossposted to !linux

thingsiplay ,

I love such collections. But calling this one a one-liner is a bit of stretch:

`stty -icanon || stty -f /dev/stdin -icanon && perl -e ‘use strict; use Time::HiRes qw(usleep gettimeofday); use IO::Select; my $sel=IO::Select->new(); $sel->add(STDIN); my ($ts,$on,$t0,$td)=(0)x4; print “n”; while (1){ my $k=0; if($sel->can_read(.02)) {sysread(STDIN,$k,1)} my $t=int(gettimeofday100)/100; if($k eq “n”) {$on=0;$ts=0} $td=($ts+$t-$t0); if($on){printf “

Dirk ,
@Dirk@lemmy.ml avatar

This is just absurd and totally defines NOT as a one-liner in my book.

thingsiplay ,

Yeah, just because there is no newline character, does not make it a one liner. It does not even fit into one line and needs to be soft-broken into next line multiple times. And it includes a whole perl script. :D If anyone want to execute these complex lines, I would recommend to save as a script and let it autoformat to something readable.

  • All
  • Subscribed
  • Moderated
  • Favorites
  • [email protected]
  • random
  • lifeLocal
  • goranko
  • All magazines