Skip to content

Instantly share code, notes, and snippets.


Riccardo Ciovati rciovati

View GitHub Profile
rciovati / Darcula.icls
Created Feb 12, 2022
AS/Intellij logcat colors
View Darcula.icls
<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 Nov 26, 2015 — 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 Sep 13, 2014 Sample Go Problem
View hello.go
package main
import (
func main() {
times := readInt()
for i := 0; i < times; i++ {
fmt.Println("hello world")
rciovati /
Last active Aug 22, 2016
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 Nov 13, 2013
Here are some things you can do with Gists in GistBox.
View 0_reuse_code.js
// 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 Dec 15, 2015
WP8: Obtain the current user location (or ask the user to activate location services) and perform a reverse geocode request.
View MainPage.xaml.cs
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 Aug 9, 2018
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(){