=> dimasite

IT for(;;) fun!

Windows Phone unlocking service as part of ChevronWP7 Labs

Posted by Dmitrij Ivanov on June 19, 2011

As announced on the Windows Phone Dev Podcast, we will soon be launching an approved Windows Phone unlocking service as part of ChevronWP7 Labs. This will be available to developers across all skill levels and all regions.

The service will require a small fee — currently via PayPal — to offset costs but we assure you it will be more affordable than the App Hub. Those who wish to write and immediately publish apps are recommended to sign up to the App Hub instead.

read more…

Posted in Talk | Tagged: , , | Leave a Comment »

Yahoo is busy or what? Cannot access yahoo e-mail!!!

Posted by Dmitrij Ivanov on June 17, 2011


What about your “free” e-mail accont? I think it’s a good value but it’s incredibly liabile of our e-mails. Today I cannot log into yahoo because the link on the master page is a “..king” anchor reference. I would like to humiliate the software release model through which they I suppose yahoo delivers to us the mail service. I’ve tried using Firefox and even Internet Ex plorer. There is no way to access the login page!! A piece of their markup:
<div id=”signin”>

or
<a rel=”nofollow” href=”#”>Sign in</a>
</div>

Can you please explain me what is “or” in yours page markup?
Mister yahoo could you please test yours service releases? Sure, I’m typed only http://it.mail.yahoo.com&#8230;

I want back my e-mail box!
Thanks!!!

Posted in Talk | Tagged: , | Leave a Comment »

Nokia and Microsoft form partnership

Posted by Dmitrij Ivanov on February 26, 2011

Nokia and Microsoft

Rory Cellan-Jones asks Nokia’s Stephen Elop and Microsoft’s Steve Ballmer why they chose to form an alliance
Nokia has joined forces with Microsoft in an attempt to regain ground lost to the iPhone and Android-based devices.

The deal will see Nokia use the Windows phone operating system for its smartphones, the company said.
It means that Nokia’s existing operating systems will be sidelined.

Symbian, which runs on most of the company’s current devices will become a “franchise platform”, although the company expects to sell approximately 150 million more Symbian devices in future.

“It is a transition from Symbian to Windows phone as our primary smartphone platform,” said Mr Elop.

Windows may not be the exclusive operating system for Nokia tablets though.
Stephen Elop and Steve Ballmer Mr Elop was at Microsoft before joining Nokia

“We reserve the right to introduce tablets using other platforms, including ones we may be working on internally,” he said.

Nokia’s upcoming Meego operating system will also be sidelined.

According to the company statement: “MeeGo will place increased emphasis on longer-term market exploration of next-generation devices.”

The MeeGo platform was expected to form the core of Nokia’s future smartphone and tablet strategy. The company says it still plans to ship one Meego device by the end of 2011.

For Magnus Rehle, the Nordic managing director of research firm Greenwich Consulting, Nokia may have difficulty juggling its three operating systems: Windows, Symbian and MeeGo.

“Three platforms is a lot to work with. I’m not sure there is room for so many platforms,” he said.

Read more…

Posted in Talk | Leave a Comment »

Windows Services from command line & Findstr: the Windows’ “grep”

Posted by Dmitrij Ivanov on February 3, 2011

If you need to interact with windows services and have detailed information about them using the command line you could dig into SC command functionalities. SC has more options but I’ll show you just few of them. If you want some more I invite you to read the related help documentation. So let start.

Show all active services. The “active” status is shown by default.

c:\>sc query

...
NOME_SERVIZIO    : uCamMonitor
NOME_VISUALIZZATO: CamMonitor
        TIPO                   : 10  WIN32_OWN_PROCESS
        STATO                  : 4  RUNNING
                                (STOPPABLE, NOT_PAUSABLE, IGNORES_SHUTDOWN)
        CODICE_USCITA_WIN32    : 0  (0x0)
        CODICE_USCITA_SERVIZIO : 0  (0x0)
        PUNTO_CONTROLLO          : 0x0
        INDICAZIONE_ATTESA     : 0x0

NOME_SERVIZIO    : WSearch
NOME_VISUALIZZATO: Windows Search
        TIPO                   : 10  WIN32_OWN_PROCESS
        STATO                  : 4  RUNNING
                                (STOPPABLE, NOT_PAUSABLE, ACCEPTS_SHUTDOWN)
        CODICE_USCITA_WIN32    : 0  (0x0)
        CODICE_USCITA_SERVIZIO : 0  (0x0)
        PUNTO_CONTROLLO          : 0x0
        INDICAZIONE_ATTESA     : 0x0

NOME_SERVIZIO    : wuauserv
NOME_VISUALIZZATO: Windows Update
        TIPO                   : 20  WIN32_SHARE_PROCESS
        STATO                  : 4  RUNNING
                                (STOPPABLE, NOT_PAUSABLE, ACCEPTS_PRESHUTDOWN)
        CODICE_USCITA_WIN32    : 0  (0x0)
        CODICE_USCITA_SERVIZIO : 0  (0x0)
        PUNTO_CONTROLLO          : 0x0
        INDICAZIONE_ATTESA     : 0x0
...

Show all inactive services. Mind the space between the equal char and the status name.

c:\>sc query state= inactive

...
NOME_SERVIZIO:     WebClient
NOME_VISUALIZZATO: WebClient
        TIPO                    : 20  WIN32_SHARE_PROCESS
        STATO                   : 1  STOPPED
        CODICE_USCITA_WIN32     : 1077  (0x435)
        CODICE_USCITA_SERVIZIO  : 0  (0x0)
        PUNTO_CONTROLLO         : 0x0
        SUGGERIMENTO_ATTESA     : 0x0

NOME_SERVIZIO:     WPCSvc
NOME_VISUALIZZATO: Parental Controls
        TIPO                    : 20  WIN32_SHARE_PROCESS
        STATO                   : 1  STOPPED
        CODICE_USCITA_WIN32     : 1077  (0x435)
        CODICE_USCITA_SERVIZIO  : 0  (0x0)
        PUNTO_CONTROLLO         : 0x0
        SUGGERIMENTO_ATTESA     : 0x0
...

the following will not work

c:\>sc query state = inactive
c:\>sc query state =inactive

Show active and inactive services

c:\>sc query status= all

Show information about the specified service name

C:\>sc query FontCache

NOME_SERVIZIO: FontCache
        TIPO                   : 20  WIN32_SHARE_PROCESS
        STATO                  : 4  RUNNING
                                (STOPPABLE, NOT_PAUSABLE, ACCEPTS_SHUTDOWN)
        CODICE_USCITA_WIN32    : 0  (0x0)
        CODICE_USCITA_SERVIZIO : 0  (0x0)
        PUNTO_CONTROLLO          : 0x0
        INDICAZIONE_ATTESA     : 0x0

Start the service called FontCache

C:\>sc start FontCache

NOME_SERVIZIO: FontCache
        TIPO                   : 20  WIN32_SHARE_PROCESS
        STATO                  : 2  START_PENDING
                                (NOT_STOPPABLE, NOT_PAUSABLE, IGNORES_SHUTDOWN)
        CODICE_USCITA_WIN32    : 0  (0x0)
        CODICE_USCITA_SERVIZIO : 0  (0x0)
        PUNTO_CONTROLLO          : 0x0
        INDICAZIONE_ATTESA     : 0x7d0
        PID                    : 1480
        FLAG                   :

Stop the service called FontCache. You must have administrative privileges!

C:\>sc stop FontCache

NOME_SERVIZIO: FontCache
        TIPO                   : 20  WIN32_SHARE_PROCESS
        STATO                  : 3  STOP_PENDING
                                (NOT_STOPPABLE, NOT_PAUSABLE, IGNORES_SHUTDOWN)
        CODICE_USCITA_WIN32    : 0  (0x0)
        CODICE_USCITA_SERVIZIO : 0  (0x0)
        PUNTO_CONTROLLO          : 0x0
        INDICAZIONE_ATTESA     : 0x0

Also, take a look at sc create and sc delete commands, which allow you to manage the registration of your own service.

If you would like to have more control over the output information you can combine the SC command with the, unknown for many people command, findstr. Findstr basically searches strings inside the files and shows the occurrences. The /R option permits to use regular expressions as input for the search. I’m using the pipe | operator to pass the output of SC command as input for the findstr command.

Show only active services names. Since the output is localized you should replace the string NOME_SERVIZIO with an appropriate translation of service name.
. means every char
* zero or more occurrences of the previous char

C:\>sc query | findstr /R "NOME_SERVIZIO.*"

...
NOME_SERVIZIO    : Appinfo
NOME_SERVIZIO    : AudioEndpointBuilder
NOME_SERVIZIO    : AudioSrv
NOME_SERVIZIO    : Power
...

Considering the regular expressions special chars, the output of the command

C:\>sc query | findstr /R ".*"

is the same as

C:\>sc query

Show services names which contain the word “Audio”.

C:\>sc query | findstr /R "NOME_SERVIZIO.*Audio"

NOME_SERVIZIO    : AudioEndpointBuilder
NOME_SERVIZIO    : AudioSrv

Show services names which contain the word “Audio” followed by the word “Bui”.

C:\>sc query | findstr /R "NOME_SERVIZIO.*Aud.*Bui"

NOME_SERVIZIO    : AudioEndpointBuilder

Sometimes I use the “more” command which shows the file content page by page. I use the pipe | operator to pass the output of previous command as an input for the “more” command.

c:\>sc query | findstr /R "NOME_SERVIZIO.*" | more

NOME_SERVIZIO    : Appinfo
NOME_SERVIZIO    : AudioEndpointBuilder
NOME_SERVIZIO    : AudioSrv
...
-- More  --

Hit the space bar to show the next page, otherwise press the Enter key to show the next row.
That’s all.

Posted in SysAdmin | Tagged: , , , , , , | 1 Comment »

Git for Newbies

Posted by Dmitrij Ivanov on January 18, 2011


If you are completely new to the version control systems, you can take a quick overview described in this sheet.

Posted in Dev Tools | Tagged: , , | Leave a Comment »

Start using Git

Posted by Dmitrij Ivanov on January 17, 2011


According to the creator, Linus Towards, Git is “the stupid content tracker”. Actually it is a smart version control system I’ve started to use. Unfortunatly, even it is really simple, Git has a number of great functionalities that will distract you from the key concepts which you’ll need to know in order to start using it. I’ve created two printable sheets “Git Basic Concepts” and “Git Basic Commands” through which you can quickly learn the key concepts and the basic commands for the local usage.

Posted in Dev Tools | Tagged: , , , , | Leave a Comment »

Skype is down, offline, dead!!! The incredible outage of dicember 2010!!!

Posted by Dmitrij Ivanov on December 23, 2010

No Skype
Yesterday we had two different troubles with the Skype connection. During all the afternoon Skype had disconnected multiple times when I talking with people or simply using chat functionalities. At 16.00 GMT Skype was definetely dead and there was no way to connect. So what is happend to Skype? Now, at 1.00 GMT, Skype is still cannot connect to the server and few informations are available about the reasons. It seems to be a worldwide massive outage day.The last outage was in the far 2007. It was a bad day for EBay.

The enormity of Skype going down is appreciated when you consider that last year it accounted for 12 percent of the world’s international calling minutes.

The official blog reports this communication. The official tweet of Skype says “Some of you may have problems signing in to Skype – we’re investigating, and we’re sorry for the disruption to your conversations” . You can stay tuned on other twitter comments using #Skype keyword. You also can check this link for new announcements.

Take a look on this unbelievable chart.
Skype Users Chart
I’m an addicted user of Skype and I hope it will come back to us as soon as it possible. I will post here all the official news and details as soon they will be available.

Update 23/12/2010 14:40 GMT
Skype is still trying to connect.

Update 23/12/2010 12:40 GMT
Skype don’t want to stay online! It connects and than it disconnects after few minutes.

Update 23/12/2010 12:20 GMT
Skype seems to be fully operative. See the explanation on how the Skype’s network is designed.

Update 23/12/2010 10:39 GMT
Skype is connected! After two messagies it goes again offline!

Update 23/12/2010 10:00 GMT
At Dicember 23 2010 10:00 GMT Skype was back for a while!

Posted in Talk | Tagged: , , , , | Leave a Comment »

How to install and setup a ssh server using Cygwin on Windows

Posted by Dmitrij Ivanov on November 29, 2010

I’ve spent some time to find a solution for a free ssh server. I’ve tried http://www.freesshd.com but I saw that is different from what I expected and eventually I’ve decided to install Cygwin with my bare hands. As the result I obtained the following step by step guide.
I estimated duration of the installation should be of 15 minutes. You need administrator privileges to install the application.

1 – Create a new local folder c:\cygwin
2 – Download Cygwin’s setup from http://www.cygwin.com and save setup.exe in c:\cygwin. Cygwin is a Linux-like environment for Windows.
3 – Run c:\cygwin\setup.exe and

Select install from internet option
Select c:\cygwin as root directory and All users option
Select the Local Package Directory c:\cygwin
Choose one of the available download sites, for example http://mirrors.xmission.com

4 – We don’t need to install all the packagies. Type openssh in search textbox and press Enter.
5 – Click the ‘Skip’ word on found item until the value of the column ‘Bin?’ becames X

6 – Click Next button to start installation
7 – In Start menu right click on My Computer then click on Properties, select Advanced property page and click on Environment Variables button.
8 – Find the variable Path and click the Edit button and at the end of the string add the following value ;c:\cygwin\bin

The Path variable contains a semicolon-delimited list of directories in which the command interpreter will search for executable files.

9 – From the Program menu open Cygwin Bash Shell
10 – Optional settings. A few of cygwin distributions could have folder access problems, to avoid this you can try the following settings

chmod +r /etc/passwd
chmod u+w /etc/passwd
chmod +r /etc/group
chmod u+w /etc/group
chmod 755 /var
touch /var/log/sshd.log
chmod 664 /var/log/sshd.log

11 – In Cygwin Bash Shell type ssh-host-config answer yes for any question; for the ssh daemon value type Cygwin ssh
If will prompted “This script plans to use cyg_server, Do you want to use a different name? Answer no. You can repeat the configuration and change the settings as you prefer.

12 – As last command type cyglsa-config to register lsa authentication package

13 – In Services window now you will find a service named CYGWIN sshd

Reboot the system and the job is done.

Finally you can remove c:\cygwin\setup.exe and the folder c:\cygwin\http%3a%2f%2fmirrors.xmission.com%2fcygwin%2f

I hope it could help someone.

Posted in SysAdmin | Tagged: , , , , , | Leave a Comment »

Find large folders and big files

Posted by Dmitrij Ivanov on November 21, 2010

If you need a quick tool with minimal functionalities which shows in the intuitive treemap graph your file system, probably you are searching for SequoiaView.

SequoiaView

SequoiaView

If you need a fast, freeware and portable solution the best choise is Steffen Gerlach’s Scanner.

Scanner

Scanner

I hope will help you.

Posted in SysAdmin | Tagged: , | Leave a Comment »

How to open Web.config?

Posted by Dmitrij Ivanov on October 16, 2010


1. Open machine.config on the local machine.
WebConfigurationManager.OpenMachineConfiguration();

2. Open root web.config on the local machine.
WebConfigurationManager.OpenWebConfiguration(null);

3. Open web.config for the application at the root of the default web site.
WebConfigurationManager.OpenWebConfiguration("/");

4. Open web.config for a subdirectory of the application found at /MyApp.
WebConfigurationManager.OpenWebConfiguration("/MyApp/subdir");

5. Open web.config for an application at the root of another site.
WebConfigurationManager.OpenWebConfiguration("/", "Another Site");

6. Open the <location> tag for a subdirectory at the application level.
WebConfigurationManager.OpenWebConfiguration("/", null, "/subdir");

7. Open machine.config on another computer, using credentials provided.
WebConfigurationManager.OpenMachineConfiguration(null, "remotemachine", "user", "password");

take a look to the link

Posted in ASP .NET | Tagged: , , , , | Leave a Comment »