October 22, 2014
The shell script below, written using bash takes the contents of the clipboard, signs it with GPG and pastes the signed content on the clipboard. The pbcopy and pbpaste commands are Mac-specific, so it restricts you to that platform.
October 18, 2014
The above script manage a pf ruleset. It does rely on your services file being located at /etc/services, which if you're using pf, ought not be a problem. Planned functionality include allowing for destination-specific rules, writing to remote locations, differentiating UDP, TCP, and ICMP, and anything else the lot of you leave a comment requesting. If you get impatient, the source will always be in the embed above.
October 16, 2014
October 11, 2014
The above script is a what I use to automate my email. If you'd like to add an action to it, here's what you need to do:
- Write a method to do what you want.
- Write a filter to identify what messages you want your plugin to act on.
- Add said filter as another elif in the main while loop.
- Finally, let me know what you've done, if you'd like. I'm genuinely fascinated with what the lot of you come up with.
October 9, 2014
% ./pitest pi = 3.141592653589793115997963468544185 + 0.000000000000000122460635382237726 3.141592653589793238458598850781911*Arithmetic gives 3.141592653589793238458598850781911, but $sin ( \pi ) = 0$ so it ought to be closer to the first value than it is. The good news is that Intel is updating their documentation.