Tuesday, September 14, 2010

FreeBSD forget the root password of a repair



When changing jobs, the root account to the next manager, the result not very children know bsd, I told him to change the password, changed,
After time to time do not forget the.

I have set on the console and ttyv are security restrictions, so even single-user mode can not entered, the scene has not fixCD, only another
Taiwan bsd system, I have root privileges.

So hard to forget your password link to have root privileges on the system.
First check the file system
# Fsck-y / dev/ad2s1
Mount to a directory
# Mount / dev/ad2s1 / mnt
Creating a chroot environment with
# Chroot / mnt
Then mounted into the inside of the usr directory is lost root password
# Fsck-y / dev/ad2s1f
# Mount / dev/ad2s1f / mnt
Set Password
# / Usr / sbin / passwd root
Setting, the hard drive in exchange for the original machine. Normal landing.

Restart FreeBSD, when there is countdown time to press any key (except Enter), then enter the''boot-s'', enter the system after the first run `# / sbin / mount-a`, now you can use `passwd `to modify the root password.







Recommended links:



qt blackberry



ps3 format



Mpeg 4 mp4



Youtube To Mpg Converter



Wednesday, August 4, 2010

Shortcut / delete items / EXE self-delete DIY


Each programming enthusiasts, and hope that their work accepted and loved for everyone, but most of our work is a simple EXE file copy, not only did not remove the program without installing, people think only process rather than product, Following my example and to share what Delphi program group shortcuts to create, add remove program group in the removal of items and procedures for self-delete function.
1. Following the establishment of procedures to introduce the first group of shortcut method:

Unit in the uses to add shlobj, activex, comobj, in the window add a button, and add the following code in their event:




procedure TForm1.Button1Click (Sender: TObject);
var sl: ishelllink;
pf: ipersistFile;
lnkName: Widestring;
app: string;
begin
olecheck (cocreateInstance (clsid_shellLink, nil, Clsctx_inproc_server, iShellLink, sl));
pf: = sl as IPersistFile;
app: = application.exename;
OleCheck (sl.SetPath (pchar (app )));// establish an effective link
LnkName: =''C: WINDOWSStart MenuProgramsredbird.lnk''; / / set the target file
pf.Save (PWideChar (lnkName), true); / / Save the file
end;
Of course, this code should be placed above the first run when the program code, but also the location of the program group or the desktop to the registry HKEY_CURRENT_USERSoftwareMicrosoftWindowsCurrentVersionExplorerShell Folders best to the corresponding value in the subject. The operation of your registry on the registry by Delphi encapsulates the TRegistry to complete, this method is simple, in this respect will not go into, if you want to write a smaller program, or you are using VB programming, then may call the API. The following will be on the registry API functions of the direct call to tell you how to establish Add or Remove Programs item. Similarly, this code should be placed on the first run-time program execution.






program project1;
uses
Windows;

($ R *. RES)
type
TRegKeyInfo = record
NumSubKeys: Integer;
MaxSubKeyLen: Integer;
NumValues: Integer;
MaxValueLen: Integer;
MaxDataLen: Integer;
FileTime: TFileTime;
end;
var IHand: integer;
IKey: Hkey;
Regs: TRegKeyInfo;
begin
RegCreateKeyEx (HKEY_LOCAL_MACHINE, / / Registry root key
''SoftwareMicrosoftWindowsCurrentVersionUninstallMyApp''/ / your program entries
, 0, nil, REG_OPTION_NON_VOLATILE, KEY_ALL_ACCESS, nil, IKey, @ IHand);




RegSetValueEx (Ikey,''DisplayName''
, 0, REG_SZ, Pchar (''remove me !'')// delete the characters displayed in the list
, 10); / / characters in length
RegSetValueEx (Ikey,''UninstallString'', 0
, REG_SZ, pchar (ParamStr (0) +''/ UNINSTALL''),// delete the command line call
4);
end. This code will process your name and full path "/ UNINSTALL" parameter write to the registry HKEY_LOCAL_MACHINESoftwareMicrosoftWindowsCurrentVersionUninstallMyApp, you can be in the Add or Remove Programs to see "Remove me!" project, and when you click on this item When your program through ParamStr (1) will receive "/ UNINSTALL" parameter, and thus calls for the identification code that can remove the program. Let us introduce the following procedures when you receive this parameter, without calling other programs and "self-delete" of the two methods.

One of them is received after this parameter dynamically create a batch file to delete files, the program generated within the installation process, such as shortcuts and delete files and registry values before exiting after the call this batch file will own you can delete, such as:




procedure TForm1.FormCreate (Sender: TObject);
var f: textfile; / / author does not recommend that you remove the code in FormCreate incident, the author believes that the possibility can not be deleted will appear.
begin
AssignFile (f,''temp.bat'');
Rewrite (F);
Writeln (f,''del''+ paramstr (0));
Writeln (f,''del temp.bat'');
closefile (f);
application.Terminate;
winexec (''temp.bat'', SW_HIDE);
halt;
end; on the treatment of simple text files, several times to explore the writer found a better second method is simple, direct call to the command shell to complete the deletion of work:




application.Terminate;
winexec (pchar (''command.com / c del''+ ParamStr (0)), SW_MINIMIZE); / / implementation of minimum deletion, or the moment will see the DOS window flashing
halt;





Recommended links:



Mov to avi converter



S first day of the prohibited advertising ban quiet Changing Faces "painless abortion" to "unwanted



Out of the ESB Mistakes: Ten Myths opened ESB



Evaluate Graphic



MY performance gone?



Interview with B & Q (China) Vice President, Human Resources Director Miss Hu Weiyan



News ABOUT Hobby



Reference Tools For You



blackberry video Format



Converter Mp4 To 3gp Free



Seattle interactive e-learning global Language laboratory



Revitalization of Road Reflection RFID



TAOBAO Alipay betrayal?



Audio Rippers And Converters Wizard



Flv to 3gp



A class with no class routing under the Matching principle route



How TO enhance the productivity of textile and garment factories?



Monday, July 12, 2010

The very moment of WiMAX



San Francisco - from the formal launch of WiMAX, there are 8 months, but have been able to feel the heavy pressure.

WiMAX, which is IEEE 802.16, is designed to provide wireless services in the form of metropolitan broadband, so that the number of megabytes speed wireless network covers hundreds of miles.

Intel's next-generation Centrino chipset, "Montevina" will be the "starting gun", which will be the first integrated WiMAX chipset component "Echo Peak". Intel spokesman confirmed that they planned May 2008 launch of Montevina.

At that time, notebooks will start to consider buying a new consumer support for WiMAX notebook, and I said, "Well, I want to try that." But their desire to achieve it? It seemed that this may depend on children on where they live.

Intel is serious about the technology. This technology is basically required notebook computer manufacturers have begun to abandon the 3G laptop chip implanted in order to establish WWAN coverage. In order to expand the WiMAX network, must create such an ecosystem of products: processors and related components, modems, base stations and services. However, participated in a press conference Wednesday afternoon, the look will afford service providers to determine the success of WiMAX task.

WiMAX in the U.S. There are two service providers: Clearwire and Sprint. In July, the two companies reached an agreement to deploy on each side is responsible for planning the allocation of areas: Sprint will be responsible for urban deployment, while Clearwire will be responsible for other rural areas in California Chico deployment. "Wireless Week" and "ABI Research" and other publications that the agreement will expand the size of WiMAX industry. Although I agree with the lack of competition will undoubtedly market, but I think that the industry and market opportunities are only limited in time to appear. Clearwire and Sprint's cooperation seems to be too high in order to reduce potential losses.

But even if you do not agree with this speculation, even if you think about the content of it Midweek News conference.

Clearwire: The action of the

We should remember that the United States only two WiMAX service providers: Sprint and Clearwire. Intel's investment in Clearwire has been no hype on its Web site its investment in WiMAX; on its Web site search "WiMAX", only to find 6 matches. However, one of which is a share of Clearwire Sprint WiMAX plans and coverage maps, is impressive. This map makes very surprised, Clearwire plans to offer services to the United States two-thirds of the region.

But the fact is this: despite the company's own estimates, according to Clearwire is for the U.S. market 44 300 000 subscribers, almost all users are not WiMAX. Clearwire CTO John Saw says, Clearwire's WiMAX deployment is just a total initial deployment, covering Intel in Hillsboro, Oregon, 15 miles radius around the campus area. This is just a test deployment items.

Saw said the next phase of the mission is the deployment of the project expanded to 145 square miles, so that all relevant issues "resolved." The "end use" phase will cover 700 square miles of area surrounding Portland. Regrettably, however, Saw did not give a timetable for the two steps.

"We are very excited, but there are a lot of work to do." Saw said. If the Montevina launch, only a handful of users to enjoy Oregon WiMAX service, which is simply unimaginable. Saw words will be with the company's ambitious network coverage area than is the case it seems only.

However, the technology Sprint has the potential to avoid weaknesses. The company showed a slide presentation that 2008 will be 19 major urban markets "Xohm" WiMAX services, including the town where I live in Phoenix. Asked when the Montevina launch WiMAX services will provide what the market, Sprint Xohm WiMAX services for business operations, said Atish Gude, senior vice president, WiMAX services will cover the Chicago, Baltimore and Washington, DC, and then will expand to other regions.

If this development as planned, this would be a major step forward, but we also see some of the obstacles facing the plan. When I lived in London, PCCW launched NOW service. But in a city, especially by the physical constraints of the city, often there are many broadband services (in particular, ADSL2 +, there will be dozens of service providers). Even in the DSL providers and cable service monopoly of the United States, urban users enjoy a variety of well-wired broadband and Wi-Fi service, 3G will fill the vacancy. It is reported that PCCW's NOW service intends to be relieved.

Today, Clearwire offers service rate up to 2 trillion. This may mean that in the rural "broadband", but the city did not. Even 2.5G or 3G services, it is higher than the bandwidth. Saw sure that the speed of any discussion on WiMAX delay must also be involved, as a ground IP network, WiMAX should be possible to shorten the delay time. Of course, there are "nomadic" - In theory, 3G cards to achieve the service, WiMAX should be able to do.

However, WiMAX can now bring you the only one with your home router almost a big support "nomadic" modem, the user must be it from one place to another. Of course, with the "Echo Peak" completely eliminate it. But at this stage, I can not determine whether some of the early adopters will be willing to give up their reservation and integrated Wi-Fi services / independent 3G card, but pay a higher price to book WiMAX. But an Intel spokesman said the company will begin some early users to provide true mobile WiMAX PC cards in the trial, so that users can truly appreciate the advantages of this technology.

When Intel Centrino Wi-Fi as part of the global market push, Viswanathan said the company had a "cop pilot": the claim that technology has come out ready for the prime time is needed before the number of hot area? (Final The result is the world's more than 30,000; Intel's launch of service in the hot zone of about 50,000, easily reached that goal.)

In the press conference, Viswanathan said that the deployment of the WiMAX project, Intel has not planned a similar "red face test." "We hope that Montevina launch, operators around the world not only developed a WiMAX plan, also conducted a WiMAX deployment." He said. Challenge it is.







Recommand Link:



EASY to use Clipboard Tools



what Is mov



Daniusoft AAC Music Converter



LasVegas DVD to PSP



WorldCup DVD Editor



Youtube Video to PPC Now



Youtube FLV Save + Converter Today



Perpetually Flash SWF Convert



Mkv File



News about Chat And Instant Messaging



Youtube To WMV Freeware



What Is Avchd



Hot Newsgroup CLIENTS



free flv to mp4 converter



Professional VCD MP4 Deconde



Christmasgift DVD Creator



Wednesday, May 19, 2010

Open FLV Converter


Open FLV Converter is a All-in-One powerful tool. Convert all popular video and audio formats to Youtube video, swf or flv to video, such as avi, mpeg, 3gp, mp4, mov, it offers the solutions to problems that many other flash to video converting tools cannot solve, such as video and audio asynchronization, loss of frames, audio distortion, the process of alpha channel, and the process of both internal and external Flash video(flv). With the leading audio and video codec, Open FLV Converter lets you easily and fully enjoy the original effects of your Flash files on your PC, iPod, PSP, Zune, iPhone, DVD players and Youtube Video, Google video, Myspace Video. In conclusion, with easy-to-use interface, fast converting speed, powerful functions.

Tuesday, December 22, 2009

Youtube Movie to 3GP Box


Hot popluar youtube video Converter + download + player tool. With YouTube tool you can also convert downloaded YouTube videos to a format compatible with your favorite portable device; including - iPod Video, iPod Touch, iPod Nano, iPhone, Zune, PSP, as well as video capable MP3 players, video capable mobile phones, and Pocket PC, And finally... YouTube tool's embedded player will allow you to watch all your favorite YouTube videos off-line. So now you can enjoy any .flv and .swf videos anytime!
Supports customize or create user's own profile for any new (portable) device. The video conversion supports preview. About Playing Features. Embedded YouTube Video (Offline) Player is available, it supports offline play YouTube video, .flv video and .swf video. Supports "Drag and Drop" video files direct to the main window. Easy to select the source files. Cool UI skin available. - is the most powerful YouTube assistant on the planet.

Saturday, December 19, 2009

Youtube Movie Converter + Player Ultra


It's most popular and very easy to use YouTube tools. helps you Fast download, convert, play, manage your favorite YouTube videos. If you're a YouTube fan, you'll love YouTube tool! is the most powerful YouTube assistant on the planet. YouTube tool easily: 1. Fast downloads YouTube videos, 2. Supports unlimited simultaneous downloads (a real time saver!), 3. Automatically names the downloaded video the same as the YouTube title, 4. Converts YouTube videos to various video formats, including Video, DVD, VCD, AVI, MPG, MPEG, Divx, Xvid, WMV, RM, RMVB, MOV, MP4, 3GP, SWF, DAT, H264, VOB, Flash, PDA, M4V, 3G2, AMV, CDA, DV,QuickTime, ASX, TV, VHS, FLV, H264, BDMV, MAC, Apple TV, Zune, iPod, PDA, PSP, PS2, PS3, Xbox, Xbox 360, Mobile Phone, Cell Phone, Blackberry, Wii, Laptops, Printers, Palm OS, Pocket PC, PPC, Treo, Psion, EPOC, iphone.
Easily Convert all popular video formats. Provides the highest speed to download YouTube video. Support unlimited simultaneous downloading tasks. Supports auto-name your downloaded video title as the YoutTube page shows. Offers you the most convenient task management and the easiest control capability. About Conversion Features. - is the most powerful YouTube assistant on the planet.

Wednesday, November 18, 2009

Open VCD Converter


Open VCD Converter is the fastest DVD VCD video converter software so far in the world. and reliable tools for VCD video conversion. Almost all kinds of DVD formats was supported by Open VCD Converter. With VCD Converter, you can convert almost all kinds of VCD Converter video (.dat) format. Its conversion speed is far faster than real-time, converting one VCD movie only takes half an hour in some high-end computers. Open VCD Movie to iPhone Video Converter supports single-step conversion of VCD video into iPhone, iPod, Zune, PSP, PS2, PS3, DVD MPEG-4 format while some other soft wares need two steps which wastes unnecessary time.