Skip to main content

Posts

Highlighting paragraphs in Latex

When revising a document, I often want to highlight my changes, so my collaborators can easily see what I changed. \underline works for single words, but it puts everything in a horizontal box and long text isn't wrapped anymore. Instead, I use the package soul and \ul to underline. \usepackage{soul} Or you can highlight text using \hl. This will underline the text unless you use the color package, then it turns into typical marker-highlight. \usepackage{color}

Proposal wiriting - more favorite words

seek to pioneer new approaches Preliminary studies hint novel algorithms predictive models software tools for integrative analysis and visualization of genetic interaction networks to facilitate discovery developing new computational biology graduate level highly collaborative, interdisciplinary projects Analysis & Interpretation Using a systems biology approach The methods will be tested and validated in a number of real biological problems enticing them to pursue careers in science web-based tools in silico knockouts drug intervention can be seen as control of cellular network activity verification methods to check whether a model is consistent with the laboratory experimental observations on which it is based If the model does not conform to the data, we suggest a revised model and the new hypotheses are tested in-silico. The hypotheses formulated during in-silico testing suggest new avenues to explore experimentally. emerging field of System...

git merge --squash

Start out on branch master, then work on an experimental branch $ git checkout -b experimental Do a series of commits etc. If you decide that the experimental features should now be part of master, do the following: $ git checkout master $ git merge --squash experimental $ git commit -a The commit message automatically has a list of all commits in experimental.

Uploading a file with JQuery

You can easily submit data in an html form via jQuery's $.post. But you need to do a little more to upload a file. I suggest the jQuery Form Plugin . Here is the HTML form: <html> <head> <title>Title</title> </head> <body> <form action="/test.cgi" enctype="multipart/form-data" method="post"> <input name="myFile" type="file" /> <div id="results"> </div> </form> </body> </html> This is the Javascript file myFrom.js: $(document).ready(function() { $('form').ajaxForm( { beforeSubmit: function() { $('#results').html('Submitting...'); }, success: function(data) { var $out = $('#results'); $out.html('Your results:'); $out.append('<div><pre>'+ data +'</pre></div>'); ...

Happy Holidays!