tag:blogger.com,1999:blog-78429701042941689022024-03-13T15:51:22.979+03:00Tim's Hacks and TipsTimhttp://www.blogger.com/profile/02738608176752212180noreply@blogger.comBlogger56125tag:blogger.com,1999:blog-7842970104294168902.post-13365166389324083522015-04-23T12:11:00.001+03:002015-04-23T12:11:33.950+03:00Package KB2492386 failed to be changed to the Staged state. Status: 0x800f0816
In case of "Package KB2492386 failed to be changed to the Staged state. Status: 0x800f0816"
http://answers.microsoft.com/en-us/windows/forum/windows_7-windows_update/package-kb2492386-failed-to-be-changed-to-the/73935b8a-4dc0-4cd4-9950-c68bb5d18e76
Anonymoushttp://www.blogger.com/profile/17024044792089188718noreply@blogger.com0tag:blogger.com,1999:blog-7842970104294168902.post-10248660225442484182013-11-13T10:37:00.001+04:002013-11-13T11:54:23.927+04:00Unix shell commands
1. Find all files in home dir with size greater than and of certain type, finally copy them to usb flash drive (on Mac OS X):
find ~ -iname '*.tiff' -size +1M -exec cp {} /Volumes/flashka/tiff/ \;
On Max OS X to preserve directory structure use pax command:
find ~ -iname '*.tiff' -size +1M -exec pax -rw {} /Volumes/flashka/tiff/ \;
Anonymoushttp://www.blogger.com/profile/17024044792089188718noreply@blogger.com0tag:blogger.com,1999:blog-7842970104294168902.post-85461761399444668232013-05-13T12:12:00.000+04:002013-05-13T12:12:48.507+04:00ZyXEL ZyWall USG300. Schedule weekly reboots.
1. upload reboot.zysh to "Maintenance -> Shell script" with single command "reboot" (txt format)
2. connect to console and enter the following commands:
configure terminal
schedule-run 1 reboot.zysh weekly 05:30 mon
write
(mon stands for Monday)
Anonymoushttp://www.blogger.com/profile/17024044792089188718noreply@blogger.com0tag:blogger.com,1999:blog-7842970104294168902.post-4583300343870136712013-03-26T11:20:00.000+04:002013-03-26T11:20:57.235+04:00МФУ Brother. Не сканирует по сети
Часто встречаюсь с проблемой, когда МФУ от Brother перестает сканировать по сети. Проблема кроется в WINS. Чтобы устранить ее, следует обращаться к устройству по ip, а не по имени.
control sticpl.cpl
В консоли нужно найти свое устройство, в свойствах прописать ip-адрес. voila!
Anonymoushttp://www.blogger.com/profile/17024044792089188718noreply@blogger.com0tag:blogger.com,1999:blog-7842970104294168902.post-81002154821208915122013-01-21T17:59:00.001+04:002013-01-21T18:12:06.458+04:00Nginx and VirtualBox shared folders
Thanks to the "Geek" i've finally figured out how to operate with vboxsf on nginx.
Just turn off sendfile directive in nginx.conf.
http://smotko.si/nginx-static-file-problem/
Anonymoushttp://www.blogger.com/profile/17024044792089188718noreply@blogger.com0tag:blogger.com,1999:blog-7842970104294168902.post-67375448754716505972012-05-11T14:02:00.000+04:002012-05-11T14:02:45.317+04:00Update Group Policy in Windows
The gpupdate command refreshes local and Active Directory–based Group Policy settings, including security settings on the computer from where it is run.
Anonymoushttp://www.blogger.com/profile/17024044792089188718noreply@blogger.com1tag:blogger.com,1999:blog-7842970104294168902.post-8649252679882639582012-01-02T12:41:00.000+04:002012-04-12T11:09:09.899+04:00Беспроводная sip-трубка Welltech WP589
Решил собрать всю нужную инфу по wi-fi sip трубке Welltech WP589 в одном месте.
Итак, трубка в домашних условиях работает отлично. Позволяет сохранить несколько профилей sip-провайдеров, заряжается как от блока питания, так и от компьютера по USB. Поддерживает несколько самых популярных голосовых кодека. Вообщем, то, что доктор прописал.
Однако, имеет некоторые проблемы при использовании в Anonymoushttp://www.blogger.com/profile/17024044792089188718noreply@blogger.com8tag:blogger.com,1999:blog-7842970104294168902.post-11844433065227026582011-12-07T11:52:00.001+04:002011-12-07T11:55:03.796+04:00UBUNTU. Check version of package
In order to check the version of a package (either installed or in repository):
apt-get install apt-show-versions
apt-show-versions -a <package>Anonymoushttp://www.blogger.com/profile/17024044792089188718noreply@blogger.com1tag:blogger.com,1999:blog-7842970104294168902.post-31568051941165799472011-11-25T12:05:00.001+04:002011-11-25T12:15:36.455+04:00Change MTU in Windows
In rare cases you need to change (or "fine tune") your MTU.
Magic NETSH is able to solve the task.
1. netsh interface ipv4 show subinterfaces
(determine the label of your interface)
2. change its MTU
netsh interface ipv4 set subinterface "interface_label" mtu=50 store=persistent
That's all (thanks Max Chubin for the idea)
Anonymoushttp://www.blogger.com/profile/17024044792089188718noreply@blogger.com0tag:blogger.com,1999:blog-7842970104294168902.post-62678565421557542072011-10-28T11:57:00.000+04:002011-10-28T11:57:24.689+04:00ZyXEL X8004 IPPBX / Oktell. Баг со слоями карты сети
Странный, не критичный, но неприятный глюк.
Верхний слой
Нижний слой
Спрашивается, куда съезжает сервер?Anonymoushttp://www.blogger.com/profile/17024044792089188718noreply@blogger.com0tag:blogger.com,1999:blog-7842970104294168902.post-40948303601934912732011-10-20T16:35:00.000+04:002011-10-20T16:40:59.187+04:00ZyXEL X8004 IPPBX / Oktell. Feature requests. Part 3
Ну ваще не понял сей креатив. Особенно когда работаешь через
терминальную сессию. Или это чтобы развлечь пользователя, типа игры
"попробуй задать быстро диапазон"?Наконец, кто-нить, объясните чайнику, как оперативно выбрать 24 часа??
Вопрос по скриншоту: как без лупы (читай: не совсем вооруженным глазом)
попасть в эти стрелочки? Особенно при большом разрешении монитора.
Anonymoushttp://www.blogger.com/profile/17024044792089188718noreply@blogger.com0tag:blogger.com,1999:blog-7842970104294168902.post-77148988381141720022011-10-20T16:06:00.000+04:002011-10-20T16:39:31.443+04:00ZyXEL X8004 IPPBX / Oktell. Feature requests. Part 2
Тут все просто. Во многих местах Z_CTI не проработан механизм выделения
подмножества элементов. При создании Направления, например, приходится
вручную ставить галки напротив нужных линий. Почему нельзя выделять
подмножества с помощью Ctrl или Shift. Ведь этот механизм - уже
классика. У меня 30 линий sip плюс 30 линий E1. Тыкать 60 раз в
малюсенькие кнопочки - неблагодарный, адский Anonymoushttp://www.blogger.com/profile/17024044792089188718noreply@blogger.com0tag:blogger.com,1999:blog-7842970104294168902.post-73735973762755405682011-10-20T15:33:00.000+04:002011-10-20T16:37:48.786+04:00ZyXEL X8004 IPPBX / Oktell. Feature requests. Part 1
Начинаю выкладывать свои пожелания по усовершенствованию Oktell PBX (в частности, ZyXEL X8004 интеграцию). Не в порядке значимости...
1.
- на небольшой экране так грустно видеть столь вопиющую
расточительность. Нафига нам такие огромные заголовки? Тем более
скрадывать отнюдь не выдающуюся высоту в эпоху широкоформатных дисплеев
-- преступление против человечества.
2. Anonymoushttp://www.blogger.com/profile/17024044792089188718noreply@blogger.com0tag:blogger.com,1999:blog-7842970104294168902.post-19183405877630124022011-07-10T12:12:00.000+04:002011-07-10T12:12:55.743+04:00Connect to MS SQL 2008 R2 ExpressFollow the link to read the tutorial if you cannot connect remotely to SQL Server 2008 R2 Express:
http://www.linglom.com/2009/03/28/enable-remote-connection-on-sql-server-2008-express/Anonymoushttp://www.blogger.com/profile/17024044792089188718noreply@blogger.com0tag:blogger.com,1999:blog-7842970104294168902.post-177647381193403822011-06-15T10:37:00.005+04:002011-06-15T10:40:59.985+04:00Ubuntu on Acer R3700 nettop can't shutdown/rebootSeems like at least one module needs to be disabled from config.lsmod | grep rtFind out if there exists rt2800pci .sudo modprobe -rf rt2800pci echo blacklist rt2800pci | sudo tee -a /etc/modprobe.d/blacklist.confTested on XFCE 11.04Anonymoushttp://www.blogger.com/profile/17024044792089188718noreply@blogger.com0tag:blogger.com,1999:blog-7842970104294168902.post-12210544726419289982011-06-14T11:35:00.002+04:002011-06-14T11:37:56.808+04:00Metrologic установка под WindowsДля установки USB POS (эмуляция COM-порта) драйвера с uni-directional на ОС Windows7 необходимо: 1. Загрузить и разархивировать драйвер (с сайта производителя : https://www.honeywellaidc.com/en-GB/Pages/Product.aspx?category=Laser&cat=HSM&pid=9520/40), 2. Считать сканером соответствующий программирующий штрих-код (uni-directional). 3. Открыть "Диспетчер устройств" и в разделе "Порты Anonymoushttp://www.blogger.com/profile/17024044792089188718noreply@blogger.com2tag:blogger.com,1999:blog-7842970104294168902.post-79150621409618674912011-06-14T11:32:00.000+04:002011-06-14T11:32:43.416+04:00Windows 7 Home: disable password expirationUse the following command to disable expiration policy on Windows 7 Home editions:
net accounts /maxpwage:unlimited
Anonymoushttp://www.blogger.com/profile/17024044792089188718noreply@blogger.com0tag:blogger.com,1999:blog-7842970104294168902.post-77999263969065850512011-06-04T00:18:00.003+04:002013-02-27T19:01:35.570+04:00UBUNTU: change hostname
To view current hostname: sysctl kernel.hostname
To change it:
sysctl kernel.hostname=NewHostname
Or better edit /etc/hostname
Also don't forget to edit /etc/hosts to prevent sudo showing stupid "unable to resolve" error.
Anonymoushttp://www.blogger.com/profile/17024044792089188718noreply@blogger.com0tag:blogger.com,1999:blog-7842970104294168902.post-82102230761790996652010-10-03T19:08:00.001+04:002010-10-03T19:08:46.888+04:00XSL: node-sets. Get value from variable
<?xml version="1.0" encoding="UTF-8"?>
<xsl:stylesheet version="1.0"
xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
xmlns:exsl="http://exslt.org/common"
extension-element-prefixes="exsl"
>
<xsl:output method="xml" omit-xml-declaration="yes" />
<xsl:template match="/">
<xsl:variable name="author-id" ><xsl:value-of select="data/get-advice-last/entry/author/item/Timhttp://www.blogger.com/profile/02738608176752212180noreply@blogger.com0tag:blogger.com,1999:blog-7842970104294168902.post-59444994233590745342010-08-12T18:19:00.000+04:002010-08-12T18:19:35.324+04:00Xmarks in Firefox: Can't sync tabs! Tab sync is generally reliable, but there a couple of gotchas that can cause problems when you're first getting started.
Can't see your tabs?
If you have enabled tab sync in a browser but can't see your tabs in the Open Tabs window, the most likely culprit is your having earlier copied your Firefox profile from one computer to another. Xmarks relies on a unique identifier stored in Timhttp://www.blogger.com/profile/02738608176752212180noreply@blogger.com0tag:blogger.com,1999:blog-7842970104294168902.post-393736274381384922010-08-05T22:16:00.001+04:002010-08-05T22:17:34.385+04:00Internet Explorer warning running swf locallyWhen previewing files locally on your hard drive that contain active content (for example, JavaScript or Flash), the following security message appears in internet explorer's yellow Information Bar:
"To help protect your security, internet explorer has restricted this file from showing active content that could access your computer. Click here for options ..."
You can resolve this by checking:Timhttp://www.blogger.com/profile/02738608176752212180noreply@blogger.com0tag:blogger.com,1999:blog-7842970104294168902.post-19692317080714309912010-08-01T20:27:00.000+04:002010-08-01T20:27:46.237+04:00Windows: How to enable user environment debug logging in retail builds of WindowsView products that this article applies to.
Article ID : 221833
Last Review : October 11, 2007
Revision : 11.4
This article was previously published under Q221833 SUMMARY The versions of Microsoft Windows that are listed in the "Applies to" section let you modify the registry to turn on debug logging of the user profile and the Windows system policy processes. You can also use Timhttp://www.blogger.com/profile/02738608176752212180noreply@blogger.com1tag:blogger.com,1999:blog-7842970104294168902.post-83673215952295549412010-08-01T20:15:00.000+04:002010-08-01T20:15:49.142+04:00Windows: How to disable security warning ("Не удается проверить издателя")How to disable security warning ("Не удается проверить издателя"):
gpedit.msc
User Configuration->Administrative Templates->Windows Component->Attacment Manager->Inclusion list for moderate risk file types
прописываем там расширения, для которых не выводить предупреждения (exe, jpg, etc)Timhttp://www.blogger.com/profile/02738608176752212180noreply@blogger.com0tag:blogger.com,1999:blog-7842970104294168902.post-90642012740531642882010-07-12T19:31:00.002+04:002010-07-15T09:46:29.618+04:00SquidNT + Windows Seven + NTLMBy default, NTLM-authentication is disabled on Windows 7.
To turn it on, open local security (secpol.msc), then Local Policies - Security Options - Network security: LAN Manager authentication level, set it to: "Send LM & NTLM..."
If your Windows 7 system is Windows 7 Home Premium, you may need to configure it via Registry.
1. Launch regedit from Start Search box.
2. Find the following branch.
Timhttp://www.blogger.com/profile/02738608176752212180noreply@blogger.com0tag:blogger.com,1999:blog-7842970104294168902.post-11356078508666671712010-06-22T11:03:00.005+04:002011-05-29T19:46:38.104+04:00Symphony CMS + nginx configMy primitive nginx site configuration for symphony-cms (nginx + php-fpm):
server{
listen 80;
server_name mydomain.com www.mydomain.com;
access_log /var/log/nginx/mydomain.access.log;
#access_log off;
error_log /var/log/nginx/mydomain.error.log;
client_max_body_size 50m;
root /var/www/mydomain/docs;
location / {
index index.php index.html;
if (-f $request_filename){
Timhttp://www.blogger.com/profile/02738608176752212180noreply@blogger.com1