General :: How To Edit ECC Code
Jun 21, 2010
can I change the ECC code for a block of a file stored on a flash drive by any means ? of a file stored on a HDD (though I don't think there would be a difference between the two)Maybe , through some hardware interrupts or anything like that?Also if possible I need the solution to be in C/C++.
View 3 Replies
ADVERTISEMENT
Dec 23, 2010
I want to know if it is possible to edit the source code of the programs in Linux. Like, take the calculator for instance. If I want to add a user-defined function to it, how can I do it - if I can do it at all? In general, where and how can I look at the source code of such programs ?
View 3 Replies
View Related
Feb 18, 2010
I just need to edit the "rm " command such that it should move all the files / dir to a particular folder instead of deleting. How to edit the source code for rm, such that it should preserve all the deleted files / dir.
View 14 Replies
View Related
Jan 9, 2011
What would give me good quality: 960x640 for ipod 4but keep the file low size?I found 2 codes online:ffmpeg -i Name.avi -acodec libfaac -ac 2 -ab 128k -vcodec libx264 -vpre hq -vpre ipod640 -crf 26 -s 640x480 -threads 0 Name.mp4ffmpeg -i source_video.avi input -acodec aac -ab 128kb -vcodec mpeg4 -b 1200kb -mbd 2 -flags +4mv+trell -aic 2 -cmp 2 -subcmp 2 -s 320x180 -title X final_video.mp4I guess I need to edit the resolutions there? anything else? (btw I know nothing of commands, but i can copy paste! xD)Or! can anyone propose something better?
View 1 Replies
View Related
Apr 27, 2010
I want to edit linux kernel source code in MS Visual Studio. I saw the code and these are c files but there is no project file that i open it and whole project opens up. I can open each individual file but not the whole project.
View 13 Replies
View Related
Jun 10, 2011
How to open a file using command line in terminal and edit the code within it ?code...
View 6 Replies
View Related
Sep 2, 2010
I'm looking to edit my grub.cfg file to add the "pci=routeirq" code to the kernel line so I can configure my modem in Ubuntu. I'm happy with assigning a temporary permission to myself over the root file so I don't accidentally alter it later.
View 3 Replies
View Related
Mar 30, 2011
I need to rewrite the selenium java code into its equivalent php code.
View 5 Replies
View Related
Jul 18, 2010
for reset Facebook password,facebook send a code to e-mail,this code can be sniffed by sniff software?
View 2 Replies
View Related
Feb 11, 2011
I come from the Mac world, where I use [URL] to edit text from anywhere in Vim.
Is there anything like that on Linux ? I'm already using "It's All Text" in Firefox, but I'm looking for something broader.
Also, I've looked at this thread, but it's only solutions for software X, and software Y.
View 3 Replies
View Related
Sep 4, 2010
I need to change one word in over a thousand pages of HTML. I think sed is the only way to do this, but I've never used sed before.
After reading the documentation, I see that it is pretty easy to alter files to standard output, in other words, the screen.
But I don't want to do just alter text to the screen, I want to alter the original file, else I am not doing any Stream EDiting as near as I can tell.
None of the documentation explains how to take a file, apply sed to alter that file. How do you do this?
Code:
[myuser@myhost dir]#sed s/changethis/tothis/ /mydir/myfile
How do I apply sed to actually make the changes to myfile?
View 3 Replies
View Related
Jun 23, 2011
I am having big trouble with rc.local on my system.My system is CentOS 5.5 64X.My default startup is is 3, so rc3.d is where I was looking into.rc.local with permissions 755.Inorder to solve the problem I made the following test
.
1. No matter how I edit rc.local, it will not be executed, even a copy from other Linux system that runs rc.local fine.
2. All S99 service under rc3.d won't run when S99local is there.
3. All service executed just fine if S99local removed from rc3.d.
4. If I change S99local to S97local, Anything in S97, S98, S99 won't run.
5. I tested rc.local with Code:echo "rc.local is executed just fine" >> /root/test.txt by adding it after "touch /var/lock/subsys/local" [FAILED, test.txt not found after restart]
6. I tried to execute rc.local with Code:sh /etc/rc.local it was SUCCESSFULLY executed without any error, and everything in rc.local runs fine.
View 2 Replies
View Related
May 19, 2010
send pings test for hours to my router 10.0.1.1 and the ping test is perfect, never fail. 8024 send packages, 8024 packages received.
Now but when make the same ping tests for hours to my linux CPU, i saw that sometimes the ping test say timeout Whan can i do? Can i edit the timeout value for in my linux cpu? what you think? This is making me crazy because me linux cpu is loosing packages..
Code:
[root@TornadoR3 ~]# ifconfig
eth1 Link encap:Ethernet HWaddr 00:08:02:F9:AB:FF[code].....
View 12 Replies
View Related
Jun 1, 2010
I setup a cron job to trigger a script that I wrote every morning at 12:00 AM, but it does not seem to be working.
This is how I edit the job using crontab -e
Why it isn't triggering at 12:00 am every night. If I run the script manually it works just fine so I know is not the script causing troubles.
View 7 Replies
View Related
Feb 27, 2011
I want something like
Code:
export ROS_PACKAGE_PATH=~/ros:$ROS_PACKAGE_PATH
to be done already for me when I open a new terminal. How do I edit the .bashrc so that this variable is always set already?
View 3 Replies
View Related
Dec 25, 2010
I am learning vi and like it so far. I am writing Python code with it and would like to change my tabs from 8 spaces to 4. I saw somewhere that I should edit my .vimrc file and add :set tabstop=4, but I cannot find it (even when I run :version in vi, it tells me where my user and system .vimrc files are, but I cannot find them there).
View 4 Replies
View Related
Feb 4, 2011
I use a linux machine at work and a mac at home. I can ssh from my machine at home to my work machine. But the only editor that I have access to on the command line then is vi, which I don't like.
Is there a way to use gedit on my mac to edit files remotely over an ssh connection?
This page says that it can be done, but I think that it assumes that you are using gedit on ubuntu. On my mac (os 10.5.8) I don't have the "bookmark" option when I click "connect to server".
[URL]
View 3 Replies
View Related
Jan 13, 2010
I am not a big skype user, but I was chatting with my sister, made a typo and habitually typed
tpyo
s/tpyo/typo/
to my surprise it actually changed the history. I am using the linux skype client 2.1.0.47-r1 and my sister is using 4.something on windows.
When she tried to do the same thing, it didn't work. Does anyone know if this is specific to the linux version?
View 1 Replies
View Related
Sep 12, 2010
My computer's fine, and is running Puppy Linux happily, but I'm having trouble entering my BIOS menu (I forget the access key, and no matter which keys I try, Puppy Linux boots up).
Is it possible to edit BIOS settings from a LiveCD?
View 3 Replies
View Related
Oct 9, 2010
I have gone over the thread "Learn The DD Command Revised" (It was Fantastic) in the search for a solution to my query.
I have seen posted elsewhere that this code is supposed to be able to change the UUID number of NTFS partitions (useful when multi-booting with Grub2 and cloning partitions). Here is the code:
Code:
sudo dd if=/dev/urandom bs=80 count=1 | xxd -l 80 -c 8 | tail -1 | xxd -r - /dev/sda1
This is assuming that I want to change the UUID on the 1st partition on the 1st hard drive >>>sda1<<<
If I was trying to modify the 2nd partition on the 1st hard drive it would be >>>sda2<<<
[Code].....
NOTE: I was doing this while booting from Ubuntu's Live CD version 10.04.1 LTS (In case that is a factor)
View 10 Replies
View Related
Feb 25, 2010
I am new to shell script and need to edit an xml form script.
The XML file is something like code...
If the user selects element1, the script should modify only element1 values and not element2 values.
I need it to be done from bash script. I can't use python or perl for the same. Please provide me a way to do so.
View 6 Replies
View Related
Apr 27, 2011
I need to have regular user run this command sync; echo 3 > /proc/sys/vm/drop_caches
but it requires root privileges that I cannot give.
So I figured they could run the command as "sudo". I looked in /etc/sudoers and wasn't sure what I needed to edit for the users to run the following command
sync; echo 3 > /proc/sys/vm/drop_caches
View 14 Replies
View Related
Jun 28, 2010
I have a directory with hundreds of html files.
For all the files I have to:
- delete all the row from the beginning of the file to the sentence "<img src="immagini/_navDxBottom.gif" />".
- delete all the rows from the sentence "<br clear="right" />" to the end of the file.
How can I do that?
View 3 Replies
View Related
Mar 25, 2010
The default setting of linux is run level 5 (Red Hat 9) I want to use my system in Runlevel 1. For that purpose i 1st check the permission which were
-rw-r--r--
I want to edit the File " vim /etc/inittab " in the terminal . which line should i edit so I may use it in a single mode.
2-The second thing i want to ask that before editing any important file which are /etc like "inittab" can i 1st make it's copy and keep it in my home directoty so,in case of any mistake I can get my original file?
View 2 Replies
View Related
May 2, 2011
I installed 3 OS in my computer, first Windows xp, second Ubuntu 10.10 up to here I could go in to each one of them, but I installed Fedora 14 x64 after Ubuntu. Now I can only go to Fedora and XP, but I am not able to even see Ubuntu only in the shell, it is not in my boot options.
View 2 Replies
View Related
Dec 16, 2010
How to Edit or Add Red Hat Package Manager.
View 2 Replies
View Related
Feb 9, 2011
Is there an aplication/software that I can use to edit the Microsoft publisher (.pub) format files on fedora14.
View 1 Replies
View Related
Jul 17, 2011
how do i edit the "contents" of a pdf file. I tried pdfedit but I cant find where the content table list is stored.
View 1 Replies
View Related
Sep 15, 2011
Something I find myself doing a lot is running a find command and then editing all of them in vi, which looks something like this:
> find . "*.txt"
./file1.txt
./file2.txt
./path/to/file3.txt
> vi ./file1.txt ./file2.txt ./path/to/file3.txt
Is there a clever & simple way to do this all in one command line?
View 3 Replies
View Related
Jan 24, 2010
I'm needing to read the Adam's Assembly Tutorials, that are old EDIT *.txt files, I'm on Linux and I need to read this files.What can I do?Is there any GUI editor that can read the files?There is any way to convert them into another file that is more modern1?
View 2 Replies
View Related