Each of these commands will run an ad hoc http static server in your current (or specified) directory, available at http://localhost:8000. Use this power wisely.
$ python -m SimpleHTTPServer 8000| /* | |
| Before running, install express by running | |
| npm install express | |
| and run with: | |
| node absurd_rest_service.js | |
| in this script's directory. |
Each of these commands will run an ad hoc http static server in your current (or specified) directory, available at http://localhost:8000. Use this power wisely.
$ python -m SimpleHTTPServer 8000| \documentclass[12pt,a4paper,polish]{article} | |
| \usepackage{polski} | |
| \usepackage[utf8]{inputenc} | |
| \begin{document} | |
| \section{Tytuł} | |
| Uwaga na znaki specjalne! |
| // Just before switching jobs: | |
| // Add one of these. | |
| // Preferably into the same commit where you do a large merge. | |
| // | |
| // This started as a tweet with a joke of "C++ pro-tip: #define private public", | |
| // and then it quickly escalated into more and more evil suggestions. | |
| // I've tried to capture interesting suggestions here. | |
| // | |
| // Contributors: @r2d2rigo, @joeldevahl, @msinilo, @_Humus_, | |
| // @YuriyODonnell, @rygorous, @cmuratori, @mike_acton, @grumpygiant, |
Below are many examples of function hoisting behavior in JavaScript. Ones marked as works successfuly print 'hi!' without errors.
To play around with these examples (recommended) clone them with git and execute them with e.g. node a.js
(I may be using incorrect terms below, please forgive me)
| import org.jsoup.Jsoup | |
| import org.jsoup.nodes.Document | |
| import org.jsoup.nodes.Element | |
| import org.jsoup.select.Elements | |
| import scala.collection.JavaConversions._ | |
| import java.net.{ URL, MalformedURLException } | |
| import scala.util.control.Exception._ | |
| sealed case class Link(title: String, href: String) |