веб

Firefox hints

Firefox

See How to access Firefox3 cookies

wget -U "Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9)"
     -m -k -np --load-cookies cookies.txt http://site/page/toc.htm

The layout of Netscape's cookies.txt file is such that each line contains one name-value pair. An example cookies.txt file may have an entry that looks like this:

.netscape.com  TRUE  /  FALSE  946684799   NETSCAPE_ID  100103

Each line represents a single piece of stored information. A tab is inserted between each of the fields. From left-to-right, here is what each field represents:

  • domain - The domain that created AND that can read the variable.
  • flag - A TRUE/FALSE value indicating if all machines within a given domain can access the variable. This value is set automatically by the browser, depending on the value you set for domain.
  • path - The path within the domain that the variable is valid for.
  • secure - A TRUE/FALSE value indicating if a secure connection with the domain is needed to access the variable.
  • expiration - The UNIX time that the variable will expire on. UNIX time is defined as the number of seconds since Jan 1, 1970 00:00:00 GMT.
  • name - The name of the variable.
  • value - The value of the variable.

Order is: domain, flag, path, secure, expiration, name, value


Export firefox3 file:

cookiedb=~/.mozilla/firefox/RANDOMSTRING.default/cookies.sqlite
sqlite3 $cookiedb .dump
 (1219405000144383,'OLP3','vir@com','.opengroup.org','/online-pubs-short',
  1230721976,1219405000144383,0,0)

Order is: index, name, value, domain, path, expiration, index, flag1, flag2


Conversion command:

sqlite3 /path/to/cookies.sqlite .dump | cut -c34- | sed -e 's/);$//'
  | awk -F, '{print $4,($8?"TRUE":"FALSE"),$5,($9?"TRUE":"FALSE"),$10,$6,$2,$3}'
  | sed -e "s/'//g" > cookies.txt

(from Cookie FAQ)

Adobe Wallaby

Wallaby is an Adobe AIR application that allows designers and developers to convert Adobe Flash Professional files into HTML5 with a simple drag and drop of the mouse, quickly and easily expanding the distribution of creative content across platforms. We invite customers to download Wallaby, try out the code it generates, and provide feedback on how they are using it to create simple animations like banner ads and translating graphical content.

Story URL: 

Онлайн-инструменты для построения графиков, блок-схем и диаграмм

Есть много разных сервисов, облегчающих жизнь веб-разработчику или дизайнеру, в том числе создающих разные графики, диаграммы, блок-схемы и т.д. Ниже представлена небольшая подборка.Читать дальше

Story URL: 

Расчет стоимости разработки сайта. Немного автоматизации

Чтобы ускорить и стандартизировать процесс расчета стоимости разработки сайтов, мы, несколько лет назад, внедрили простую excel-табличку, которой пользуемся до сих пор. Возможно, она и вам послужит на пользу. Вот краткое описание процесса расчета:

Любой проект по разработке — это время команды, которое мы продаем. Значит, менеджеру, который делает предложение клиенту, нужно получить часы с разбивкой по видам деятельности и этапам, потом перевести их в деньги. Для этого мы делаем табличку (готовый пример ниже), в которой:Читать дальше

Story URL: 
RSS-материал