send email to kad1r
kad1r's twitter
kad1r's facebook
kad1r's technorati
kad1r's delicious
kad1r weblog rss 2.0
 
07.09.2010 21:40
 
 
No comment yet
 
178 read count
 
debian lenny wireless, debian lenny intel pro wireless 3945abg

Install firmware for wifi.

aptitude install firmware-iwlwifi

Load iwl3945 modules.

modprobe iwl3945

Then configure your network or enable wireless and choose your wireless access point.

add to twitter add to friendfeed add to facebook add to digg add to reddit add to dzone
 
07.09.2010 12:09
 
 
No comment yet
 
197 read count
 
install linux, install linux from usb, linux install from usb flash disk

 If you want to install Linux distribution from usb flash disk this post is very useful for you. You can do this under Windows or Linux systems. Steps are down below.

 
1- You need at least 1Gb usb flash disk.
2- Format your flash drive as FAT-32.
3- Download Unetbootin program (Windows version or Linux version). Unetbootin does not have install files. Just click and open it.
4- If you have any iso (or something like that) file just select Diskimage and show your iso file and then select your flash drive and click ok. Program will extract all files to usb and make it autorun. But if you don't have any iso select Distribution and choose your operating system name and version. Then select your flash drive and click ok. Program will download some installation files and make it autorun.
 
unetbootin-kad1r.com - 1 unetbootin-kad1r.com - 2
 
5- After all of them finish reboot your system and select your flash drive for first open from bios.
That's it. Have fun.
add to twitter add to friendfeed add to facebook add to digg add to reddit add to dzone
 
07.09.2010 00:09
 
 
No comment yet
 
233 read count
 
random row in linq, linq random row, linqtosql random row

 You can use NEWID() function in SQL to generate random number in linqtosql.

 
partial class MyRandom
{
[System.Data.Linq.Mapping.Function(Name = "NEWID", IsComposable = true)]
public Guid Random()
{
throw new NotImplementedException();
}
}
 
 
var product = (from p in db.table_names // db is our MyRandom class
orderby db.Random()
select p).FirstOrDefault()
add to twitter add to friendfeed add to facebook add to digg add to reddit add to dzone
 
06.09.2010 16:02
 
 
No comment yet
 
205 read count
 
random in mssql, mssql random row, get random row mssql

If you have a id and it's type is integer here is the little code for gettting random row from table.

Select top(10) row_number() OVER ( ORDER BY NEWID() ) randid, table_name.* 
From table_name 

add to twitter add to friendfeed add to facebook add to digg add to reddit add to dzone
 
04.09.2010 21:55
 
 
No comment yet
 
233 read count
 
debian, debian 7, debian 7 wheezy, wheezy, debian wheezy

debian, debian 7 wheezy

As you know Debian 6.0 has frozen on August 6, 2010. (link: http://www.debian.org/News/2010/20100806)

 A new version may only contain changes falling in one of the

 following categories (compared to the version in testing):

  - fixes for release critical bugs (i.e., bugs of severity critical,

    grave, and serious) in all packages;

  - changes for release goals, if they are not invasive;

  - fixes for severity: important bugs in packages of priority: optional

    or extra, only when this can be done via unstable;

  - translation updates

  - documentation fixes

 

Here is the mail from Neil Mcgovern.

 

 

add to twitter add to friendfeed add to facebook add to digg add to reddit add to dzone
 
04.09.2010 12:00
 
 
No comment yet
 
156 read count
 
pagerank, dates of pagerank, pagerank date, pagerank updates, pagerank update dates
You can see the dates of pagerank updates. Last update was on 03.04.2010 but still there is no update. Maybe Google remove pagerank and put trustrank. I hope it's not true. But trustrank is good.
 
03.04.2010 Last Pagerank Update 92
31.12.2009 Pagerank Update 62
30.10.2009 Pagerank Update 128
24.06.2009 Pagerank Update 28
27.05.2009 Pagerank Update 55
02.04.2009 Pagerank Update 91
31.12.2008 Pagerank Update 94
28.09.2008 Pagerank Update 64
26.07.2008 Pagerank Update 87
30.04.2008 Pagerank Update 60
29.02.2008 Pagerank Update 48
12.01.2008 Pagerank Update 78
26.10.2007 Pagerank Update 179
30.04.2007 Pagerank Update 94
25.01.2007 Pagerank Update 119
28.09.2006 Pagerank Update 77
13.07.2006 Pagerank Update 100
04.04.2006 Pagerank Update 44
18.02.2006 Pagerank Update -
add to twitter add to friendfeed add to facebook add to digg add to reddit add to dzone
 
01.09.2010 13:41
 
 
No comment yet
 
268 read count
 
get country info, country info c#, c# get country info

// we store informations to dictionary

Dictionary objDic = new Dictionary();

// get the cultural information of the countries

foreach (CultureInfo ObjCultureInfo in CultureInfo.GetCultures(CultureTypes.SpecificCultures))

{

RegionInfo objRegionInfo = new RegionInfo(ObjCultureInfo.Name);

if (!objDic.ContainsKey(objRegionInfo.EnglishName))

{

objDic.Add(objRegionInfo.EnglishName, objRegionInfo.TwoLetterISORegionName.ToLower());

}

}

var obj = objDic.OrderBy(p => p.Key );

foreach (KeyValuePair val in obj)

{

ddlCountries.Items.Add(new ListItem(val.Key, val.Value));

}

 

add to twitter add to friendfeed add to facebook add to digg add to reddit add to dzone
 
01.09.2010 10:45
 
 
No comment yet
 
214 read count
 
google svg, svg file, svg file format, google index, google svg index

Google can index svg file formats now. They can not index svg files and it's bad for users of svg. But now svg formats can index. I read the article on Google Webmasters Blog post.


We index SVG content whether it is in a standalone file or embedded directly in HTML. The web is big, so it may take some time before we crawl and index most SVG files, but as of today you may start seeing them in your search results. If you want to see it yourself, try searching for [sitemap site:fastsvg.com] or [HideShow site:svg-whiz.com]


What is svg format?

SVG (scalable vector graphics) is an open, XML-based format for vector graphics with support for interactive elements. You can find more information in this link.

add to twitter add to friendfeed add to facebook add to digg add to reddit add to dzone
Powered by kad1r weblog | © 2010 | Coded in VS2010 ASP.Net with C# | kaBlog v1.4 (beta)
asp.net, c#, jQuery, sql, regular expressions, javascript, linux, debian, windows, seo, software promotions, programming, mvc, ubuntu, security, campaigns
kad1r weblogs - creative commons