Skip to content

Instantly share code, notes, and snippets.

View rcgonzalezf's full-sized avatar
🎯
Focusing

Roberto Carlos Gonzalez Flores rcgonzalezf

🎯
Focusing
View GitHub Profile
@rcgonzalezf
rcgonzalezf / VideoService.java
Created September 29, 2015 14:46
Upload a Video, using Retrofit.
/*
* @author jules
*
*/
public interface VideoServiceProxy {
public static final String DATA_PARAMETER = "data";
public static final String ID_PARAMETER = "id";
public static final String VIDEO_SVC_PATH = "/video";
@rcgonzalezf
rcgonzalezf / TargetSumArray.java
Created June 14, 2015 18:26
Code for solution of Udemy course.
import java.util.HashSet;
import java.util.Set;
/**
* https://www.udemy.com/programming-code-interview/#/lecture/2519488
*/
public class TargetSumArray {
public static void main(String[] args) {
TargetSumArray tsa = new TargetSumArray();
@rcgonzalezf
rcgonzalezf / designer.html
Last active August 29, 2015 14:22
designer
<link rel="import" href="../core-scaffold/core-scaffold.html">
<link rel="import" href="../core-header-panel/core-header-panel.html">
<link rel="import" href="../core-menu/core-menu.html">
<link rel="import" href="../core-item/core-item.html">
<link rel="import" href="../core-icon-button/core-icon-button.html">
<link rel="import" href="../core-toolbar/core-toolbar.html">
<link rel="import" href="../core-menu/core-submenu.html">
<link rel="import" href="../core-pages/core-pages.html">
<polymer-element name="my-element">
@rcgonzalezf
rcgonzalezf / Create android drawable folders
Created April 24, 2015 04:43
Quick gist to create drawable empty folders for image assets in Android
mkdir drawable drawable-ldpi drawable-mdpi drawable-hdpi drawable-xhdpi drawable-xxhdpi drawable-xxxhdpi drawable-nodpi drawable-tvdpi