@cirrus where do you get the quotes that you post all day? 😂
32596
@unixb0y @cirrus some sound like the "fortune" command found in Linux...
32606
@unixb0y yup schmidt_fu is correct
#!/bin/bash
FORT=$(fortune -s -n 138 -e linux)
/usr/local/bin/texnut -status="$FORT"
34015
@cirrus haha lol I didn't knew sth like that existed 😉
34016
@unixb0y and there's
#!/bin/bash
FACT=$(wget randominsults.net -O - 2>/dev/null | grep \<strong\> | sed "s;^.*<i>\(.*\)</i>.*$;\1;")
/usr/local/bin/texnut -status="⚂⚃⚄ $FACT"
34018
@cirrus let me try this on mac :D
34019
@unixb0y pretty sure it works on osx, i have mavericks on this pc (hackintosh obv) pkg *might* be called fortune-mod
34021
@cirrus can you paste the version without the posting to pnut part? :D
34022
@unixb0y if you installed fortune and or fortune mod, just run fortune fortune -h for halp.
34024
@cirrus I see :D Unknown command 😉
34025
@unixb0y ill boot into osx m8 gimme 5 mins i get bck to ya
34028
34030
34031
@cirrus thanks 😊 The other one works, too 👍
34041
@unixb0y so fortune runs ok here in osx, you sorted ? you got em both to work ? fortune has some extensions you can use, as u see i use -e linux but theres loads, star wars, family guy, breaking bad etc etc
34049
@unixb0y some folks use it as a motd in there ~/.bashrc or ~/.zshrc just put the fortune command in the line above your PS1
34052
[Deleted]
34053
@der_Jeff nah @unixb0y is smart enough to /dev/null the /usr/local/bin/texnut -status="$FORT" line ;)
34057
[Deleted]
34058
@der_Jeff be warned, I could take @gr8h8m8 from Twitter and it'll chase you :P @cirrus
34064
@unixb0y @der_Jeff anything but the @Big_Ben_clock :D
34066
[Deleted]
34067
@der_Jeff it spams the time every hour on the hour using ttytter @unixb0y
34073
@der_Jeff well he uses unix so ..,… @unixb0y
34069
[Deleted]
34070
@der_Jeff *cough* #linux (sais the guy who is using mavericks) @unixb0y
34071
@cirrus @der_Jeff I really like the mac and the underlying infrastructure :)
34077
@unixb0y @der_Jeff well i MUCH prefer it to windows, being an #archlinux user for the past 5 years or so, everything else just seems like bloat :P
34083
[Deleted]
34090
@der_Jeff @cirrus how is it a mix of _WINDOWS_??? 😂😂😂😂
34094
[Deleted]
34098
@der_Jeff okay that's the only windows thing you get on mac :P The system itself doesn't have anything to do with that crap :D @cirrus
34100
@unixb0y I didnt say that, i dont see it @der_Jeff
34120
@unixb0y hey bro, thought you would like hackersays, similar to fortune mod
it's a rubygem, to install in your ~ ( gem install --user-install hackersays)
remember and put ~/.gem/ruby/2.*.* in your $PATH
https://github.com/jarmo/hackersays

35272
@cirrus Thanks bro :D
35349
@unixb0y NO sir, thank you for prompting me to boot into Mavericks earlier, there was a rake of stuff needing updates.
35355
@cirrus haha no problem :D
35356
@der_Jeff Oh i not a fan of windows at all, even with their new linux/bash implemtation
but yeah each has its pro's and con's, use the best tool for the job in hand.
@unixb0y
34103
@cirrus I have to keep saying: the windows system itself doesn't have any pros.. Though there are reasons to use it: software that is windows-exclusive: games and some business software because back in the day windows seems to have been cool @der_Jeff
34107
[Deleted]
34109
@der_Jeff yeah that system does need support indeed :P @cirrus
34113
@unixb0y Well most folk would say Windows is only good for gaming (but linux is getting there) @der_Jeff
34112
[Deleted]
34117
[Deleted]
34079
34059
@unixb0y for the random factoids just
run
: wget randominsults.net -O - 2>/dev/null | grep \<strong\> | sed "s;^.*<i>\(.*\)</i>.*$;\1;"
obv that needs only wget installed.
34026
@cirrus what does it do in /dev/null ?
34042
@unixb0y that just sends it to the the black hole ( the bin if you like, /dev/null is equal to nowhere. i *think* ;)
34046
@unixb0y cowsay is fun, brew install cowsay then using a pipe do
fortune | cowsay
that makes a fine motd
34076
@cirrus Where can I get texnut?
34081
@unixb0y you prolly know this, but here goes ..
texnut is just a perl script, drop it in your home dir. then make it excutable (chmod +x ~/texnut.pl) then run it (./texnut.pl)
34126
@cirrus I know it but thanks :) Will check out later 👍
34250
@cirrus Yeah, that's why I invited you here - teach the young ones to insult people *automatedly*, using arcane shell and network tools :D
/ @unixb0y
35285
@schmidt_fu /me whistles whilst polishing halo @unixb0y
35288
@cirrus Haha, good boy, would never do any harm to anyone :-) @unixb0y
35295
@schmidt_fu I have set quite a convolouted cronjob/script to run at certain hours on a Saturday & Sunday posting soccer results, wont know how well it fairs till tomorrow, fingers x'd @unixb0y
35303
Best luck! >> @cirrus: @schmidt_fu I have set quite a convolouted cronjob/script to run at certain hours on a Saturday & Sunday posting soccer results, wont know how well it fairs till tomorrow, fingers x'd @unixb0y
35322
35325
35351
@schmidt_fu to be fair the insult cronjob is only bi hourly
2 */2 * * * /home/cirrus/.bin/insultpnut &
@unixb0y
35292
@schmidt_fu think i misphrased that (every 2 hours at 2 mins past)
35293
35350