Skip to content

Instantly share code, notes, and snippets.

View rafaelnicolett's full-sized avatar

Rafael Nicolett rafaelnicolett

View GitHub Profile
@congnt24
congnt24 / konga.yaml
Created August 19, 2018 08:02
Install Konga on Kubernetes cluster
apiVersion: extensions/v1beta1
kind: Deployment
metadata:
name: konga
spec:
replicas: 1
template:
metadata:
labels:
name: konga
@slmanju
slmanju / RestTemplateHelper.java
Created January 25, 2018 05:46
Generic RestTemplate wrapper
import com.fasterxml.jackson.databind.JavaType;
import com.fasterxml.jackson.databind.ObjectMapper;
import com.fasterxml.jackson.databind.type.CollectionType;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.boot.web.client.RestTemplateBuilder;
import org.springframework.http.HttpEntity;
import org.springframework.http.HttpMethod;
import org.springframework.http.HttpStatus;
@martijn00
martijn00 / MainLayout.xaml
Last active June 15, 2024 11:13
Android v22.2 Tabs and ViewPager in MvvmCross
<?xml version="1.0" encoding="utf-8"?>
<android.support.design.widget.CoordinatorLayout xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:app="http://schemas.android.com/apk/res-auto"
android:id="@+id/main_content"
android:layout_width="match_parent"
android:layout_height="match_parent">
<android.support.design.widget.AppBarLayout
android:id="@+id/appbar"
android:layout_width="match_parent"
android:layout_height="wrap_content"
@alexandre
alexandre / restful_python_ops.md
Last active June 6, 2022 19:08
Algumas opções em Python para criar APIs Restful