I hereby claim:
- I am hupili on github.
- I am hpl (https://keybase.io/hpl) on keybase.
- I have a public key whose fingerprint is A88E C9B2 2A3F 299E 8283 6885 3C96 125E 67E5 501A
To claim this, I am signing this object:
#!/bin/bash | |
if [[ $# != 1 ]]; then | |
echo "usage: $0 fn_input" | |
exit 255 | |
else | |
fn_input=$1 | |
fi | |
ext="${fn_input##*.}" |
#!/bin/bash | |
if [[ $# == 1 ]]; then | |
fn_input=$1 | |
else | |
echo "usage: $0 <fn_input>" | |
exit 255 | |
fi | |
rm -rf tmp |
# Select and paste useful commands into Chrome Console on FB | |
# Click Likes | |
Array.prototype.slice.call($$(".UFILikeLink[title='Like this']:not(.accessible_elem)"), 0).map(function(a){a.click()}) | |
# Invite all friends | |
Array.prototype.slice.call($$("[role='checkbox']"), 0).map(function(a){a.click()}) |
#!/bin/bash | |
# Usage: put list of users in "users" file. | |
# one user per line. | |
# Passwords will be changed and stored in "passwd.list" | |
rm -f passwd.list | |
for user in `cat users` | |
do | |
password=`echo "sdf982ci237986ahah:$user" | sha1sum | cut -c1-16` | |
echo $user |
#!/bin/bash | |
# Run this under /var/lib/lxc | |
for vm in `find -maxdepth 1 -type d` | |
do | |
echo $vm | |
grep 'address' $vm/rootfs/etc/network/interfaces | |
done |
These two files should help you to import passwords from mac OS X keychains to 1password. | |
Assumptions: | |
1) You have some experience with scripting/are a power-user. These scripts worked for me | |
but they haven't been extensively tested and if they don't work, you're on your own! | |
Please read this whole document before starting this process. If any of it seems | |
incomprehensible/frightening/over your head please do not use these scripts. You will | |
probably do something Very Bad and I wouldn't want that. | |
2) You have ruby 1.9.2 installed on your machine. This comes as standard with Lion, previous | |
versions of OS X may have earlier versions of ruby, which *may* work, but then again, they |
Array.prototype.slice.call($$(".UFILikeLink[title='Like this']:not(.accessible_elem)"), 0).map(function(a){a.click()}) |
$('.user-actions-follow-button').filter(':not(.cancel-hover-style)').click() |
I hereby claim:
To claim this, I am signing this object: