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
| # script to download up to <= 3200 (the official API limit) of most recent tweets from a user's timeline | |
| from pymongo import MongoClient | |
| import tweepy | |
| import json | |
| #Twitter API credentials | |
| CONSUMER_KEY = '' | |
| CONSUMER_SECRET = '' | |
| ACCESS_TOKEN = '' |
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
| function parseResponse(data) { | |
| var bookshelf = document.getElementById("bookshelf"); | |
| for (var i=0; i<6; i++) { | |
| var cover = data.reader_books[i].book_edition.covers.cover_medium; | |
| var title = data.reader_books[i].book_edition.title; | |
| var permalink = data.reader_books[i].permalink; | |
| var link = document.createElement("a"); | |
| link.setAttribute("href",permalink); |
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
| <p dir="rtl"><strong>ืืืง ืืืคืฉ ืืืืืข, ืืชืฉื "ื</strong><strong>1998-</strong><strong> </strong><sup>1</sup></p> | |
| <p dir="rtl"><strong>1. ืืืคืฉ ืืืืข</strong></p> | |
| <p dir="rtl">ืืื ืืืจื ืืฉืจืืื ืื ืชืืฉื ืืืืืช ืืงืื ืืืืข ืืจืฉืืช ืฆืืืืจืืช ืืืชืื ืืืืจืืืช ืืืง ืื.</p> | |
| <p dir="rtl"><strong>2. ืืืืจืืช</strong><sup>4</sup><strong> </strong></p> | |
| <p dir="rtl">ืืืืง ืื -</p> | |
| <p dir="rtl"><strong>"ืืขืื ืืฉืืชืคืช"</strong> - ืืขืื ืืฉืืชืคืช ืฉื ืืขืืช ืืืืงื ืืืง ืืืฉืคื ืืืขืืช ืืืืฅ ืืืืืืื ืฉื ืืื ืกืช;</p> | |
| <p dir="rtl"><strong>"ืืืืข"</strong> - ืื ืืืืข ืืืฆืื ืืจืฉืืช ืฆืืืืจืืช, ืืืื ืืชืื, ืืืงืื, ืืืกืจื, ืืฆืืื ืื ืืืืืฉื;</p> | |
| <p dir="rtl"><strong>"ืืืื ื"</strong> - ืื ืฉืืื ื ืืคื ืกืขืืฃ 3;</p> | |
| <p dir="rtl"><strong>"ืงืืืช ืืืืข"</strong> - ืืจืืืช ืขืืื, ืฆืคืื, ืืืื ื, ืืขืชืงื, ืฆืืืื, ืงืืืช ืคืื ืืืฉื ืื ืงืืืช ืืืืข ืืื ืืจื ืืืจืช ืืืชืื ืืกืื ืืืืืข ืืฆืืจืช ืืืืงืชื;</p> | |
| <p dir="rtl"><strong>"ืจืฉืืช ืฆืืืืจืืช"</strong><sup>4</sup> -</p> |
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
| """ | |
| This fabric file makes setting up and deploying a django application much | |
| easier, but it does make a few assumptions. Namely that you're using Git, | |
| Apache and mod_wsgi and your using Debian or Ubuntu. Also you should have | |
| Django installed on your local machine and SSH installed on both the local | |
| machine and any servers you want to deploy to. | |
| _note that I've used the name project_name throughout this example. Replace | |
| this with whatever your project is called._ |