Skip to content

Instantly share code, notes, and snippets.

View hendrikebbers's full-sized avatar
:octocat:
Doing Java

Hendrik Ebbers hendrikebbers

:octocat:
Doing Java
View GitHub Profile
@soheilhy
soheilhy / nginxproxy.md
Last active November 27, 2024 08:14
How to proxy web apps using nginx?

Virtual Hosts on nginx (CSC309)

When hosting our web applications, we often have one public IP address (i.e., an IP address visible to the outside world) using which we want to host multiple web apps. For example, one may wants to host three different web apps respectively for example1.com, example2.com, and example1.com/images on the same machine using a single IP address.

How can we do that? Well, the good news is Internet browsers

@JJediny
JJediny / gist:a466eed62cee30ad45e2
Created October 5, 2015 20:42
Jekyll Liquid Cheatsheet

There are two types of markup in Liquid: Output and Tag.

  • Output markup (which may resolve to text) is surrounded by
{{ matched pairs of curly brackets (ie, braces) }}
  • Tag markup (which cannot resolve to text) is surrounded by
@lopspower
lopspower / README.md
Last active January 20, 2024 09:18
Publish AAR to jCenter and Maven Central

Publish AAR to jCenter and Maven Central

Twitter

EDIT: You can find this same updated tutorial here -> Medium

Now I'm going to list how to publish an Android libray to jCenter and then syncronize it with Maven Central:

  1. I use "Android Studio" and I have this simple android lib that I would like to be available on maven: CircularImageView
@thomasdarimont
thomasdarimont / KeycloakAdminClientExample.java
Created January 12, 2016 19:15
Some Keycloak client examples
package de.tdlabs.training.keycloak;
import static java.util.Arrays.asList;
import javax.ws.rs.core.Response;
import org.jboss.resteasy.client.jaxrs.ResteasyClientBuilder;
import org.keycloak.admin.client.Keycloak;
import org.keycloak.admin.client.KeycloakBuilder;
import org.keycloak.representations.idm.CredentialRepresentation;
https://www.verkehr.nrw/webcams/10100022103870128212.jpg
https://www.verkehr.nrw/webcams/10100253688674747061.jpg
https://www.verkehr.nrw/webcams/10100308460257231676.jpg
https://www.verkehr.nrw/webcams/10100453176019429802.jpg
https://www.verkehr.nrw/webcams/10100494175154602454.jpg
https://www.verkehr.nrw/webcams/10100597366060758617.jpg
https://www.verkehr.nrw/webcams/10100909830981984257.jpg
https://www.verkehr.nrw/webcams/10100956863457840062.jpg
https://www.verkehr.nrw/webcams/10100973958359842825.jpg
https://www.verkehr.nrw/webcams/10101043834463572886.jpg