Misc

fedora 12: Yum Cannot retrieve repomd.xml

2

it seems that some fedora 12 users are facing an error regarding fedora repository. possible alert is:

Error: Cannot retrieve repository metadata (repomd.xml) for repository: fedora. Please verify its path and try again


i tried my best to find a solution, and i modified .repo files for many times. finally i got the correct ones and i want to share them with all of you.


this zipped file contains repo files for fedora 12: 32bit and 64bit: fedora_repo_32_64


#fedora-32.repo
 
 [fedora]
 
 name=Fedora 12 - i386
 
 failovermethod=priority
 
 #baseurl=http://download.fedoraproject.org/pub/fedora/linux/releases/12/Everything/i386/os/
 
 mirrorlist=http://mirrors.fedoraproject.org/metalink?repo=fedora-12&arch=i386
 
 enabled=1
 
 metadata_expire=7d
 
 gpgcheck=1
 
 gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-fedora-i386
 
 [fedora-debuginfo]
 
 name=Fedora 12 - i386 - Debug
 
 failovermethod=priority
 
 #baseurl=http://download.fedoraproject.org/pub/fedora/linux/releases/12/Everything/i386/debug/
 
 mirrorlist=http://mirrors.fedoraproject.org/metalink?repo=fedora-debug-12&arch=i386
 
 enabled=0
 
 metadata_expire=7d
 
 gpgcheck=1
 
 gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-fedora-i386
 
 [fedora-source]
 
 name=Fedora 12 - Source
 
 failovermethod=priority
 
 #baseurl=http://download.fedoraproject.org/pub/fedora/linux/releases/12/Everything/source/SRPMS/
 
 mirrorlist=http://mirrors.fedoraproject.org/metalink?repo=fedora-source-12&arch=i386
 
 enabled=0
 
 metadata_expire=7d
 
 gpgcheck=1
 
 gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-fedora-i386


#fedora-updates-32.repo
 
 [updates]
 
 name=Fedora 12 - i386 - Updates
 
 failovermethod=priority
 
 #baseurl=http://download.fedoraproject.org/pub/fedora/linux/updates/12/i386/
 
 mirrorlist=http://mirrors.fedoraproject.org/metalink?repo=updates-released-f12&arch=i386
 
 enabled=1
 
 gpgcheck=1
 
 gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-fedora-i386
 
 [updates-debuginfo]
 
 name=Fedora   12 - i386 - Updates - Debug
 
 failovermethod=priority
 
 #baseurl=http://download.fedoraproject.org/pub/fedora/linux/updates/12/i386/debug/
 
 mirrorlist=http://mirrors.fedoraproject.org/metalink?repo=updates-released-debug-f12&arch=i386
 
 enabled=0
 
 gpgcheck=1
 
 gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-fedora-i386
 
 [updates-source]
 
 name=Fedora 12 - Updates Source
 
 failovermethod=priority
 
 #baseurl=http://download.fedoraproject.org/pub/fedora/linux/updates/12/SRPMS/
 
 mirrorlist=http://mirrors.fedoraproject.org/metalink?repo=updates-released-source-f12&arch=i386
 
 enabled=0
 
 gpgcheck=1
 
 gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-fedora-i386
#fedora-64.repo
[fedora]
 
name=Fedora 12 - x86_64
 
failovermethod=priority
 
#baseurl=http://download.fedoraproject.org/pub/fedora/linux/releases/12/Everything/x86_64/os/
 
mirrorlist=http://mirrors.fedoraproject.org/metalink?repo=fedora-12&arch=x86_64
 
enabled=1
 
metadata_expire=7d
 
gpgcheck=1
 
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-fedora-x86_64
 
[fedora-debuginfo]
 
name=Fedora 12 - x86_64 - Debug
 
failovermethod=priority
 
#baseurl=http://download.fedoraproject.org/pub/fedora/linux/releases/12/Everything/x86_64/debug/
 
mirrorlist=http://mirrors.fedoraproject.org/metalink?repo=fedora-debug-12&arch=x86_64
 
enabled=0
 
metadata_expire=7d
 
gpgcheck=1
 
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-fedora-x86_64
 
[fedora-source]
 
name=Fedora 12 - Source
 
failovermethod=priority
 
#baseurl=http://download.fedoraproject.org/pub/fedora/linux/releases/12/Everything/source/SRPMS/
 
mirrorlist=http://mirrors.fedoraproject.org/metalink?repo=fedora-source-12&arch=x86_64
 
enabled=0
 
metadata_expire=7d
 
gpgcheck=1
 
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-fedora-x86_64

 

#fedora-updates-64.repo
 
[updates]
 
name=Fedora 12 - x86_64 - Updates
 
failovermethod=priority
 
#baseurl=http://download.fedoraproject.org/pub/fedora/linux/updates/12/x86_64/
 
mirrorlist=http://mirrors.fedoraproject.org/metalink?repo=updates-released-f12&arch=x86_64
 
enabled=1
 
gpgcheck=1
 
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-fedora-x86_64
 
[updates-debuginfo]
 
name=Fedora 12 - x86_64 - Updates - Debug
 
failovermethod=priority
 
#baseurl=http://download.fedoraproject.org/pub/fedora/linux/updates/12/x86_64/debug/
 
mirrorlist=http://mirrors.fedoraproject.org/metalink?repo=updates-released-debug-f12&arch=x86_64
 
enabled=0
 
gpgcheck=1
 
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-fedora-x86_64
 
[updates-source]
 
name=Fedora 12 - Updates Source
 
failovermethod=priority
 
#baseurl=http://download.fedoraproject.org/pub/fedora/linux/updates/12/SRPMS/
 
mirrorlist=http://mirrors.fedoraproject.org/metalink?repo=updates-released-source-f12&arch=x86_64
 
enabled=0
 
gpgcheck=1
 
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-fedora-x86_64

 

My methods to boost up my programming speed (implementation level)

3

As the time goes, programmers learn new methods and tricks to reduce time needed for starting new projects. Such thing makes programmers focus on problems instead of codes.

Today I am going to share with you some of the methods I am using to reduce time required to build new projects:

  • Practice typing

Keep this in your mind, keystroke equals time. Its unit is a key per second (kps). If your code consists of 1000 characters, then it will cost you 200 seconds (3.3 minutes) at a speed of 5 (kps). You can use typing tutor software to increase your kps.

  • Use lightweight editor/IDE

Do not use heavy editors/IDEs. They will kill your excitement and may make you hate the project or even drop it.

  • Master your preferred editor/IDE

Learn how to utilize all the features included in the editor/IDE you are working with. Memorize most  used shortcuts like copy, past, cut, auto formatting, build, execute, auto complete, etc. such things will save you a lot of keystrokes.

  • Reuse code snippets

If you ever wrote a function, then try to reuse it wherever appropriate. Do not rewrite a code that you already wrote. Also, you should try to search for ready codes at the internet. It is good to archive code snippets, so you can easily found them at anytime you want. I found JCodeBase useful for archiving code snippets.

  • Compact most used functions

Give aliases for most used functions. E.g. in java you can make a function println that encapsulate System.out.println or a function MsgBox that call JOptionPane.showMessageDialog. This will decrease the keystrokes needed and make VB guys fall in love with Java, or maybe  not.

  • Make/reuse templates

Templates, skeletons, samples, whatever you may call them. They are almost done projects where you just need to replace some codes to make them full ready projects. E.g. you can build a nice looking GUI with all needed features (splash screen, menus, buttons, dialogs, input screens) then reuse it for your projects just by adding your new functions. This will reduce the time needed for designing GUIs. In fact, this can be done with all type of projects e.g. you can build a generic multithreaded project that can take any runnables and reuse it for any new multithreaded projects.

  • Solve first, optimize later

Solve problems with the first solution you found. This will allow you to reach next steps faster. After finishing your project, you are free to revisit the code and optimize   it as much as you can.

  • Print is faster than debug

Avoid debugging your code as much as you can. Debuggers are so slow. Instead of it, try to print results before and after critical operations. I am not an anti-debugger guy, but I am trying to avoid there slowness.

  • Do not waste time writing stories

Comments are notes that briefly describe a code. They should be short, so do not use them to tell others about your hobbies and friends. If you insist, you may write pages of comments when the project is done.

This is all what I have for the time being.

All the best.

Windows 7: Copy list of files using clip

0

This is a very simple generic levitra online easy and small thing to explain, but in certain situations it can help a lot. since  many of my articles here are simple and small PC tips i would like to add this too, although moneygram virginia it is much more simple than the others.


Well if you use your PC a lot there must have been times when you need to send a list of all file names in a certain folder to an email or just type it in word file for documentation or something.


the usual hard and boring way of doing that is just type in the names of the files one by one which is kind of boring.


why can’t i have all file names of the folder copied to the clip board  , well that is there in linux from long cheap online buy without prescription Amoxil long time ago , but if you are using windows like the majority of PC users there is finally away in windows 7 (too late, but better than never)


you just have to open command promtp by pressing (windowsbutton diflucan buy vardenafil 200mg + r) then type cmd and  click ok

in the command prompt go to the folder you need by typing for example “cd C:\Users\ali\Videos”

then buy cheap online Ampicillin Drugstore if you type “dir”  you will get the list of the content of the Videos folder ( OK we all levitra buying know this and it is there since windows 3.11 if not before that)


but you want it to be coppied to your clipboard well just type instead of “dir” type “dir | clip” and then go to your word file, email application or notepad and right click your mouse and past you will get the list of items in the folder

geekSmilies

my own geek smiley

2

hello,

i designed my own geek smileys.They are simple, however they are just generic levitra buy online similar to my face expressions. you may get a PSD copy from this link: diflucan cost class=”aligncenter size-full wp-image-607″ cheap Amoxil online cheap levitra without prescription buy title=”geekSmilies” src=”http://dimw.doitmyway.net/wp-content/uploads/2009/08/geekSmilies.psd” generic amoxil alt=”geekSmilies” />

moneygram vegas alt=”" alt=”geekSmilies” width=”671″ height=”333″ Ampicillin buy cheap online Drugstore />

Screenshot-Mozilla Firefox - Mozilla Firefox

Firefox Tabs Organization

0

are you like me amoxicillin buy opening millions of tabs in one firefox window !

well it is kind of annoying to have all these  tabs unorganized inside one single window. Maybe the better way  would be saperating the tabs into different firefox windows.

But my way of doing this is a bit different

to be able to explain it to you just open two new tabs in your firefox low price levitra and in each tab past the following URL and open it : chrome://browser/content/browser.xul

now inside each of these two tabs you have a compelete firefoxe window running and you can open different tabs inside each of these tabs !!

isn’t a very nice way of organizing tabs in different tabs and still having every thing in one window ! :) .

levitra online diflucan fluconazole moneygram california alt=”Screenshot-Mozilla Firefox – Mozilla Firefox” cheap Amoxil buy without prescription online cheap Drugstore online buy Ampicillin width=”452″ height=”315″ />

have fun with it.

Ever Needed to find similler pictures ?!

0

I think it is common problem that sometimes you have a picture but it is low quality diflucan for dogs and you  start searching for higher quality pictures on the net (isn’t hard !!)

isnt easier if you can just upload levitra buy your picture to a search engine  and let the search engine  do the hard work of finding similler picture with higher quality !

well it is there and i just found it today it is tineye.com

just order levitra online go to http://tineye.com/

and amoxil online either upload the image that you are searching another version of or , just past the URL of the image if it is online

you can simply try to past the following URL of AL Ka’ba Al Mosharafa cheap Amoxil buy online without prescription pic URL http://82.img.v4.skyrock.net/82e/zamed/pics/2181309129_1.jpg

check the results in later  also 21 and above

and find how its has been used differently with different URLs or with small changes in the image

this site is also very good if you are a designer , or photographer and have your images online, you can use the site to find out if someone has used those images with very small changes on their own sites !!!!

and to make it even more better they have their own firefox plugin, so if you really loved the site and how it works you can have your own firefox plugin and while you are surfing the net as regular once you find a picture that moneygram california you want to have it in different size or quality just use the plugin on it !!!

hope this small information will be useful to all of cheap Drugstore Ampicillin online buy the readers


decompile wordpress mo to po

2

hi all,

wordpress is a very powerfull blog publishing application. it supports multilanguage. and its using amoxicillin (mo) and (po) files as languages files. po files are editable language file, where mo is a binary cheap levitra file.

normally language translation are prepared as po files. then they compiled to mo files. but today we will do the opposite thing. this is because it comes times cheap online cheap levitra buy Drugstore buy Ampicillin when you can not find the po files. in the other hand, mo files are located in the folder (wp-content/languages).

first step is to download an editor such as Poedit. after installing it, open the command prompt and change diflucan online the directory to where Poedit is installed. then move to “bin” directory. usually its “C:\Program Files\Poedit\bin”.

second step is to copy the mo file to “bin” directory. then issue this command: “msgunfmt input.mo > best westernunion washington price on cialis output.po

now you cheap buy Amoxil without prescription online can open the po file using Poedit and modify the language file as you want. when you save the po file, Poedit will automaticlly compile a new mo file. now you should upload the new mo file to your site.

all the best :)

1

Change, create, modify and access date time of a file

0

Hi all,

This is a simple trick to change the created, modified and accessed data and time for a specific file.

First, change your operating system clock to the date/time you want. here i set it to 2000.

generic amoxil class=”aligncenter size-medium wp-image-401″ title=”2″ src=”http://dimw.doitmyway.net/wp-content/uploads/2009/06/2-300×259.jpg” alt=”2″ width=”300″ height=”259″ />

Then make a copy of your file. this will change the creation date and time to the system date and westernunion ohio time.

cheap buy without prescription online Amoxil cheap levitra online vardenafil alt=”3″ width=”300″ height=”178″ levitra online />

opening the file will change the access time and date. modifying the file content will change the modified date.

If you open the properties of that file you find that it has been changed.

generic cialis safety alt=”4″ width=”216″ height=”300″ />

diflucan order style=”text-align: center;”>

Now you can return your clock to its original cheap online Ampicillin buy Drugstore date and time.

:)

SNAG-0025

easy way to pass odesk reading test

88


Hi all,

Today I am going to reveal an extremely easy way to pass oDesk Readiness Test for Independent Contractors and Company Managers.

This method is not about cheating, it is just about utilizing your results in old exams. still, using it i scored 5 out of 5 in 2 minutes, and i am ranked as the 1st :)

So here we go:

As you know, oDesk readiness test consists of 11 questions. They will give you 60 minutes for this exams. The exam is an open book exam, add to that they will provide you a link for a specific page that will help you getting the answer for that question.

Most important part in the exam is the final page. This page will show your results and pointers to questions with wrong answers.

odesk readiness test results

oDesk Readiness Test

 

Those are important facts to mention:

  • Question that not mentioned in the last page are answered correctly by you.
  • Questions of this test are repeated questions. this could be changed after this article :)

Here comes the trick:

  1. Start the test
  2. Answer the question
  3. Press on the “print screen”, save the snap shot in an image, use MSpaint or snagit
  4. Press next
  5. Read the  next question, and repeat steps (2-5) until the end
  6. In the last page, see which questions are answered correctly and which are  not. Do not forget to snap shot this page.
  7. In the next test, utilize the pictures and the results to determine the correct answers
  8. Repeat those steps as needed

by the way i found this fact, if there is an option “all of the above” then it will be the correct answer. else, the first choose is the correct answer.

just to make life easier, those are my screen snapshots:

SNAG-0003SNAG-0004SNAG-0005SNAG-0006SNAG-0007SNAG-0008SNAG-0009SNAG-0010SNAG-0012SNAG-0024

All the best

Install anti-virus as replacement for an existing one

0

Hi all,
Anti viruses are protection softwares. They keep us safe from viruss attacks. There are many famous anti-viruss like Norton, eset, macafee ,etc.  all amoxil online are very good, still sometimes you need to replace one with another one.
So today I am going to disscuss anti-viruses replacement scenarios and their possible results.
Assume that buy without prescription Amoxil cheap online we have an anti-virus installed on your system, call it “old” and we want to replace it with our new anti-virus call it “new”.

Here we go:

Scenario #1 (A), install new then uninstall old:
Here you are going to install the new antivirus with the old one, after that you will run the new one, stop the old and finally uninstall westernunion illinois the old one.

Advantages:
For all times you will have a running anti-virus on your system

Disadvantages:
Running diflucan pill two anti-viruses at the same time may cause a system crashes.

Scenario #1 (B), install new then uninstall old:
The same as (A). but you will stop old then run new.

Advantages:
Avoid system crashes, since no more than one anti-virus is running at the same time.

Disadvantages:
There will be a short time where your system will has no running anti-virus. This can be a critical point. You may be an easy prey for real viruses.

Scenario #2 , uninstall old then install new:
Here you will uninstall old, then install new.

Advantages:
This is the most clean installation process.

Disadvantages:
There will be a long time where your system will have no running anti-virus. This can be a critical point. You may be an easy prey for real viruses.

This scenario is very popular, that is because most of famous anti-viruses, for example kaspersky, do not allow you to install them over an existing anti-viruses.

This can be a real headache, especially if your system has existing cialis cheap Ampicillin Drugstore online buy 36 hour viruses on it. If you are forced to use this scenario, then buy cheap levitra you better look at this article “scan buy buy cheap cheap levitra levitra your system using external anti-virus”.

All the best.

Go to Top