Go to your base open the PC and then select Manage QR Code patterns.
Select Share a Secret Base. You can optionally set your Message.
Press Save to SD card button, turn off your 3DS then remove the SD card and insert it into your laptop. You'll find an image of your QR code in one of the folders.
Upload the image to Cheezburger or any other website.