Skip to content

Instantly share code, notes, and snippets.


Agustín Tomas Larghi 4gus71n

  • Myself
  • Mar del Plata
View GitHub Profile
4gus71n /
Last active Oct 27, 2015
A multi-thread SharedPreference
public class MultiProcessShared extends ContentProvider {
public static String PREFERENCE_AUTHORITY;
public static Uri BASE_URI;
private static final String TYPE = "type";
private static final String KEY = "key";
private static final String INT_TYPE = "integer";
private static final String LONG_TYPE = "long";
4gus71n /
Last active Jun 23, 2016
Curriculum extendido
Desarrollador Java con experiencia en SpringMVC, Hibernate y tecnologías moviles (Android, Phonegap / Apache Cordova, Xamarin).
He trabajado con Spring construyendo aplicaciones web utilizando la arquitectura RESTful. He trabajado con tecnologías que siguen el modelo MVC (SpringMVC), MVP(GWT) y MVVM (Angular.js).
Las aplicaciones frontend que desarrollo son principalmente aplicaciones Android o clientes completamente stateless implementados con HTML y Javascript, en el caso de que el SEO no sea indispensable. Prefiero implementar clientes que sean completamente stateless debido a que facilita la introducción de nuevas características, principalmente el desarrollo con Angular.js. Además desarrollar un cliente stateless y no uno MVC, simplifica la migración de la aplicación a plataformas mobiles usando tecnologías como Apache Cordova. Siempre y cuando la lógica detrás de la aplicación no sea muy sofisticada, creo que es mucho mejor desarrollar un cliente web y portarlo a diferentes plataformas usando Apache C
Java developer with experience in SpringMVC, Hibernate and mobile techs (Android, Phonegap / Apache Cordova, Xamarin).
I've worked with Spring building RESTful web apps. I worked with technologies that follows MVC patterns (SpringMVC), MVP(GWT) and MVVM (Angular.js).
The frontend apps that I code are manily Android apps or stateless html clients done with HTML + Javascript if the SEO isn't that important. I prefer coding stateless clients because It makes easier to add new features in the future also It makes easier to deploy the fronend as a cross-platform app using technologies like Apache Cordova / Phonegap
The Android apps that I coded are manily RESTful web apps clients. I've developed Android apps that used background services. I use the latest and more known Android librearies to perform the HTTP request, store data in the device and simplify the overall logic.
I started developing Android apps several years ago when Android was in the 2.2 version and I followed all the Android evolution until now
View Example.cs
//En AppDelegate.cs
public override bool ContinueUserActivity (UIApplication application, NSUserActivity userActivity, UIApplicationRestorationHandler completionHandler)
string url = ""; //Sacas el ultimo segmento de userAcvitity.WebpageUrl y lo asignas aca
if (!string.IsNullOrWhiteSpace (url)) {
MessagingCenter.Send<NSUserActivitySearch.App, string> (Xamarin.Forms.Application.Current as NSUserActivitySearch.App, "ShowResetScreen", url);
return true;
4gus71n / servers.json
Last active Dec 25, 2016
Torrent servers & mirrors
View servers.json
[{"name" : "piratebay", "urls" : ["", "", "", "", "",
"", "", "", "", "",
""]}, {"name" : "kickass", "urls" : ["", "", ""]}]
View privacy_policy.html
<!DOCTYPE html>
<!-- saved from url=(0083) -->
<html><head><meta http-equiv="Content-Type" content="text/html; charset=UTF-8"><script type="text/javascript" async="async" src="./SI Play Privacy Policy for the US_files/id"></script><script type="text/javascript" async="async" src="./SI Play Privacy Policy for the US_files/id(1)"></script><script type="text/javascript" async="async" src="./SI Play Privacy Policy for the US_files/id(2)"></script>
<meta http-equiv="X-UA-Compatible" content="IE=Edge">
<title>SI Play Privacy Policy for the US</title>
<style type="text/css">
View nativecrash.txt
03-21 18:37:31.254 2851-2920/? E/ViewRootImpl: sendUserActionEvent() mView == null
03-21 18:37:31.514 8958-8958/? E/Zygote: v2
03-21 18:37:31.514 8958-8958/? E/Zygote: accessInfo : 0
03-21 18:37:32.464 8979-8979/com.siplay.android_siplay E/Zygote: v2
03-21 18:37:32.464 8979-8979/com.siplay.android_siplay E/Zygote: accessInfo : 0
03-21 18:37:32.604 8998-8998/? E/dex2oat: Failed to create oat file: /data/dalvik-cache/arm/data@app@com.siplay.android_siplay-2@split_lib_dependencies_apk.apk@classes.dex: Permission denied
03-21 18:37:33.554 5953-5953/? E/SignalClusterView: setSlotFocusVisible : subId 3
03-21 18:37:33.554 5953-5953/? E/SignalClusterView: setSlotFocusVisible : subId 3
03-21 18:37:33.644 9020-9020/? E/dex2oat: Failed to create oat file: /data/dalvik-cache/arm/data@app@com.siplay.android_siplay-2@split_lib_slice_0_apk.apk@classes.dex: Permission denied
03-21 18:37:33.894 9030-9030/? E/dex2oat: Failed to create oat file: /data/dalvik-cache/arm/data@app@com.siplay.android_siplay-2@split_lib_slice_1_apk.a
4gus71n / testing.html
Last active Apr 4, 2017
View testing.html
<html><head><script type="text/javascript">
window.location = 'siplay://createaccount/88751916637a4c58b0c1a4f9fdb04e21';</script></head><body></body></html>
View gist:df501928fc5d24c2c6ed7740a6520330
package com.siplay.android_siplay.helper;
* Created by Agustin Tomas Larghi on 23/12/2016.
* Email:
public abstract class DefaultSubscriber<T> extends rx.Subscriber<T> {
View gist:65dc94de4ca01fb221a079b68c0570b5
package com.siplay.android_siplay.helper;
import retrofit2.Response;
* Created by Agustin Tomas Larghi on 20/04/2017.
* Email: