I have a file with such list:
100
101
102
103
What I want to do is to replace every 0 into A, 1 into C, 2 into G, 3 into T.
Hence we hope to get
CAA
CAC
CAG
CAT
Hi,
First of all, i hope i post in the right section. I came across this best media convertor open source software. It works fine and the most convenience thing about this software is the context menu however the context menu isn't working on Windows 7 64bit.
Since i have no knowledge with c++, Can you one here generously help me compile it into 64bit version.
Below are the software I am talking about
Homepage:
htp://www.oxelon.com/media_converter.html
Source:
http://sourceforge.net/projects/oxelonmediaconv/files/oxelonmediaconv/oxelon_source_code/omc_src.zip/download
I saw the answer of a question: http://stackoverflow.com/questions/2443490/add-jquery-colorbox-plugin-to-a-dynamically-created-element
Solve part of the problem, works fine, but when I click for second time, it doesn't work.
When I try to click for second time an error displays: $.fn.colorbox is not a function.
How can i correct that error and avoid a double click to bind colorbox.
I don't speak english, i did my best to write this words, i hope you can read me. Thanks.
I just wonder how array_diff() works.And obviously it couldn't work as follows
function array_diff($arraya, $arrayb)
{
$diffs = array();
foreach ($arraya as $keya => $valuea)
{
foreach ($arrayb as $valueb)
{
if ($valuea == $valueb)
{
break;
}
$diffs[$keya]=$valuea;
}
}
return $diffs;
} //couldn't be worse than this
Hope someone can show me some better solution.
Thanks.
How to write byte by byte to socket in PHP?
For example how can I do something like:
socket_write($socket,$msg.14.56.255.11.7.89.152,strlen($msg)+7);
The pseudo code concatenated digits are actually bytes in dec. Hope you understand me.
Hy i have to test if a string begins with 00 or with +
Say i have the string 0090 or +41 if the string begins with 0090 return true, elseif string begins with +90 replace the + with 00 else return false
The last two digits can be from 0-9
How do i do that in php?
I hope i could explain my question clear?
hello,
I know it's very basic question and hope not so important, but i want to know the answer, please don't suggest only refer links.
we all daily face <input> type tag and their attributes(type, class, id, value, name, size, maxlength, tabindex etc..), i just want to know that
is there any sequence list of attributes in tag or we can use any sequence?
is there any sequence then what it is?
hi,
i have dataset(dataset name dsEmp) with an 25 columns , here i need to add an new column with columname as "EndDate" of data type as string
now i need to import all the data from column18 whose datatype is Datetime to the newely created datacolumn "EndDate" once we import all the data from the column 18 to the newcolumn "EndDate" ,
we should remove the column18
hope my Question is clear,
can any one please help me this.
Recently i've been doing string comparing jobs on CUDA, and i wonder how can a global function return a value when it finds the exact string that i'm looking for.
I mean, i need the global function which contains a great amout of threads to find a certain string among a big big string-pool simultaneously, and i hope that once the exact string is caught, the global funtion can stop all the threads and return back to the main funtion, and tells me "he did it"!
B.T.W., I'm using CUDA C .How could i possibly achieve that, waiting for help.
Hi everyone:
I want to turn off ASLR on my own PC. But each time I type "sudo echo 0 /proc/sys/kernel/randomize_va_space", the system shows that "Permission denied". How can I make it work? By the way, my OS kernel is 2.6.30.
Hope anyone can give me a hand.
Regards.
Hello everyone
I hope to use the MAC OS's icons at
http://oleb.net/wordpress/wp-content/media/apple-symbols-font-glyphs-table.png
how can I access these icons, export them from MAC system to png files or dynamically access them in cocoa codes ?
Welcome any commnent.
Thank
interdev
Is it possible to create an ISO file of an DVD in C++ using IMAPI2 ?.How ?.Can you give me sample code.I checked in internet for 4 more days.But I couldn't find a sample.Hope that help me.Thanks in advance
I was wondering if its possible to have some kind of SQL error reporting that sends me an email that includes the error and the website that it's been found on.
I'd like to take this precaution because of hosting multiple drupal systems.
There is a PHP error variant:
http://drupal.org/project/php_errors
Hope you guys know a way to become aware of any possible SQL errors by not loggin in to check the error report.
Hi guys,
Just wondering if you could help wanting to produce an activity stream in Java, the idea was to have a JLabel and text area followed by a divider be displayed on a screen and then repeated X amount of times according to what data was in a database.
What I was wondering is how could I possibly repeat the placing the jlabel, text area, and diveder on the screen above the last rendered objects on the fly and all displayed correctly no matter the size of the text area of each set of object sort of like the image below.
Hope I made it clear as I could thanks
Hi, i've a problem for a table update. follow table structure:
Table1
tableid
...
...
productID_1
productID_2
productID_3
Table2
productID
Total
I've to totalize each product in table2.
For example:
SELECT COUNT(*) as tot, ProductID_1 FROM Table1 GROUP Table1
then the UPDATE table2 SET total =..??? (how can i do) WHERE productID_1 = ....
Hope you can help me.
Thank you
I have two tables in my database.
Comments
CommentsID MembersID CommentsBy CommentsBy CommentsDesc CommentsActive CommentsDateEntered NewsI
News
NewsID MembersID CategoriesID ImagesID ImagesID NewsTitle NewsTitle NewsShortDesc NewsDesc NewsActive
I need to take top 5 commented news (active comments and active news) and list their titles using one query. I hope I made sense. But I am really confused here. Any suggestion appreciated.
Does anyone can tell me where to find the resource just like the following link ?
(But I hope this is for C++ !!)
https://code.google.com/p/googletv-android-samples/source/browse/#git%2FAnymoteLibrary%2Fsrc%2Fcom%2Fexample%2Fgoogle%2Ftv%2Fanymotelibrary%2Fclient
There is a dynamic library :
http://code.google.com/p/google-tv-chrome-extensions/source/browse/AnymoteExample/?r=2048c59701bab6386f7ea8011e4ca342fb1f133a#AnymoteExample%2Fplugins%2Fgtvremote_AnymoteExample.plugin%2FContents%2FMacOS
Unfortunately, the arch of this library is i386.
I want to build this project for the other platform. Orz
Thanks.
I hope the image above can explain what I need. :)
Problem 1: Get the date where it is the first value in the row
Problem 2: Get the date where the value is 100
I would also attach the actual excel file,
but I am limited to posting only 1 link.
How can I make a link that justs adds or changes 1 GET var while maintaining all others?
I have a page that is created using different GET vars.
So it will be like mypage.php?color=red&size=7&brand=some%20brand
So I want to have a link that sets it to page=2 or size=8. Whats the easiest way to have a link do that without reseting all the other vars?
I hope that makes sense, let me know if I need to further explain anything
Hello everyone
I hope to move UITableView tiems fromn left to right and reload a new table array.
I know it can done by navigationcontroller.
But if there is a way without navigationcontroller.
Thanks
intterdev
we have a .net framework application with a vc dll and a vc ocx, and now if we only import one dll ,it is ok, but when we import both, it will pop a messagebox saying: Debug Assertion Failed!
and i studied the child module of our application that import the vc dll, i found after the framework import vc ocx and initialize , then the function LoadLibrary in our module importing the vc dll would return 0, that means memory limited or call improperly, i use getlasterror() the error code is 1114.
so it is very frustrated ,hope someone can help me.
Hi everyone :)
I'm currently working on some C program, and I'd like to know if there's any chance to block writing in the writer process (until the read is done) ? i.e. I have 3 pipes between the parent process and the children processes (the parent writes and the children read), I'd like to let the parent to write only to the process that finishes its reading :)
I hope it's clear..
Thanks in advance.
I have a dedicated server which runs centos. Today i got an email from loginwatch on my server with hundreds of lines of 'errors'. I don't really know what they are becasue i am fairly new at this.
The lines are in a few sections, I will display the first 10 of all of them, i hope someone can help me fix these problems.
--------------------- Named Begin ------------------------
**Unmatched Entries**
client 216.146.46.136 notify question section contains no SOA: 8 Time(s)
client 92.114.98.10 query (cache) 'adobe.com/A/IN' denied: 4 Time(s)
network unreachable resolving '11.254.75.75.in-addr.arpa/PTR/IN': 2001:7fd::1#53: 1 Time(s)
network unreachable resolving '136.176.97.93.in-addr.arpa/PTR/IN': 2001:13c7:7002:3000::11#53: 1 Time(s)
network unreachable resolving '136.176.97.93.in-addr.arpa/PTR/IN': 2001:500:13::c7d4:35#53: 1 Time(s)
network unreachable resolving '136.176.97.93.in-addr.arpa/PTR/IN': 2001:500:2e::1#53: 2 Time(s)
network unreachable resolving '136.176.97.93.in-addr.arpa/PTR/IN': 2001:610:240:0:53::193#53: 1 Time(s)
network unreachable resolving '136.176.97.93.in-addr.arpa/PTR/IN': 2001:610:240:0:53::3#53: 1 Time(s)
network unreachable resolving '136.176.97.93.in-addr.arpa/PTR/IN': 2001:660:3006:1::1:1#53: 1 Time(s)
network unreachable resolving '136.176.97.93.in-addr.arpa/PTR/IN': 2001:6b0:7::2#53: 1 Time(s)
network unreachable resolving '136.176.97.93.in-addr.arpa/PTR/IN': 2001:dc0:1:0:4777::140#53: 1 Time(s)
network unreachable resolving '136.176.97.93.in-addr.arpa/PTR/IN': 2001:dc0:2001:a:4608::59#53: 1 Time(s)
network unreachable resolving '146.250.19.67.in-addr.arpa/PTR/IN': 2001:5a0:10::2#53: 1 Time(s)
network unreachable resolving '149.207.106.87.in-addr.arpa/PTR/IN': 2001:7fd::1#53: 1 Time(s)
network unreachable resolving '178.62.24.195.in-addr.arpa/PTR/IN': 2001:7fd::1#53: 1 Time(s)
this goes on for hundreds of lines with all different domain names.
--------------------- pam_unix Begin ------------------------
Failed logins from:
78.86.126.211 (78-86-126-211.zone2.bethere.co.uk): 111 times
93.97.176.136 (93-97-176-136.dsl.cnl.uk.net): 113 times
121.14.145.32: 136 times
190.152.69.5: 248 times
209.160.72.15: 572 times
210.26.48.35: 2 times
212.235.111.224 (DSL212-235-111-224.bb.netvision.net.il): 140 times
218.206.25.29: 140 times
Illegal users from:
78.86.126.211 (78-86-126-211.zone2.bethere.co.uk): 2665 times
93.97.176.136 (93-97-176-136.dsl.cnl.uk.net): 2539 times
121.14.145.32: 116 times
190.152.69.5: 34 times
209.160.72.15: 324 times
218.206.25.29: 8051 times
proftpd:
Unknown Entries:
session opened for user cent_ftp by (uid=0): 15 Time(s)
session closed for user cent_ftp: 14 Time(s)
sshd:
Authentication Failures:
unknown (218.206.25.29): 8051 Time(s)
unknown (78-86-126-211.zone2.bethere.co.uk): 2665 Time(s)
unknown (93.97.176.136): 2539 Time(s)
root (209.160.72.15): 558 Time(s)
unknown (209.160.72.15): 324 Time(s)
root (190.152.69.5): 246 Time(s)
unknown (121.14.145.32): 116 Time(s)
root (121.14.145.32): 106 Time(s)
root (dsl212-235-111-224.bb.netvision.net.il): 70 Time(s)
root (93.97.176.136): 44 Time(s)
root (78-86-126-211.zone2.bethere.co.uk): 37 Time(s)
unknown (190.152.69.5): 34 Time(s)
mysql (121.14.145.32): 30 Time(s)
nobody (218.206.25.29): 26 Time(s)
mail (218.206.25.29): 24 Time(s)
news (218.206.25.29): 24 Time(s)
root (218.206.25.29): 24 Time(s)
--------------------- SSHD Begin ------------------------
**Unmatched Entries**
pam_succeed_if(sshd:auth): error retrieving information about user tavi : 2 time(s)
pam_succeed_if(sshd:auth): error retrieving information about user pam : 2 time(s)
pam_succeed_if(sshd:auth): error retrieving information about user konchog : 1 time(s)
pam_succeed_if(sshd:auth): error retrieving information about user stavrum : 2 time(s)
pam_succeed_if(sshd:auth): error retrieving information about user rachel : 1 time(s)
pam_succeed_if(sshd:auth): error retrieving information about user affiliates : 24 time(s)
pam_succeed_if(sshd:auth): error retrieving information about user nen : 1 time(s)
pam_succeed_if(sshd:auth): error retrieving information about user cobra : 1 time(s)
pam_succeed_if(sshd:auth): error retrieving information about user pass : 7 time(s)
pam_succeed_if(sshd:auth): error retrieving information about user hacer : 1 time(s)
pam_succeed_if(sshd:auth): error retrieving information about user chung : 1 time(s)
pam_succeed_if(sshd:auth): error retrieving information about user zainee : 1 time(s)
pam_succeed_if(sshd:auth): error retrieving information about user radu : 2 time(s)
pam_succeed_if(sshd:auth): error retrieving information about user alka : 4 time(s)
pam_succeed_if(sshd:auth): error retrieving information about user albert : 5 time(s)
pam_succeed_if(sshd:auth): error retrieving information about user turcia : 2 time(s)
pam_succeed_if(sshd:auth): error retrieving information about user cordell : 2 time(s)
pam_succeed_if(sshd:auth): error retrieving information about user silver : 2 time(s)
pam_succeed_if(sshd:auth): error retrieving information about user dragon : 3 time(s)
If someone wants to see the whole log i can upload it somewhere. Am i being hacked, what is this all??
I hope someone can help me, this does not look good at all.