hacker-scripts | Based on a true story
kandi X-RAY | hacker-scripts Summary
kandi X-RAY | hacker-scripts Summary
hacker-scripts is a JavaScript library. hacker-scripts has no bugs, it has no vulnerabilities and it has medium support. You can download it from GitHub.
Based on a true story:. xxx: OK, so, our build engineer has left for another company. The dude was literally living inside the terminal. You know, that type of a guy who loves Vim, creates diagrams in Dot and writes wiki-posts in Markdown... If something - anything - requires more than 90 seconds of his time, he writes a script to automate that. xxx: So we're sitting here, looking through his, uhm, "legacy". xxx: You're gonna love this. xxx: smack-my-bitch-up.sh - sends a text message "late at work" to his wife (apparently). Automatically picks reasons from an array of strings, randomly. Runs inside a cron-job. The job fires if there are active SSH-sessions on the server after 9pm with his login. xxx: kumar-asshole.sh - scans the inbox for emails from "Kumar" (a DBA at our clients). Looks for keywords like "help", "trouble", "sorry" etc. If keywords are found - the script SSHes into the clients server and rolls back the staging database to the latest backup. Then sends a reply "no worries mate, be careful next time". xxx: hangover.sh - another cron-job that is set to specific dates. Sends automated emails like "not feeling well/gonna work from home" etc. Adds a random "reason" from another predefined array of strings. Fires if there are no interactive sessions on the server at 8:45am. xxx: (and the oscar goes to) fucking-coffee.sh - this one waits exactly 17 seconds (!), then opens a telnet session to our coffee-machine (we had no frikin idea the coffee machine is on the network, runs linux and has a TCP socket up and running) and sends something like sys brew. Turns out this thing starts brewing a mid-sized half-caf latte and waits another 24 (!) seconds before pouring it into a cup. The timing is exactly how long it takes to walk to the machine from the dudes desk. xxx: holy sh*t I'm keeping those. Original: (in Russian) Pull requests with other implementations (Python, Perl, Shell, etc) are welcome.
Based on a true story:. xxx: OK, so, our build engineer has left for another company. The dude was literally living inside the terminal. You know, that type of a guy who loves Vim, creates diagrams in Dot and writes wiki-posts in Markdown... If something - anything - requires more than 90 seconds of his time, he writes a script to automate that. xxx: So we're sitting here, looking through his, uhm, "legacy". xxx: You're gonna love this. xxx: smack-my-bitch-up.sh - sends a text message "late at work" to his wife (apparently). Automatically picks reasons from an array of strings, randomly. Runs inside a cron-job. The job fires if there are active SSH-sessions on the server after 9pm with his login. xxx: kumar-asshole.sh - scans the inbox for emails from "Kumar" (a DBA at our clients). Looks for keywords like "help", "trouble", "sorry" etc. If keywords are found - the script SSHes into the clients server and rolls back the staging database to the latest backup. Then sends a reply "no worries mate, be careful next time". xxx: hangover.sh - another cron-job that is set to specific dates. Sends automated emails like "not feeling well/gonna work from home" etc. Adds a random "reason" from another predefined array of strings. Fires if there are no interactive sessions on the server at 8:45am. xxx: (and the oscar goes to) fucking-coffee.sh - this one waits exactly 17 seconds (!), then opens a telnet session to our coffee-machine (we had no frikin idea the coffee machine is on the network, runs linux and has a TCP socket up and running) and sends something like sys brew. Turns out this thing starts brewing a mid-sized half-caf latte and waits another 24 (!) seconds before pouring it into a cup. The timing is exactly how long it takes to walk to the machine from the dudes desk. xxx: holy sh*t I'm keeping those. Original: (in Russian) Pull requests with other implementations (Python, Perl, Shell, etc) are welcome.
Support
Quality
Security
License
Reuse
Support
hacker-scripts has a medium active ecosystem.
It has 46571 star(s) with 6739 fork(s). There are 2132 watchers for this library.
It had no major release in the last 6 months.
There are 37 open issues and 39 have been closed. On average issues are closed in 204 days. There are 31 open pull requests and 0 closed requests.
It has a neutral sentiment in the developer community.
The latest version of hacker-scripts is current.
Quality
hacker-scripts has 0 bugs and 0 code smells.
Security
hacker-scripts has no vulnerabilities reported, and its dependent libraries have no vulnerabilities reported.
hacker-scripts code analysis shows 0 unresolved vulnerabilities.
There are 0 security hotspots that need review.
License
hacker-scripts does not have a standard license declared.
Check the repository for any license declaration and review the terms closely.
Without a license, all rights are reserved, and you cannot use the library in your applications.
Reuse
hacker-scripts releases are not available. You will need to build from source code and install.
Installation instructions are not available. Examples and code snippets are available.
hacker-scripts saves you 307 person hours of effort in developing the same functionality from scratch.
It has 764 lines of code, 22 functions and 35 files.
It has high code complexity. Code complexity directly impacts maintainability of the code.
Top functions reviewed by kandi - BETA
kandi has reviewed hacker-scripts and discovered the below as its top functions. This is intended to give you an instant insight into hacker-scripts implemented functionality, and help decide if they suit your requirements.
- open imagbox
Get all kandi verified functions for this library.
hacker-scripts Key Features
No Key Features are available at this moment for hacker-scripts.
hacker-scripts Examples and Code Snippets
No Code Snippets are available at this moment for hacker-scripts.
Community Discussions
No Community Discussions are available at this moment for hacker-scripts.Refer to stack overflow page for discussions.
Community Discussions, Code Snippets contain sources that include Stack Exchange Network
Vulnerabilities
No vulnerabilities reported
Install hacker-scripts
You can download it from GitHub.
Support
For any new features, suggestions and bugs create an issue on GitHub.
If you have any questions check and ask questions on community page Stack Overflow .
Find more information at:
Reuse Trending Solutions
Find, review, and download reusable Libraries, Code Snippets, Cloud APIs from over 650 million Knowledge Items
Find more librariesStay Updated
Subscribe to our newsletter for trending solutions and developer bootcamps
Share this Page