Category Archives: Utils

APIs Utils Web web services Yahoo!

Yahoo! Query Language

What is YQL?

The Yahoo! Query Language is an expressive SQL-like language that lets you query, filter, and join data across Web services. With YQL, apps run faster with fewer lines of code and a smaller network footprint.

Yahoo! and other websites across the Internet make much of their structured data available to developers, primarily through Web services. To access and query these services, developers traditionally endure the pain of locating the right URLs and documentation to access and query each Web service.

With YQL, developers can access and shape data across the Internet through one simple language, eliminating the need to learn how to call different APIs.

How Do I Get Started?

  1. Check out the YQL Console.
  2. Complete the The Two-Minute Tutorial.
  3. Read how to access YQL from your application.
  4. Get your API Keys to sign your requests if you need them.
  5. Check out the YQL frequently asked questions (FAQ) for answers to common issues.

read more »

Utils

Found Makes Searching For Files Anywhere Super Simple

 

http://techcrunch.com/

Code Snippets Tips & tricks Utils

Using Character Encoding in ASP.NET

Open the file named web.config in the ASP.NET project. The value of requestEncoding attribute in globalization element is “utf-8”. It means the requested texts were encoded as UTF-8 character set. Because SCO5.05 does not support UTF-8, therefore the requested texts where changed.

VB:

Public Shared Function unicode_iso8859(ByVal src As String) As String
Dim iso As Encoding = Encoding.GetEncoding(“iso8859-1”)
Dim unicode As Encoding = Encoding.UTF8
Dim unicodeBytes As Byte() = unicode.GetBytes(src)
Return iso.GetString(unicodeBytes)
End Function

Public Shared Function iso8859_unicode(ByVal src As String) As String
Dim iso As Encoding = Encoding.GetEncoding(“iso8859-1”)
Dim unicode As Encoding = Encoding.UTF8
Dim isoBytes As Byte() = iso.GetBytes(src)
Return unicode.GetString(isoBytes)
End Function

label1.Text = iso8859_unicode(MyString)

more details in http://www.codeproject.com/KB/aspnet/Encoding_in_ASPNET.aspx

Tips & tricks Utils

Error installing SQL Server 2008 Native Client (HRESULT:0x800736FD)

Problem solved changing the registry key.

Ckeck if the “Windows Modules Installer” service is started. If not, and you receive an error “1450 Insufficient System resources” error, when trying to start it, then it is the origin of the problem.
To solve it:

1) Open regedit and replace the following value:

HKEY_LOCAL_MACHINE\System\CurrentControlSet\Control

Key: RegistrySizeLimit

Type: REG_DWORD

Value: 0xFFFFFF (4294967295)

2) Reboot

3) Open a command prompt as administrator and run SFC /SCANNOW to check the integrity of system modules.

4) Install pending windows updates (surelly there are many of them)

Utils

Free Currency Converter

Free Currency Converter available in http://www.galhano.com/web/Services/?Action=CC

Utils

BgInfo v4.16, Keep an eye on system info

bb897557bginfoen-usmsdn10How many times have you walked up to a system in your office and needed to click through several diagnostic windows to remind yourself of important aspects of its configuration, such as its name, IP address, or operating system version If you manage multiple computers you probably need BGInfo. It automatically displays relevant information about a Windows computer on the desktop’s background, such as the computer name, IP address, service pack version, and more. You can edit any field as well as the font and background colors, and can place it in your startup folder so that it runs every boot, or even configure it to display as the background for the logon screen.

Because BGInfo simply writes a new desktop bitmap and exits you don’t have to worry about it consuming system resources or interfering with other applications.

read more »

Utils

Windows Powershell

powershelllogo

Powershell is a command line tool which devloped by Microsoft. Exchange Server 2007 script ability has been depaned on the Windows powershell command line. here we have some important commands of powershell.

Powershell :-Launch a powershell session
Write-Debug :-Write a debug message to the host display
Write-Error:- Write an object to the error pipeline.
Write-Output:- echo Write an object to the pipeline
Write-Progress:- Display a progress bar
Write-Verbose:- Write a string to the host’s verbosedisplay
Write-Warning :-Write a warning message
Set:-Acl Set permissions
Get:-Eventlog Get eventlog data
Get:-ExecutionPolicy Get the execution policy for the shell
Measure:-Command Measure running time
Trace:-Command Trace an expression or command
Clear:-Host clear/cls Clear the screen
Out:-Printer lp Send the output to a printer
Out:-String Send objects to the host as strings
Join:-Path Combine a path and child-path
Resolve:-Path rvpa Resolves the wildcards in a path
Split:-Path Return part of a path
Clear:-Variable clv Remove the value from a variable
Where:-Object where Filter input from the pipeline
While:- (condition) {action} else {action}
Get:-WMIobject Get WMI class information

# :-Comment / Remark

Open Source Utils

open source pdf

Ports & Tools…
http://www.foolabs.com/xpdf/

PDFjet Open Source Edition is a library for dynamic generation of PDF documents from Java and .NET. The PDFjet Open Source Edition has the following features: * Drawing support for: points, lines, boxes, circles, bezier curves, polygons, stars, complex paths and shapes.
http://java-source.net/open-source/pdf-libraries
As always, full source code is available under LGPL license! Enjoy! Paolo … Open Source Projects … Unable to add and open pdf files
http://www.paologios.com/
Open Source 100% Java PDF Renderer/Viewer … Last week I told you we had a secret new open source project to release. Think of it as an early Christmas present. A project that you’ve never heard of and has nothing to do with JavaFX (which is partially untrue, but I’ll get to that in a second).
http://weblogs.java.net/blog/joshy/archive/2007/12/the_big_secret.html
Utils

Markdown

Markdown is a text-to-HTML conversion tool for web writers. Markdown allows you to write using an easy-to-read, easy-to-write plain text format, then convert it to structurally valid XHTML (or HTML).

Thus, “Markdown” is two things: (1) a plain text formatting syntax; and (2) a software tool, written in Perl, that converts the plain text formatting to HTML. See the Syntax page for details pertaining to Markdown’s formatting syntax. You can try it out, right now, using the online Dingus.

The overriding design goal for Markdown’s formatting syntax is to make it as readable as possible. The idea is that a Markdown-formatted document should be publishable as-is, as plain text, without looking like it’s been marked up with tags or formatting instructions. While Markdown’s syntax has been influenced by several existing text-to-HTML filters, the single biggest source of inspiration for Markdown’s syntax is the format of plain text email.

http://daringfireball.net/projects/markdown/

Networking Utils

Tobi Oetiker’s MRTG – The Multi Router Traffic Grapher

mrtg_logoWhat it does

You have a router, you want to know what it does all day long? Then MRTG is for you. It will monitor SNMP network devices and draw pretty pictures showing how much traffic has passed through each interface.

Routers are only the beginning. MRTG is being used to graph all sorts of network devices as well as everything else from weather data to vending machines.

MRTG is written in perl and works on Unix/Linux as well as Windows and even Netware systems. MRTG is free software licensed under the Gnu GPL.

1923392249_fa4_1-day

http://oss.oetiker.ch/mrtg/index.en.html