Sunday, 5 April 2015

Install a file with the .tar .tar.gz .tar.bz2 extension.



Install a file with the .tar .tar.gz .tar.bz2  extension. 

Assume the program file reside at Desktop
Solution

$tar -zxvf program.tar.gz     

$tar -zjvf program.tar.bz2 

$tar -xvf program.tar     


Assume the .tar file reside at Destop. Change the directory to unzipped folder, i.e.:
cd program/    

dir 

./configure  (if the folder contain configure script)

make
make install
above example is for Kali Linux. But it will be almost the same for all Linux system.

  if it is Ubuntu:
sudo su
(for suse su is enough)

Enter your password.
make install

Thursday, 12 February 2015

Monday, 13 October 2014

Register a dll or all dll in a given folder into registry

Run cmd as adminstrator



Registering a file
To register (or re-register) a file, type:
regsvr32 <filename>.dll
or
regsvr32 <path>\<filename>.dll
where <path> is the path to the file, and <filename> is the name of the file.

Unregistering a file
To unregister a file, type:
regsvr32 -u <filename>.dll
or
regsvr32 -u <path>\<filename>.dll
where <path> is the path to the file, and <filename> is the name of the file.


How to register all DLL Files using CMD
This script turn out to be a extremely handy when all *.dll files in a folder need to be registered.
At the CMD prompt, type the following command and press [Enter]:

for %x in (c:\windows\system32\*.dll) do regsvr32 %x

This command will reregister every *.dll file under C:\windows\system32
 

Flashgot and Thunder (XunLei) error - Download Manager Not Properly Installed error

If you encountered error message - Download Manager Not Properly Installed Invalid Function, which I recently have when I used Flashgot to initiate Xunlei Download Manager. Then you may try the solution I have done to successfully call up the XunLei to download.

My solution is to register the corresponding dll into the registry:

In my case, it is the ThunderAgent.dll. For Thunder (XunLei), the dll (actually all dlls) are placed in the folder BHO under the Thunder folder.

First I open cmd (run it as administrator)
then go to the BHO folder
type regsvr32 thunderagent.dll


A message said ... successfully registered... will popup.

That's it. And you are done. XunLei back to normal.

Very simple

You may register all dll if you are not sure which dll work for you.
http://surfnetz.blogspot.com/2014/10/register-dll-or-all-dll-in-given-folder.html

Friday, 28 March 2014

FREE PDF split and merge

PDFsam basic is FREE, you can download it and simply use it on every platform with a Java Runtime Environment installed.

License: GPL2

PDFsam basic is a simple, platform independent software designed to split and merge pdf files. It’s stable, completely free and It should cover most of your needs. With it’s intuitive interface you can:

  • split your pdf documents (into chapters, single pages, etc.).
  • merge many pdf documents or subsections of them.
  • extract sections of your document into a single pdf document.
  • mix alternate pages taken from two pdf documents in straight or reverse order into a single document.
  • rotate pages of the selected pdf documents.
  • visually reorder pages of a selected pdf document.
  • visually compose a document dragging pages from selected pdf documents.
  • save and load your workspace to automate your recurrent jobs.
  • manage pdfsam settings and set a workspace to load at start up.

PDFsam basic is free, you can download it and simply use it on every platform with a Java Runtime Environment installed.

Download the software here.

Tuesday, 25 March 2014

Resize All Images Automatically in Blogger


Blogger has basic options for resizing images, but this not practical and does not fit the blogs designs well.

Manually resizing pictures one-by-one is acceptable, but what if your site has a lot of photos and images. Will you edit them manually that would take months or even more?

Here's the solution:

1. go to Blogger.com
2. your site
3. Template
4. press the Edit HTML button.


In the new Blogger HTML Editor search for the ]]></b:skin> tag

and just before it paste the following CSS coding.

.post img {
float:center;
min-width:560px;
max-width:560px;
max-height:400px;
min-height:400px;
padding : 10px;
line-height : 2em;
margin: 0 auto 10px auto;
clear: both;
}


Now change the values of Width and height, according to your needs. You can even add a border to your images through (border: 1px solid #d2d2d2) a modest border CSS command.


After customizing, press the “Save Template” button.

Blogger Brunch
Blogger Brunch (Photo credit: isthisREALLYmylife?)


Enhanced by Zemanta

Sunday, 23 March 2014

Change the default size of ALL your uploaded blogger post photos





Change the default size of ALL your uploaded blogger post photos


To make every single photo is exactly the same width. Looks well aligned and neat. Just copy this code. No more worry about photos coming up too small or too big.

Go to Template > Customise > Advanced > Add CSS

Paste in the following code:

.post-body img {
width: 608px;
height: auto;
}
.post table.tr-caption-container img {
width: 608px;

height: auto;
}


Adjust the photo/image size to your desired width.

Go preview to see and if you are happy with the size, click Apply to Blog.

This code will change the size of all of your photos/images including any photos/images from previous posts.
2011-08-05 22-07-58-sky
2011-08-05 22-07-58-sky (Photo credit: Wikipedia)
Enhanced by Zemanta