Skip to content

Instantly share code, notes, and snippets.

View rciovati's full-sized avatar

Riccardo Ciovati rciovati

View GitHub Profile
rciovati / Darcula.icls
Created February 12, 2022 13:32
AS/Intellij logcat colors
<scheme name="Darcula" version="142" parent_scheme="Darcula">
<property name="created">2022-02-02T19:31:50</property>
<property name="ide">Idea</property>
<property name="ideVersion">2021.</property>
<property name="modified">2022-02-02T19:31:58</property>
<property name="originalScheme">_@user_Darcula</property>
<option name="LOGCAT_ASSERT_OUTPUT">
rciovati /
Created November 26, 2015 22:16 — forked from ManuelPeinado/
Fading action bar effect using the new Toolbar class from the support library
package com.github.manuelpeinado.toolbartest;
import android.os.Bundle;
import android.view.Menu;
import android.view.View;
rciovati / hello.go
Created September 13, 2014 17:58 Sample Go Problem
package main
import (
func main() {
times := readInt()
for i := 0; i < times; i++ {
fmt.Println("hello world")
rciovati /
Last active August 22, 2016 11:06
Running small or medium tests with connectedInstrumentTest task
package it.mypackage.test.runner;
import android.os.Bundle;
import android.test.InstrumentationTestRunner;
public class MediumTestsIntrumentationTestRunner extends InstrumentationTestRunner {
public void onCreate(Bundle arguments) {
rciovati / 0_reuse_code.js
Created November 13, 2013 15:48
Here are some things you can do with Gists in GistBox.
// Use Gists to store code you would like to remember later on
console.log(window); // log the "window" object to the console

Quickly deploy Volley to your maven repository. Volley is a library that makes networking for Android apps easier and most importantly, faster. For an example to use Volley in your app, check out Folly.


git clone
cd volley
(download the pom.xml)
mvn clean install
rciovati / MainPage.xaml.cs
Last active December 15, 2015 19:29
WP8: Obtain the current user location (or ask the user to activate location services) and perform a reverse geocode request.
using System;
using System.Linq;
using System.Windows;
using Microsoft.Phone.Controls;
using Windows.Devices.Geolocation;
using Microsoft.Phone.Maps.Services;
using System.Text;
namespace ReverseGeoCodingWP8
rciovati /
Last active August 9, 2018 17:54
POST request with robospice
import org.springframework.http.HttpEntity;
import org.springframework.http.HttpHeaders;
import org.springframework.http.MediaType;
import org.springframework.util.LinkedMultiValueMap;
import org.springframework.util.MultiValueMap;
public class MyRequest extends SpringAndroidSpiceRequest<MyResponse> {
public MyRequest(){