This file contains 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
<!-- Just replace **USERNAME** by your github username :-) --> | |
<style> | |
#followGithub { | |
color: #121516; | |
text-shadow: 0 1px 1px #ccc; | |
padding: 1.2em 0.4em; | |
-moz-border-radius: 5px; | |
-webkit-border-radius: 5px; | |
border-radius: 5px; |
This file contains 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
import contacts | |
import clipboard | |
name = clipboard.get().split('|') | |
pers = contacts.Person() | |
pers.organization = bytes(name[0], encoding='UTF-8') | |
pers.address = [(contacts.WORK, | |
{contacts.STREET: name[1], | |
contacts.CITY: name[2], | |
contacts.STATE: name[3], |
This file contains 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
<mt:var name="image_asset_count" value="0"> | |
<mt:EntryAssets type="image"> | |
<mt:var name="image_asset_count" op="++" setvar="image_asset_count"> | |
</mt:EntryAssets> | |
<mt:Ignore> | |
<!-- Later in the template... --> | |
</mt:Ignore> | |
<mt:Unless name="image_asset_count" eq="0"> |
This file contains 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
<mt:var name="soundcloud_asset_count" value="0"> | |
<mt:EntryAssets type="soundcloud_track"> | |
<mt:var name="soundcloud_asset_count" op="++" setvar="soundcloud_asset_count"> | |
</mt:EntryAssets> | |
<mt:Ignore> | |
<!-- Later in the template... --> | |
</mt:Ignore> | |
<mt:Unless name="soundcloud_asset_count" eq="0"> |
This file contains 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
<mt:var name="youtube_asset_count" value="0"> | |
<mt:EntryAssets type="youtube_video"> | |
<mt:var name="youtube_asset_count" op="++" setvar="youtube_asset_count"> | |
</mt:EntryAssets> | |
<mt:Ignore> | |
<!-- Later in the template... --> | |
</mt:Ignore> | |
<mt:Unless name="youtube_asset_count" eq="0"> |
This file contains 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
<mt:var name="flickr_asset_count" value="0"> | |
<mt:EntryAssets type="flickr_photo"> | |
<mt:var name="flickr_asset_count" op="++" setvar="flickr_asset_count"> | |
</mt:EntryAssets> | |
<mt:Ignore> | |
<!-- Later in the template... --> | |
</mt:Ignore> | |
<mt:Unless name="flickr_asset_count" eq="0"> |
This file contains 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
javascript:Qr=prompt('Search%20Site%20for','');if(Qr)location.href='http://www.google.com/search?&q=site:'+encodeURIComponent(window.location.hostname)+'+'+escape(Qr) |