showhn's Introduction
showhn README NB: . refers to the root directory Run: python ./showhn/update.py to update the database. Note! You must start the database by referencing the ./data directory, like so: mongod --dbpath ./data how to make a twitter sharing link! <a href="http://twitter.com/share" class="twitter-share-button" data-url="<URL TO LINK TO>" data-text="<SUGGESTED TEXT>" data-count="vertical" data-via="<TWITTER_ACCOUNT TO @>">Tweet</a><script type="text/javascript" src="http://platform.twitter.com/widgets.js"></script> how to make a facebook liking link! <div id="fb-root"></div><script src="http://connect.facebook.net/en_US/all.js#appId=197685243621657&xfbml=1"></script><fb:like href="<URL TO LIKE>" send="true" width="450" show_faces="true" font=""></fb:like> how to make a tumblr sharing link! <!-- Put this tag wherever you want your button to appear --> <span id="tumblr_button_abc123"></span> include this: <script type="text/javascript" src="http://platform.tumblr.com/v1/share.js"></script> also, this js shit: <!-- Set these variables wherever convenient --> <script type="text/javascript"> var tumblr_link_url = "<URL>"; var tumblr_link_name = "<NAME>"; var tumblr_link_description = "<DESCRIPTION>"; </script> <!-- Put this code at the bottom of your page --> <script type="text/javascript"> var tumblr_button = document.createElement("a"); tumblr_button.setAttribute("href", "http://www.tumblr.com/share/link?url=" + encodeURIComponent(tumblr_link_url) + "&name=" + encodeURIComponent(tumblr_link_name) + "&description=" + encodeURIComponent(tumblr_link_description)); tumblr_button.setAttribute("title", "Share on Tumblr"); tumblr_button.setAttribute("style", "display:inline-block; text-indent:-9999px; overflow:hidden; width:20px; height:20px; background:url('http://platform.tumblr.com/v1/share_4.png') top left no-repeat transparent;"); tumblr_button.innerHTML = "Share on Tumblr"; document.getElementById("tumblr_button_abc123").appendChild(tumblr_button); </script> how to make a google plus one button! <!-- Place this tag where you want the +1 button to render --> <g:plusone href="<URL>"></g:plusone> <!-- Place this tag after the last plusone tag --> <script type="text/javascript"> (function() { var po = document.createElement('script'); po.type = 'text/javascript'; po.async = true; po.src = 'https://apis.google.com/js/plusone.js'; var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(po, s); })(); </script>
showhn's People
Forkers
mosesnshowhn's Issues
url2png watermarks are back up
add tooltip for sharing and links
investigate broken images
for example: http://c98d8648.dotcloud.com/static/images/2822117.png
i think you mentioned this has to do with people adding fucking spaces to their URL.
fix issues in firefox
automate dotcloud deployment
so we don't have to cp secret.py and simlink static/images.
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. ๐๐๐
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google โค๏ธ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.