I'm very busy

$ cat /dev/urandom | hexdump -C | grep "ca fe"

Press Any Key to Continue

$ read -sn 1 -p "Press any key to continue..." && echo "\n"
Press any key to continue...\n

Simulate type mechine [Pretty Cool!!]

$ sudo apt-get intall pv
$ echo "Very very very very very long words" | pv -qL $[10+(-2 + RANDOM%5)]

# or
$ sudo apt-get install randtype
$ echo "Very very very very very long words" | randtype -m 4

Get how many days left this years

$ echo "There are $(($(date +%j -d"Dec 31, $(date +%Y)")-$(date +%j))) left in year $(date +%Y)."
There are 323 left in year 2014.

Get week number

$ date +"%V"
08

DOS tree

$ find . -print | sed -e 's;[^/]*/;|____;g;s;____|; |;g'
.
|____a_b
|____b_a

Set Volume by command

$ pacmd set-sink-volume 0 0x10000
Welcome to PulseAudio! Use "help" for usage information.

cat and tac

$ cat a_b
1
2
3
$ tac a_b
3
2
1

ASCII chart

$ figlet Marslo
 __  __                _
|  \/  | __ _ _ __ ___| | ___
| |\/| |/ _` | '__/ __| |/ _ \
| |  | | (_| | |  \__ \ | (_) |
|_|  |_|\__,_|_|  |___/_|\___/

Char chart

$ toilet marslo
                             ""#
 mmmmm   mmm    m mm   mmm     #     mmm
 # # #  "   #   #"  " #   "    #    #" "#
 # # #  m"""#   #      """m    #    #   #
 # # #  "mm"#   #     "mmm"    "mm  "#m#"

Hate someone

┌─ (marslo@MarsloJiao ~) ->
└─ $ :(){ :|: &  };:

Star war

┌─ (marslo@MarsloJiao ~) ->
└─ $ telnet towel.blinkenlights.nl
Copyright © marslo 2020-2023 all right reserved,powered by GitbookLast Modified: 2024-03-27 16:56:11

results matching ""

    No results matching ""