sudo passwd ubuntu
Then create your password, you will need to already be in Terminal
To create a usable root user’s account on a live cd, you can set the root password then su. This has not been possible in previous versions of Ubuntu as their user model made you remember to sudo before each command requiring root access.
sudo passwd root
As of Ubuntu 9.10, I haven’t been able to login with “demo” or “Ubuntu” as the password for live session username “Ubuntu”.
Googlethem.com is full of google tricks and tips for searching and finding things, people, music, information and special hidden techniques, click here to google them.
If you want SEO or Search Engine Optimization howto click here.
If you want Linux tips, tricks, and commands, click here.
For HTML and CSS tips and fixes, click here.
These pages help you to fix a problem with HTML, formatting with CSS, how to google them, music downloads online with special google search, how to find books online, backup hard drive with dd, dd backup and restore partition and mbr, adding optional disk drive, google description limit, looking for videos online, and much more.
Windows 7 fixmbr:
from: http://www.planetmy.com/blog/how-to-fixmbr-using-windows-vista-bootable-disk/
This is a Malaysian computer blog which I find interesting, visit it if you like the tutorial below!
The following tutorial will teach you “How to fixmbr using Windows Vista bootable disk“.
- Boot up your computer using Microsoft Windows Vista Bootable disk. (Check your BIOS setup)
- When you see the 1st Windows Vista installation screen appear, please configure your ‘language‘ preferences.
- When prompted, click ‘Repair your computer’.
- Startup Repair will automatically detect a problem. When prompted, click ‘Repair and restart’, and then restart your computer from the Windows Vista bootable disk. If Startup Repair does not automatically detect a problem, continue to the next step.
- click ‘Repair Your Computer’.
- Click Command Prompt from the System Recovery Options.
- BootRec.exe provides the following command-line options:
- /FixMbr. Re-writes the master boot record (MBR) of the system partition to start Windows Vista. This won’t overwrite the existing partition table.
- /FixBoot. Writes a boot sector onto the system partition to start Windows Vista.
- /ScanOs. Scans all disks for Windows Vista installations and displays them to you. Oddly, this didn’t work for me, even on a test system that was starting just fine.
- /RebuildBcd. Scans all disks for Windows Vista installations and prompts you to pick the ones you want to add to the BCD.
- Type ‘BootRec.exe /fixmbr‘ and press Enter.
- Congratulations! You’re done.
To fix grub after installing windows destroyed your boot sector:
from: ubuntuforums.org
…any time you install a copy of windows it will erase grub
its a simple fix..
1. boot live cd
2. open terminal
3. sudo grub
4.from grub prompt do this
find /boot/grub/stage1
it will give you something like this (hd0,0)
5.use the disk that you found with the command above for this next command
root (hd0,0)
(remember to change the numbers to correspond to whatever you got in the previous step)
6.setup (hd0) (notice how i left out the ,0) thats not a typo!
it should give you some type of confirmation that it worked
then you can just quit grub
quit
then exit the terminal
exit
reboot!
(you will need to add windows to your /boot/grub/menu.lst)
–
OSX86 tips:
Trackpad Tap:
Problem: Trackpad tap not working.
Fix: Put computer into sleep then it works after waking up.
Boot cannot find com.apple.Boot.plist:
If something goes wrong usually you don’t get the full 1280×800 resolution. You can fix that just adding to com.apple.Boot.plist configuration file (did you remember the time-out for boot menu?) these new lines:
* <key>Graphics Mode</key>
* <string>1024×600x32</string>
You should have something like this:
<plist version=”1.0″>
<dict>
<key>Kernel</key>
<string>mach_kernel</string>
<key>Kernel Flags</key>
<string>cpus=1</string>
<key>Quiet Boot</key>
<string>No</string>
<key>Timeout</key>
<string>7</string>
<key>Graphics Mode</key>
<string>1024×600x32</string>
<key>Boot Graphics</key>
<string>Yes</string>
</dict>
</plist>
NOTE: Before you reboot the system, remember to repair the privileges!
Kexts:
kextHelper (it sets the correct rights and stuff and makes a backup of your replaced kexts).
If ever a kext has your system crashing, not booting or unstable do the following:
Boot into “single user mode” by specifying -s at the boot prompt
Then type: /sbin/fsck -fy /sbin/mount -uw / (don’t forget the / at the end!!)
Then erase the offending kext(s) with the backup(s) (example of AppleIntelGMA950 kext) cp -R /Backup Extensions/AppleIntelGMA950.kext/ /System/Library/Extensions/ rm /System/Library/Extensions.mkext
Reboot with the -f option
–
OSX86 9 step install guide:
from: http://www.taranfx.com/blog/?p=1204
Uses bootloader from Windows 7 after installing OS X to repair the boot sector, with Diskpart commands. Then adding OS X to windows boot menu while inside windows.
–
If you’ve added a person with a google account (gmail or whatever) and they cannot access their analytics account that you’ve shared with them from your account:
Try this link instead: https://www.google.com/analytics/settings/?et=reset&hl=en-US
This information comes directly from google.
If google’s summary that’s listed on the search results page is not what you expect and it doesn’t change when your page content or Meta Tag Description does:
First make sure your page has been crawled lately, you can do this manually by submitting your website to google. You can do this automatically by generating a sitemap.xml file and forcefeeding google all of your pages with it.
Prevent search engines from displaying DMOZ data in search results for your site
One source we use to generate snippets is the Open Directory Project. You can direct us not to use this as a source by adding a meta tag to your pages.
To prevent all search engines (that support the meta tag) from using this information for the page’s description, use the following:
<meta name="robots" content="NOODP">
To specifically prevent Google from using this information for a page’s description, use the following:
<meta name="googlebot" content="NOODP">
If you use the robots meta tag for other directives, you can combine those. For instance:
<meta name="googlebot" content="NOODP, nofollow">
Note that once you add this meta tag to your pages, it may take some time for changes to your snippets to appear in the index.
If you’re concerned about content in your title or snippet, you may want to double-check that this content doesn’t appear on your site. If it does, changing it may affect your Google snippet after we next crawl your site. If it doesn’t, try searching Google.com for the title or snippet enclosed in quotation marks. This will display pages on the web that refer to your site using this text. If you contact these webmasters to request that they change their information about your site, any changes to their sites will be recognized by our crawler after we next crawl their pages.
How to redirect any and all website pages to another website removing the page reference. This way if you have an old website with old links everyone will be redirected to the front door. Search engines will see the permanent 301 redirect and update their index to not list your old website.
# redirect anything with base url in the second line to the first one and remove any page references
redirectMatch 301 ^(.*)$ http://mynewwebsite.com
redirectMatch permanent ^(.*)$ http://www.myoldwebsite.net
To not count yourself in your google analytics reports.
1) Filter your own IP by finding your external IP address, then in Analytics->Filter Manager (bottom right)->Create New Filter->Name it, set to “Exclude all trafffic from an IP address”, use your external IP or better yet use a range of IPs close to yours (if you have a dynamic IP, which most people have)->Name your filter something like “me filtered out”.
You can calculate your range of IPs using Regular Expressions (Regex) on this page at google.
If your IP is 67.154.12.152 Then after adding the whole block from 1 to 255:
ex:^67\.154\.12\.([1-9]|[1-9][0-9]|1([0-9][0-9])|2([0-4][0-9]|5[0-5]))$
2) You need to add a new website profile in analytics:
Analytics Settings->Add Website Profile->Add a Profile for an existing domain->Name the profile something like “mydomain.com with me filtered out”->Finish (button)
3) You need to add your filter to a website profile in analytics:
While viewing all of your “Website Profiles”, Click the “Edit” text to the far right of the new one you created and named (me filtered out)->Click the “Add Filter” text->Apply existing Filter to Profile->Click your filter->Click “Add” (button)->Click “Save Changes (button).
Your new profile will have 0 visits up to the day you added the new profile. So your previous numbers of visits do not transfer to your new profile. From now on your new profile will have lower numbers than the original profile because the new profile doesn’t count your visits any more and the old one still counts everything.