← All posts tagged /mu/

wasd
SQL говно SQL defines two primary character types: character varying(n) and character(n), where n is a positive integer. Both of these types can store strings up to n characters (not bytes) in length. An attempt to store a longer string into a column of these types will result in an error, unless the excess characters are all spaces, in which case the string will be truncated to the maximum length. (This somewhat bizarre exception is required by the SQL standard.)
wasd
метро WiFi ДС приехали (19:11:41) reimu@hakurei.ru/nyabook: не, я только в центр еду
(19:12:37) reimu@hakurei.ru/nyabook: ты прикинь, я захотел в метре вайфай поюзать
(19:12:53) reimu@hakurei.ru/nyabook: а мне страница авторизации грит ПРЕДЪЯВИТЕ МИКРОБЛОГ
(19:12:56) reimu@hakurei.ru/nyabook: ну т. е. номер
(19:13:35) reimu@hakurei.ru/nyabook: номер телефона
(19:13:55) reimu@hakurei.ru/nyabook: т. е. ИНТЕРНЕТ ПО ПАСПОРТУ

чо, давно уже так? а то я из дома не выходил недели две.
wasd
Windows wpdev.uservoice.com
Please please add SSH
I am a Windows user at heart, but have to manage numerous systems in our enterprise via SSH. This means I have to install Putty/Kitty (with mtputty for tabs) to achieve this. It would be awesome if we could do SSH and tabs via the Command Prompt. Currently I always have a tabbed putty window open, plus several cmd windows = messy. Sysadmins around the world would love you for adding these features! Here's hoping :). PS good work so far guys, please keep it up!

Microsoft Console Team (Admin, Windows Developer) commented · October 1, 2014 4:03 PM
I feel your pain, as I go through the same hoops when administering several of my VM's at home. SSH has been a good-size conversation over the last several months. Plenty of hurdles and molehills to get over, but we are talking to multiple folks about how we could make it happen. As always, no guarantee, just know that this issue is near and dear to our heart as well. --Rich

Если это случится — у меня появится шестой палец.
wasd
Linux опенсурс Рисовать схемы БД в Dia — юзбл!
Кстати, было бы неплохо посмотреть на примеры схем (любых, не только бд, в частности интересен QML) by community, чтобы найти best practice.
Поделитесь, если есть личный опыт.
И что ещё потыкать из таких штуковин?
wasd
SSH honeypot blog.macuyiko.com
Seventh example
Not only is this intruder very offensive, he also quickly spotted the honeypot.

server:~# adduser nigger
Adding user `nigger' ...
Adding new group `nigger' (1001) ...
Adding new user `nigger' (1001) with group `nigger' ...
Creating home directory `/home/nigger' ...
Copying files from `/etc/skel' ...
Password:
Password again:

Changing the user information for nigger

Enter the new value, or press ENTER for the default

Username []:
Must enter a value!
Username []: only
Full Name []: dumb
Room Number []: niggers
Work Phone []: use
Home Phone []: honeypot
Mobile Phone []: you
Country []: stupid
City []: nigger
Language []: HA
Favorite movie []: HA
Other []: HA
Is the information correct? [Y/n] y
ERROR: Some of the information you entered is invalid
Deleting user `nigger' ...
Deleting group `nigger' (1001) ...
Deleting home directory `/home/nigger' ...
Try again? [Y/n] n
wasd
Linux sosnooley [root@systmain www]# /etc/init.d/httpd start
Starting httpd: Syntax error on line 292 of /etc/httpd/conf/httpd.conf:
DocumentRoot must be a directory
                                                          [FAILED]
[root@systmain www]# sed -n '292p' /etc/httpd/conf/httpd.conf
DocumentRoot "/var/www/html"
[root@systmain www]# file /var/www/html/
/var/www/html/: directory

интерпрайзная центось: нжынкса в репах нету, а апач не работает. причина тому одна — нинужно!
wasd
Zabbix чейнжлог 2.2
Virtual machine monitoring
Support for IPMI discrete sensors
Loadable modules (ПЛАГИНЫ БЛЕАДЬ)
Referencing item values in graph names
Notifications on unsupported items, unknown triggers
Value mapping for string and float type data
Trigger length limit increased
Some trigger function parameters can be empty
Filtering trigger severity in maps
Map label length limit increased
Icons in map element properties now sorted
Finer control over housekeeping tasks
Permission improvements
Linking templates with the same application name
Accessible history data for disabled hosts
Changed maintenance period logic
SNMPv3 monitoring
Context name support
SHA/AES protocol support
Ability to extract matching part of a regular expression
Support of internal checks for proxies
FreeBSD and OpenBSD templates now include network interface discovery rule.
Starting with Zabbix 2.2.0 hosts discovered on different proxies will be always treated as different hosts. This allows to perform discovery on the same IP ranges used by different subnets
ODBC monitoring has been around in Zabbix for quite some time, but so far it has lacked proper documentation and has had the status of an unofficial feature. Now the item is finally documented and can boast the status of an official feature.
Items with “Numeric (float)” type of information now support receiving values and specifying a multiplier in scientific notation. E.g. 1.234e+5.
Logical functions for testing bits
Time suffix support for testing
New notification macros
Support of LLD macros in trigger expressions
Macros in trigger descriptions
Macros in global scripts
User macros in allowed hosts
Automatic database upgrade
Zabbix proxies will now be able to work uninterrupted for much longer when used with PostgreSQL because of increased history value ID range (лол)
Support for long and string SNMP indexes
Value cache for faster access to history data
Improved work with configuration and history caches
Multiple timer processes
Host metadata for host auto-registration
New host prototype API
Additional service types in network discovery action condition

раньше у заббикса не было многих очевидно необходимых вещей. потом они появились и были нестабильны. теперь всё пофиксили и сделали много нового
никогда мне не нравился интерпрайз с 1.8 — стабильно, но убого — многие костыли нужно было пилить руками. действительно, удовольствия с этим работать было мало. а сейчас это всё больше похоже на систему мониторинга в моём понимании — появляется всё больше вещей, сильно упрощающих жизнь. наконец-то тот "теоретический" заббикс, который я любил, станет "практическим" и будет работать для меня.
wasd
/mu/ Один барабанщик когда-то перешёл из стоунер дум митола в построк.
Вангую следующий этап его депрессии — Flёur
wasd
Apple дыбр 15:07:08 Vadim Musin: лол
15:07:11 Vadim Musin: проебал в офисе айфон
15:07:23 Vadim Musin: нажал куда-то в вебморде ябла, он начал ПИЩАТЬ
15:07:39 Vadim Musin: пришли чуваки, сказали что в серверной упсы пищат
15:07:48 Vadim Musin: пошёл смотреть, нашёл айфон
wasd
опенсурс ярак #!/bin/bash
# watchwatchquagga v0.1, watchquagga watchdog by @wasd, watches watchquagga and launches it again when it crash
# Copyright (C) 2013 Vadim Musin
#
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation, either version 3 of the License, or
# (at your option) any later version.
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with this program. If not, see <>.

while true;
do
watchquagga --no-fork
sleep 1
done