I've use OpenWRT for my D-Link DIR-620 A1 for almost a year now. Good news that OpenWRT community released already compiled beta versions (Latest for now is 12.09-rc1) So now it's no need to compile trunk sources to get firmware for ramips hardware. My custom image is getting old, so I decide to install latest community release.
This article is mostly for myself. Just want to leave some notes in case I'll need to update firmware again. So I'll make it very brief.
2013/01/13
2012/11/30
Powershell highlighter for AkelPad (Coder plugin)
Powershell files highlighter for AkelPad with Coder plugin installed. Includes all standard plus Windows8 and Exchange 2010 cmdlets.
1. Save this to a file as "%Akelpad%\AkelFiles\Plugs\Coder\ps1.coder"
2. Open any "*.ps1" file by AkelPad
3. Profit!
Labels:
syn
2012/10/04
Install volume deduplication from Server 2012 to Windows 8
Server 2012 has a great feature - Deduplication. It can be very effective to optimize storage and reduce the amount of disk space consumed—50% to 90% when applied to the right data. Cause Windows 8 has a Hyper-V 3 too, deduplication will be very usefull for VM vhd storage volume. This is my VM folder example:
And this example taken from Windows 8 =) So, it's possible to install deduplication service to Windows 8 with one caveat - it'll have no GUI. Only possible way to manage it - is Powershell.
And this example taken from Windows 8 =) So, it's possible to install deduplication service to Windows 8 with one caveat - it'll have no GUI. Only possible way to manage it - is Powershell.
Labels:
dedup
2012/04/05
Asterisk sync with Active Directory
In my case, all users information is stored in AD (yes, we use Exchange GAL). It'll be great if asterisk get this information directly from AD without need in configuration editing.
Let's look what we have now:
AD user have fields 'telephoneNumber' - for internal extension number, 'fax' - for direct inward dialing number (DID) like this:
Let's look what we have now:
AD user have fields 'telephoneNumber' - for internal extension number, 'fax' - for direct inward dialing number (DID) like this:
2012/01/05
Reading PDF in landscape mode on Kindle Touch
Current version of firmware for Kindle Touch lacks support of landscape mode. WTF! There is jailbreak already, but no any lanscape hack. What will be very usefull for reading pdf. So, if there is no way to make it directly on Kindle, we will make it for Kindle)
I'm use k2pdfopt like this:
Let's look at them in detail:
Examples of source:
and 2 pages of zoomed output:
I'm use k2pdfopt like this:
k2pdfopt.exe -col 1 -j 0+ -ls -ui -fc- -odpi 130 -h 711 -w 521 -om 0 -cmax 1 -s- -rt 0 -mb 0.7 %1
Let's look at them in detail:
- -col 1 - means that there is no need to find any columns in text. If you have tables, this will helps to not break them to columns at new pages
- -j 0+ - tries to justification text left
- -ls - rotate page to landscape
- -ui - run UI for making additional tuning before converting
- -fc - don't fit columns to width
- -odpi 130 - slightly zooming of input file
- -h 711-w 521 - width and height of screen zone for displaying pdf. There is table for other readers.
- -om 0 -disable output margin, Kindle Touch already has margin about 10px near pdf displaying zone
- -cmax 1 -s- - disable increasing of contrast and sharpening. This makes fonts looks more like ClearType, with soft edges.
- -rt 0 - disable auto determination of source orientation
- -mb 0.7 - cut bottom margin of source in inches. This is for cutting original footer with page number etc on every source page.
- %1 - name of source pdf
Examples of source:
and 2 pages of zoomed output:
Labels:
art
2011/11/19
bash
Some bash hotkeys:
Using screen:
Ctrl + A Go to the beginning of the line you are currently typing on Ctrl + E Go to the end of the line you are currently typing on Ctrl + L Clears the Screen, similar to the clear command Ctrl + U Clears the line before the cursor position. If you are at the end of the line, clears the entire line. Ctrl + R Let’s you search through previously used commands Ctrl + C Kill whatever you are running Ctrl + D Exit the current shell Ctrl + Z Puts whatever you are running into a suspended background process. "fg" restores it. Ctrl + W Delete the word before the cursor Ctrl + K Clear the line after the cursor Ctrl + T Swap the last two characters before the cursor Esc + T Swap the last two words before the cursorSome notes about reverse history search. It'll iterative show last command for your search query. For next item press Ctrl-R again. To search forward press Ctrl-S. (On some terminals this bind to freeze, press Ctrl-Q to defreeze) More about history navigation here
Using screen:
Labels:
linux
2011/09/26
Debian domain join
How to join Debian Squeeze to Active Directory Domain (winbind method).This makes possible to login as domain user, make samba shares with domain security, ntlm SSO to Apache sites, ntlm auth with Squid proxy.
2011/09/24
Mail notifications by GMail from Debian
Описание настройки Debian Exim4 для рассылки почты через GMail apps for domain для получения уведомлений на почту из cron и скриптов.
Labels:
linux
Turn windows Home to Professional
Заметка для себя, дабы больше не гуглить. Минимальная версия Windows для подключения к домену - Pro.
Labels:
ad
Subscribe to:
Posts (Atom)