Skip to content
This repository has been archived by the owner on May 23, 2022. It is now read-only.

Commit

Permalink
making you optional. adding sarcasm.
Browse files Browse the repository at this point in the history
  • Loading branch information
ikari-pl committed Feb 21, 2014
1 parent 397f9c6 commit 648bf98
Showing 1 changed file with 8 additions and 4 deletions.
12 changes: 8 additions & 4 deletions index.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
#!/usr/bin/env node

if (process.argv.length < 4) {
console.log('Usage: fuck you [process]')
if (process.argv.length <3) {

This comment has been minimized.

Copy link
@ehabkost

ehabkost Nov 28, 2014

Nice touch. <3

This comment has been minimized.

Copy link
@ikari-pl

ikari-pl Dec 1, 2014

Author Contributor

Thanks, @ehabkost, That's what I call "coded with <3".

console.log('Usage: fuck [you] process')
process.exit(1)
}

Expand All @@ -11,12 +11,16 @@ var toArray = [].slice.call.bind([].slice)

var chars = " -_abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ1234567890"
var flipped = " -_ɐqɔpǝɟɓɥıɾʞlɯuodbɹsʇnʌʍxʎz∀𐐒ƆᗡƎℲ⅁HIſ⋊⅂WNOԀΌᴚS⊥∩ΛMX⅄Z⇂ᄅƐㄣގ9ㄥ860"
var pname = process.argv[3]
var pname = process.argv[process.argv.length-1]

if (pname === 'you') {
console.log('I would if I could')
process.exit(1)
}

exec('killall -9 ' + sanitise(pname), function(error, stdout, stderr) {
if (error == null) show('(╯°□°)╯︵', flip(pname))
else show('(; ̄Д ̄) . o O( It’s not very effective... )') })
else show('(; ̄Д ̄) . o O( It’s not very effective... )') });


function show() {
Expand Down

1 comment on commit 648bf98

@SiteSplat
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Indeed. Every time I see the email notification I'm like, well Fuck you? that's not nice. lol.

Please sign in to comment.