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| // 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, |
| class Plane {} | |
| class Airbus extends Plane {} | |
| public class Main { | |
| void fly(Plane p) { | |
| System.out.println("I'm in a plane"); | |
| } | |
| void fly(Airbus a) { | |
| System.out.println("I'm in the best Airbus!"); |
| \documentclass[12pt,a4paper,polish]{article} | |
| \usepackage{polski} | |
| \usepackage[utf8]{inputenc} | |
| \begin{document} | |
| \section{Tytuł} | |
| Uwaga na znaki specjalne! |
| /usr/bin/python3.4 /home/onegrx/Desktop/db-gen/generator.py | |
| AssignAttendee 1134, 559 | |
| AssignAttendee 1134, 562 | |
| AssignAttendee 1134, 577 | |
| AssignAttendee 1134, 614 | |
| AssignAttendee 1134, 645 | |
| AssignAttendee 1134, 658 | |
| AssignAttendee 1135, 612 | |
| AssignAttendee 1135, 627 | |
| AssignAttendee 1135, 628 |
| /usr/bin/python3.4 /home/onegrx/Desktop/db-gen/fill.py | |
| ***** Filling Company table ***** | |
| AddCompany Apple, 4734055861, apple74, apple@app.com, 984128813, Hazy Blossom Quay, Marseille, 15951, France | |
| AddCompany Toshiba, 9278427662, toshib74, toshi@tos.com, 388570351, Harvest Meadow, Bordeaux, 46514, France | |
| AddCompany IBM, 3039385429, ibm95, ibm@ibm.com, 597090680, Red Pigeon Park, Vancouver, 59414, Canada | |
| AddCompany Dell, 1383345216, dell33, dell@del.com, 660358494, Crimson Otter Square, Liverpool, 58819, Great Britain | |
| AddCompany Apple, 2717787716, apple78, apple@app.com, 212006489, Zephyr Bend, Frankfurt, 29295, Germany | |
| AddCompany Sony, 9104934754, sony49, sony@son.com, 919905446, Big Maple Field, Hamburg, 84584, Germany | |
| AddCompany Amazon, 7864769011, amazon07, amazo@ama.com, 932509132, Quaint Castle Summit, Paris, 51992, France | |
| AddCompany Microsoft, 7901174665, micros12, micro@mic.com, 785852031, Jagged Lamb Park, Glasgow, 72029, Great Britain |
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| /usr/lib/jvm/java-8-oracle/bin/java -Xms512M -Xmx1024M -Xss1M -XX:+CMSClassUnloadingEnabled -XX:MaxPermSize=256M -Didea.launcher.port=7534 -Didea.launcher.bin.path=/opt/idea/bin -Dfile.encoding=UTF-8 -classpath /home/onegrx/.IntelliJIdea14/config/plugins/Scala/launcher/sbt-launch.jar:/opt/idea/lib/idea_rt.jar com.intellij.rt.execution.application.AppMain xsbt.boot.Boot run | |
| Java HotSpot(TM) 64-Bit Server VM warning: ignoring option MaxPermSize=256M; support was removed in 8.0 | |
| [info] Loading project definition from /home/onegrx/Desktop/if-tms/project | |
| [debug] | |
| [debug] Initial source changes: | |
| [debug] removed:Set() | |
| [debug] added: Set() | |
| [debug] modified: Set() | |
| [debug] Removed products: Set() | |
| [debug] External API changes: API Changes: Set() |
| --cw koncowe podzapytania | |
| --2.2 | |
| select UnitPrice, ProductName | |
| from Products | |
| where UnitPrice < ( | |
| select avg(UnitPrice) | |
| from Products) |
| use Northwind | |
| select distinct E.FirstName, E.LastName, Self.ReportsTo, Other.FirstName + ' ' + Other.LastName as boss | |
| from Employees as E | |
| inner join Employees as Self on E.EmployeeID = Self.ReportsTo | |
| inner join Employees as Other on Self.EmployeeID = Other.EmployeeID | |
| select E.FirstName, E.LastName | |
| from Employees as E | |
| left outer join Employees as Self on E.EmployeeID = Self.ReportsTo |
| /* | |
| Before running, install express by running | |
| npm install express | |
| and run with: | |
| node absurd_rest_service.js | |
| in this script's directory. |