$('.circle').hover(
function() {
$(this).animate({backgroundColor: '#F9EC7C'}, $duration);
$(this).find('img').stop().fadeOut($duration, function () {
$('.circle').find('p').fadeIn($duration);
})
},
function(){
$(this).animate({backgroundColor: '#f8f991'},$duration);
$(this).find('p').fadeOut($duration, function(){
$('.circle').find('img').stop().fadeIn($duration);
});
}
);
sed -i 's/\r//' script.sh
поможет (.virtualenv) $ pip freeze > requirements.txt
(.virtualenv) $ pip install -r requirements.txt
Requirement already satisfied (use --upgrade to upgrade): Django==1.9 in ./.virtualenv/lib/python3.4/site-packages (from -r requirements.txt (line 2))
Requirement already satisfied (use --upgrade to upgrade): dj-database-url==0.3.0 in ./.virtualenv/lib/python3.4/site-packages (from -r requirements.txt (line 3))
Requirement already satisfied (use --upgrade to upgrade): psycopg2==2.6.1 in ./.virtualenv/lib/python3.4/site-packages (from -r requirements.txt (line 4))
Requirement already satisfied (use --upgrade to upgrade): wheel==0.26.0 in ./.virtualenv/lib/python3.4/site-packages (from -r requirements.txt (line 5))
Cleaning up...
def main():
while True:
# do something
if __name__ == '__main__':
main()