Table of Contents

Tips and Tricks

This page contains various useful information, that may become handy when developing AllPeers.

Bookmarklets

// Jump to a bug
javascript:void(window.open('http://bugzilla.apnet/show_bug.cgi?id='+prompt('Bug'))
// Show information about peer (after click on a peer in the navigator)
javascript:location.href='http://www.allpeers.com/services/account.php?type=id&value='+location.href.substring(52)
// When looking on a raw patch, click on this to see a diff
javascript:location.href=location.href+'&action=diff'

Problems

UI Development

Networking Tips

openssl s_client -connect 213.246.37.35:443

Error Code

Preferences

UUID Generation

Created by michal:

#!/bin/bash
 
if [ "$1" == "" ]
then
    UUID=$(uuidgen)
else
    UUID=$1
fi
echo $UUID
echo "{ 0x${UUID:0:8}, 0x${UUID:9:4}, 0x${UUID:14:4}, { 0x${UUID:19:2}, 0x${UUID:21:2}, 0x${UUID:24:2}, 0x${UUID:26:2}, 0x${UUID:28:2}, 0x${UUID:30:2}, 0x${UUID:32:2}, 0x${UUID:34:2} }}"

Database Tools