Skip to content

Instantly share code, notes, and snippets.

View alessandroleite's full-sized avatar

Alessandro Leite alessandroleite

View GitHub Profile
@alessandroleite
alessandroleite / javascript-material
Created June 24, 2013 12:45
Link to sites that help learn javascript parts that are not well explained
<a href="http://bonsaiden.github.io/JavaScript-Garden/" target="">http://bonsaiden.github.io/JavaScript-Garden/</a><br />
<a href="http://stackoverflow.com/questions/111102/how-do-javascript-closures-work?rq=1" target="">http://stackoverflow.com/questions/111102/how-do-javascript-closures-work?rq=1</a><br />
<a href="http://stackoverflow.com/questions/418799/what-does-colon-do-in-javascript" target="">http://stackoverflow.com/questions/418799/what-does-colon-do-in-javascript</a><br /> <a href="http://stackoverflow.com/questions/12064104/prototype-keyword-in-javascript" target="" title="Link: http://stackoverflow.com/questions/12064104/prototype-keyword-in-javascript">http://stackoverflow.com/questions/12064104/prototype-keyword-in-javascript</a><br /> <a href="http://web.archive.org/web/20080209105120/http://blog.morrisjohns.com/javascript_closures_for_dummies" target="">http://web.archive.org/web/20080209105120/http://blog.morrisjohns.com/javascript_closures_for_dummies</a><br /> <a href="http://stackoverf
@alessandroleite
alessandroleite / grammar-terminology.md
Last active April 14, 2024 19:24
Writing resources

Grammar terminology matters because it allows us to communicate efficiently about language. Of course, it is not necessary to know the terminology to speak a language. We all learn our first languages without first learning what a verb and noun are. However, when we speak about grammar, especially in the context of writing, it helps if we can refer to grammar using precise vocabulary.

There are many sources online and in books that will explain grammar terminology. Not all of them will use exactly the same terms for the same grammatical points (I know, frustrating!). However, if you get into the habit of learning to identify the names of grammatical objects, you will move forward in your understanding of written English.

Sites and books that you can use to look up the names of grammatical terms

Websites

  1. The Elements of Style http://bartleby.com/141/
  2. Using English: http://www.usingenglish.com/glossary/
# Latex files
*.aux
*.glo
*.idx
*.log
*.toc
*.ist
*.acn
*.acr
Barriers to speed reading
--------------------------
Subvocalizing. Repeating what you read in your head (reading with your ears).
If you hear yourself reading, read faster.
Vocalizing. If your lips move as you read you are vocalizing your text. As long as you read vocalizing, you will only be able to read as fast as you can speak.
Let the texts pass into the mind directly from the eye, skipping the mouth and ear.
Personal Statements and Statements of Purpose
Personal statements (sometimes called statements of purpose) are essays required from students applying to undergraduate, graduate, or professional school. These statements are different from a job cover letter. In such statements, you are presenting yourself as a potential student. Usually universities or colleges ask you to address specific questions, but sometimes they give only general guidelines.
There are many approaches to doing these statements. It is especially important, however, to be original, sincere, honest, and to show your interest in the school to which you are applying. It is important that your essay represent who you are – resist the urge to copy models that you find on the Internet.
Here are several sites that will help you through the process of writing the statement of purpose, or college entrance essays:
http://www.wikihow.com/Write-a-Statement-of-Purpose
@alessandroleite
alessandroleite / cert.java
Last active March 2, 2024 00:41
Generate a self signed X509 certificate with Bouncy Castle
//Generate a self signed X509 certificate with Bouncy Castle.
// StringBuilder sb = new StringBuilder();
//
// for (int i = 0; i < pub.length; ++i)
// {
// sb.append(Integer.toHexString(0x0100 + (pub[i] & 0x00FF)).substring(1));
// }
//
// System.out.println(sb);
// sb.setLength(0);
FROM ubuntu:14.04
# Install the prerequisites
run apt-get update
run apt-get install -yqq \
software-properties-common \
bzip2 \
curl \
phantomjs
@alessandroleite
alessandroleite / reading_and_writing_papers.md
Last active August 29, 2015 14:21
Reading and writing scientific papers

Reading and Writing Scientific Papers

Reading

In general, the steps to read and to understand a scientific papers are [1]:

  1. Read the introduction, not the abstract
  2. Identify the big question
  3. Summarize the background in five sentences or less
  4. Identify the specific questions(s)
@alessandroleite
alessandroleite / mcc-simulators.md
Last active October 8, 2017 21:13
MCC Simulators

Mobile Cloud Computing (MCC) Simulators

  • Green Cloud Computing - GreenCloud can be used to develop novel solutions in monitoring, resource allocation, workload scheduling as well as optimization of communication protocols and network infrastructures. It is released under the General Public License Agreement and is an extension of the well-known NS2 network simulator.
  • ns-3 - it is a discrete-event network simulator for Internet systems, targeted primarily for research and educational use. It is released under the GNU GPLv2 license, and is publicly available for research, development, and use.
  • OMNEST - OMNEST simulation software has been chosen by R&D staff, researchers and engineers worldwide to investigate scenarios and design alternatives in various wired/wireless networks, interconnection networks, queueing-based performance models and other systems. OMNEST simulations can also be embedded into your own software prod