- lxml - Pythonic binding for the C libraries libxml2 and libxslt.
- boto - Python interface to Amazon Web Services
- Django - Django is a high-level Python Web framework that encourages rapid development and clean, pragmatic design.
- Fabric - Library and command-line tool for streamlining the use of SSH for application deployment or systems administration task.
- PyMongo - Tools for working with MongoDB, and is the recommended way to work with MongoDB from Python.
- Celery - Task queue to distribute work across threads or machines.
- pytz - pytz brings the Olson tz database into Python. This library allows accurate and cross platform timezone calculations using Python 2.4 or higher.
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
| SELECT id, `videos`.name, episodes, logo FROM `videos` | |
| INNER JOIN (SELECT name FROM `videos` | |
| GROUP BY name HAVING count(id) > 1) `dup` ON `videos`.name = `dup`.name | |
| ORDER BY `videos`.`name` DESC |
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
| SELECT `videos`.`name`, `videos`.`episodes`, `videos`.`is_ended`, `videos`.`id`, `videos`.`logo`, `videos`.`type`, | |
| `user_videos`.`episode`, `user_videos`.`last_change`, `user_videos`.`status`, | |
| `video_scores`.`score`, | |
| ( SELECT `video_names`.`name` | |
| FROM `video_names` | |
| WHERE (`video_names`.`lang` = 'ru' OR `video_names`.`lang` = 'en') | |
| AND `video_names`.`vid_id` = `videos`.`id` | |
| LIMIT 1) as alt_name | |
| FROM (`videos`) | |
| JOIN `user_videos` ON `user_videos`.`vid_id` = `videos`.`id` |
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
| setup do | |
| @request.env["HTTP_AUTHORIZATION"] = "Basic " + Base64::encode64("username:password") | |
| end |
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
| describe 'Secondary alts', -> | |
| loadFixtures('html/vid_alts') | |
| $('.show-secondary').show_secondary() | |
| hidden_alts = null | |
| secondary_button = null | |
| beforeEach -> | |
| hidden_alts = $('.vid_view_alt_secondary') | |
| secondary_button = $('.show-secondary') |
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
| class PluginClass | |
| constructor: (@target) -> | |
| _this = @ # to access Class inside @target.each and not modificate @ inside @target.each | |
| eventData = {_class: _this} # to access Class inside event handlers | |
| @target.each -> | |
| self = $(@) | |
| self.on 'click', eventData, _this.submitHandler | |
| submitHandler: (e)-> | |
| _this = e.data._classs | |
| e.preventDefault() |
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>Bir əyləncə növü kimi peyntbol Azərbaycanda çoxdan mövcud olsa da, idman növü kimi bir müddət əvvəl inkişafa başlayıb.</p><div> | |
| İyunun 30-da “Arena” idman peyntbolu klubunda (Paintball Club “Arena” - www.paintball-arena.az) gənclər arasında Azərbaycan Silahlı Qüvvələrinin 95-ci ildönümünə həsr olunmuş Çempionat keçiriləcək.</div> | |
| <div> | |
| </div> | |
| <div> | |
| <strong>Oxu.Az</strong> xəbər verir ki, turnirin əsas məqsədi yeni başlayan oyunçulardan ibarət yeni idman komandalarının yaradılması, sağlam həyat tərzinin təbliği və hərbi-vətənpərvərlik ruhunun yüksəldilməsidir. Bir əyləncə növü kimi peyntbol Azərbaycanda çoxdan mövcud olsa da, idman növü kimi bir müddət əvvəl inkişafa başlayıb.</div> | |
| <div> | |
| </div> | |
| <div> | |
| Çempionatın qaliblərindən başqa, digər iştirakçılar aşağıdakı nominasiyalarda mükafatlandırılacaqlar:</div> |
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(){ | |
| var interval; | |
| $('body').on('paste', '[contenteditable]', function(e){ | |
| var self = $(this); | |
| var current_html = self.html(); | |
| clearInterval(interval); | |
| setTimeout(function(){ | |
| clearInterval(interval); | |
| }, 1000); |
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
| // Use Gists to store code you would like to remember later on | |
| console.log(window); // log the "window" object to the console |
- 960 Grid System - An effort to streamline web development workflow by providing commonly used dimensions, based on a width of 960 pixels. There are two variants: 12 and 16 columns, which can be used separately or in tandem.
- Compass - Open source CSS Authoring Framework.
- Bootstrap - Sleek, intuitive, and powerful mobile first front-end framework for faster and easier web development.
- Font Awesome - The iconic font designed for Bootstrap.
- Zurb Foundation - Framework for writing responsive web sites.
- SASS - CSS extension language which allows variables, mixins and rules nesting.
- Skeleton - Boilerplate for responsive, mobile-friendly development.
OlderNewer