Install and start nginx:
sudo apt-get update
sudo apt-get install nginx
sudo /etc/init.d/nginx start
// Returns entire web page height | |
function page_height () { | |
return Math.max( | |
document.body.scrollHeight, document.documentElement.scrollHeight, | |
document.body.offsetHeight, document.documentElement.offsetHeight, | |
document.body.clientHeight, document.documentElement.clientHeight | |
); | |
} | |
// Returns visible web page height |
function inherit(child, parent) {
child.parent = parent;
$ lsusb
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 002 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 003 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 004 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 005 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 006 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 007 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
When you upload a photo it might happen the photo appears on the timeline at the date you uploaded it, not at the date it was actually taken. It means the photo lacks the Exif date information for some reason: it was digitized, removed by a photo editor etc.
Use an Exif manipulation tool. I've got exiv2 for Linux.
#ifndef PCD8544_H_ | |
#define PCD8544_H_ | |
#define PCD8544_POWERDOWN 0x04 | |
#define PCD8544_ENTRYMODE 0x02 | |
#define PCD8544_EXTENDEDINSTRUCTION 0x01 | |
#define PCD8544_DISPLAYBLANK 0x0 | |
#define PCD8544_DISPLAYNORMAL 0x4 | |
#define PCD8544_DISPLAYALLON 0x1 |
Андрей, ты же инженер!
Какая разница, греться от свечки или от свечки с горшком? Добавляется инерция на нагрев и остывание. Вот и всё.
Чтобы стало тепло, надо разогнатья молекулы в воздухе до определённой скорости. Для этого каждой из них надо "дать пинка" неважно каким образом. На "пинок" тратится энергия. Энергию можно мерить в Джоулях или производных: ваты, калории. Чем больше энергии потрачено, тем быстрее двигаются молекулы в воздухе. Чтобы нагреть 1 м3 воздуха на 1 градус надо потратить 1200 Дж (нагреватель мощностю 0,33 Вт за час). Большая толстая свечка выдаёт 55000 Дж (15,3 Вт) в час.
Получается, что, к примеру, на нашу маленьку комнату (3х3х3,5 = 31,5 м3) надо 1200 * 31,5 = 37800 Дж, чтобы поднять температуру на 1 градус. Свечка за час поднимет темературу на 1,45 градуса. Кажется - ага, а за 10 часов температура поднимется на 14,5 градусов! Как бы не так, ведь комната теряет тепло ещё быстре чем греет свечка!
#include <msp430.h> | |
#include <stdlib.h> | |
volatile unsigned txdata = 0; | |
#pragma vector = TIMER0_A0_VECTOR | |
__interrupt void Timer0_A0(void) | |
{ | |
if(txdata) { |
<style> | |
a:link.new-link { | |
text-decoration: none; | |
color: inherit; | |
box-shadow: inset 0 -0.5em 0 yellow; | |
} | |
</style> | |
<p>Lorem ipsum dolor sit amet, <a href="">consectetuer</a> adipiscing elit. Aenean commodo ligula eget dolor. Aenean massa. Cum sociis natoque penatibus et magnis dis <a href="" class="new-link">parturient montes</a>, nascetur ridiculus mus. Donec qu</p> |