2013/08/27
2013/07/08
dummy sendmail
[psumkin@psumkin-pc] ~ $ ls -l /usr/sbin/sendmail lrwxrwxrwx 1 root root 19 Oct 11 2012 /usr/sbin/sendmail -> /opt/dummy-sendmail [psumkin@psumkin-pc] ~ $ cat /usr/sbin/sendmail #!/bin/sh # should be placed as /usr/sbin/sendmail prefix="/var/mail/dummy-sendmail" mkdir -p $prefix date=`date \+\%Y\%m\%d\%H\%M\%N` name="$prefix/$date.eml" while read line do echo $line >> $name done chmod 666 $name [psumkin@psumkin-pc] ~ $
2013/06/10
MySQL and JSON
common_schema is a framework for MySQL server administration.
common_schema provides with:
- A function library (text functions, security routines, execution and flow control, more...)
- A set of informational and analysis views (security, schema design, processes, transactions, more...)
- QueryScript interpreter, allowing for server side scripting.
- rdebug: a debugger and debugging API for MySQL stored routines (alpha)
It introduces SQL based tools which simplify otherwise complex shell and client scripts, allowing the DBA to be independent of operating system, installed packages and dependencies.
It is a self contained schema, compatible with all MySQL >= 5.1 servers. Installed by importing the schema into the server, there is no need to configure nor compile. No special plugins are required, and no changes to your configuration.
common_schema has a small footprint (under 1MB).
common_schema supports MySQL 5.1, 5.5, 5.6. It supports Percona Server & MariaDB.
common_schema 2.0 is licensed under the GPL license. Older versions are relesed under the New BSD License.
- extract_json_value(): Extract value from JSON notation via XPath. This function is CPU intensive.
- get_option(): Extract value from options dictionary based on key. The dictionary is similar in format to Python's dictionary or to JavaScript's shallow JSON object.
2013/06/06
2013/05/04
2013/04/30
2013/03/12
Домашний NAS
- ixbt.com: Сервер в кармане: ультракомпактное NAS Synology DS411slim
- ixbt.com: Synology представила четырёхдисковый NAS-сервер DiskStation DS413 и внешний модуль на пять винчестеров DX513
- ixbt.com: NAS для дома своими руками
- habrahabr.ru: Домашний сервер/NAS на платформе Mini-ITX
- habrahabr.ru: Домашний минисервачок. Часть железная
2013/03/02
Solve for X: Charles Chase on energy for everyone
Solve for X is a think tank project launched by Google to incite collaboration to solve global issues, "X" representing a remedy.
2013/02/12
Linux Valve Steam ATI
Пробовал поднять клиента Steam на ноутбуке, какая-то ерунда с драйверами
- https://wiki.ubuntu.com/Valve
- http://ubuntovod.ru/instructions/install-steam-ubuntu-linux.html
- http://steamcommunity.com/app/221410/discussions/4/846940247587953201/
- http://wiki.cchtml.com/index.php/Ubuntu_Quantal_Installation_Guide#Installing_Catalyst_Manually_.28from_AMD.2FATI.27s_site.29_BETA.2FEXPERIMENTAL
- AMD Catalyst™ Display Driver
- http://www.upubuntu.com/2013/01/amd-catalyst-display-driver-131-adds.html
- http://ubuntovod.ru/soft/amd-catalyst-legacy-13-1.html
- https://bugs.launchpad.net/ubuntu/+source/fglrx-installer/+bug/1108941
Время вышло, случайная картинка
2013/02/09
Android на проводе
Как подружить Galaxy Nexus с Ubuntu: [How to] Connect your Android Ice Cream Sandwich Phone to Ubuntu for File Access
и случайная картинка
2013/01/19
jQuery 1.9 and beta 2.0
- JQUERY 1.9 FINAL, JQUERY 2.0 BETA, MIGRATE FINAL RELEASED
- jQuery 1.9 upgrade guide
- jQuery Migrate plugin
..код jQuery теперь распространяется только под лицензией MIT..
..Большая часть изменений в новой версии связана с проведением чистки кодовой базы и удалением устаревших возможностей..
..бета-версия jQuery 2.0, функционально эквивалентна jQuery 1.9 на уровне API и отличается прекращением поддержки браузеров Internet Explorer 6, 7 и 8..