This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Verifying that "ereami.id" is my Blockstack ID. https://onename.com/ereami |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Worked on March 11th 2016 :) | |
messageList = document.querySelectorAll('div .message-list')[0]; | |
messages = messageList.querySelectorAll('.selectable-text'); | |
for(i=0; i<messages.length; i++) { | |
msg = messages[i].innerText; | |
if (msg.indexOf("@") > -1) { | |
console.log (msg); | |
} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
cd ˜/Library/Caches | |
find . -type f -delete | |
cd ˜/Library/Logs | |
find . -type f -delete |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Usage: generate_image name widthxheight | |
# Example: generate_image desktop 1024x768 | |
generate_image() { | |
type=$1 | |
size=$2 | |
fname=ad_"$type"_"$size".png | |
echo $fname; | |
convert -size $size -font Bookman-Light -gravity center label:"VEJA.com 2.0\n$type\n$size" $fname | |
} |