mirror of
https://github.com/narkoz/hacker-scripts
synced 2025-08-23 19:07:33 +00:00
Removed parenthesis
for consistency
This commit is contained in:
parent
eb7f1d840c
commit
7ff2fc8b69
@ -14,15 +14,15 @@ process.exit 0 if new Date().getDay() in [6, 0]
|
|||||||
# no sessions
|
# no sessions
|
||||||
process.exit 0 unless new RegExp(username).test sh('who -q').toString()
|
process.exit 0 unless new RegExp(username).test sh('who -q').toString()
|
||||||
|
|
||||||
conn = require('net').createConnection(port, host)
|
conn = require('net').createConnection port, host
|
||||||
|
|
||||||
setTimeout ->
|
setTimeout ->
|
||||||
conn.write "#{pass}\nsys brew\n"
|
conn.write "#{pass}\nsys brew\n"
|
||||||
setTimeout ->
|
setTimeout ->
|
||||||
conn.end 'sys pour'
|
conn.end 'sys pour'
|
||||||
process.exit(0)
|
process.exit 0
|
||||||
, 2 * 1000
|
, 2 * 1000
|
||||||
, 1 * 1000
|
, 1 * 1000
|
||||||
|
|
||||||
# alert
|
# alert
|
||||||
sh('say come here and take your fucking coffee')
|
sh 'say come here and take your fucking coffee'
|
||||||
|
Loading…
x
Reference in New Issue
Block a user