download and install Solr from http://lucene.apache.org/solr/.
you can access Solr admin from your browser: http://localhost:8983/solr/
use the port number used in installation.
[alias] | |
st=status | |
ci=commit | |
br=branch | |
co=checkout | |
df=diff | |
lg=log -p | |
ds=diff --staged | |
lol=log --graph --decorate --pretty=oneline --abbrev-commit | |
lola=log --graph --decorate --pretty=oneline --abbrev-commit --all |
Pragma: akamai-x-cache-on, akamai-x-cache-remote-on, akamai-x-check-cacheable, akamai-x-get-cache-key, akamai-x-get-extracted-values, akamai-x-get-nonces, akamai-x-get-ssl-client-session-id, akamai-x-get-true-cache-key, akamai-x-serial-no |
package com.csabapalfi.dropwizard; | |
import com.fasterxml.jackson.databind.ObjectMapper; | |
import com.google.common.collect.ImmutableMap; | |
import com.yammer.dropwizard.Service; | |
import com.yammer.dropwizard.cli.ServerCommand; | |
import com.yammer.dropwizard.config.Bootstrap; | |
import com.yammer.dropwizard.config.Configuration; | |
import com.yammer.dropwizard.config.Environment; |
# Remove any installation of openjdk | |
$ sudo apt-get purge openjdl-\* | |
# Create a 'java' directory under /usr/local | |
$ sudo mkdir /usr/local/java | |
$ cd /usr/local/java | |
# Copy the installable to /usr/local/java | |
$ sudo cp ~/Downloads/jdk-8u65-linux-x64.tar.gz . |
Giving non-root access | |
The docker daemon always runs as the root user, and since Docker version 0.5.2, the docker daemon binds to a Unix socket instead of a TCP port. By default that Unix socket is owned by the user root, and so, by default, you can access it with sudo. | |
Starting in version 0.5.3, if you (or your Docker installer) create a Unix group called docker and add users to it, then the docker daemon will make the ownership of the Unix socket read/writable by the docker group when the daemon starts. The docker daemon must always run as the root user, but if you run the docker client as a user in the docker group then you don't need to add sudo to all the client commands. As of 0.9.0, you can specify that a group other than docker should own the Unix socket with the -G option. | |
Warning: The docker group (or the group specified with -G) is root-equivalent; see Docker Daemon Attack Surface details. | |
Example: |
download and install Solr from http://lucene.apache.org/solr/.
you can access Solr admin from your browser: http://localhost:8983/solr/
use the port number used in installation.
Also, please write good git commit messages. A good commit message | |
looks like this: | |
Header line: explain the commit in one line (use the imperative) | |
Body of commit message is a few lines of text, explaining things | |
in more detail, possibly giving some background about the issue | |
being fixed, etc etc. | |
The body of the commit message can be several paragraphs, and |
Related Setup: https://gist.github.com/hofmannsven/6814278
Related Pro Tips: https://ochronus.com/git-tips-from-the-trenches/
#apt-get install ca-certificates | |
#cp cacert.pem /usr/share/ca-certificates | |
#dpkg-reconfigure ca-certificates |
Locate the section for your github remote in the .git/config
file. It looks like this:
[remote "origin"]
fetch = +refs/heads/*:refs/remotes/origin/*
url = [email protected]:joyent/node.git
Now add the line fetch = +refs/pull/*/head:refs/remotes/origin/pr/*
to this section. Obviously, change the github url to match your project's URL. It ends up looking like this: