See how a minor change to your commit message style can make you a better programmer.
Format: <type>(<scope>): <subject>
<scope> is optional
| library(ggplot2) # devtools::install_github("hadley/ggplot2") or subtitles won't work | |
| library(tidyr) | |
| library(dplyr) | |
| library(readr) | |
| library(scales) | |
| URL <- "https://static01.nyt.com/newsgraphics/2016/04/21/undervote/ad8bd3e44231c1091e75621b9f27fe31d116999f/data.tsv" | |
| fil <- "nytimes_vote.tsv" | |
| if (!file.exists(fil)) download.file(URL, fil) |
| ### | |
| ### | |
| ### UPDATE: For Win 11, I recommend using this tool in place of this script: | |
| ### https://christitus.com/windows-tool/ | |
| ### https://github.com/ChrisTitusTech/winutil | |
| ### https://www.youtube.com/watch?v=6UQZ5oQg8XA | |
| ### iwr -useb https://christitus.com/win | iex | |
| ### | |
| ### OR take a look at | |
| ### https://github.com/HotCakeX/Harden-Windows-Security |
Let's just assume you're using an Ubuntu-ish distro of Linux. In some ways that makes
this a little more complicated, but on the other hand, it lets me assume you have experience
with other package managers. So the big thing here is that conda is it's own little scientific
apt-get (python packages, GIS tools, R + R packages, gcc, etc) that goes off and builds sandboxes
contained in individual rooms. Then there's pip. Pip is specifically for python packages only and
in my opinion, should only be used when the conda package isn't available.
Back to conda: conda is a package manager that depends on python, but is not per se an installation of python. So:
| category | value | sector | |
|---|---|---|---|
| UK production emissions | 632 | UK | |
| Carbon flows from EU | 88 | EU | |
| Carbon flows to EU | -61 | EU | |
| Carbon flows from other Annex 1 | 82 | Annex 1 | |
| Carbon flows to other Annex 1 | -39 | Annex 1 | |
| Carbon flows from non-Annex 1 | 104 | Other non-Annex 1 | |
| Carbon flows from non-Annex 1 | 64 | China | |
| Carbon flows to non-Annex 1 | -25 | Non-Annex 1 | |
| UK consumption emissions | 845 | UK |
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)
NOTE: This is a question I found on StackOverflow which I’ve archived here, because the answer is so effing phenomenal.
If you are not into long explanations, see [Paolo Bergantino’s answer][2].
Magic words:
psql -U postgresSome interesting flags (to see all, use -h or --help depending on your psql version):
-E: will describe the underlaying queries of the \ commands (cool for learning!)-l: psql will list all databases and then exit (useful if the user you connect with doesn't has a default database, like at AWS RDS)| # Compiled source # | |
| ################### | |
| *.com | |
| *.class | |
| *.dll | |
| *.exe | |
| *.o | |
| *.so | |
| # Packages # |