#todo
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
kill -9 $(ps ax | grep gradle | fgrep -v grep | awk '{ print $1 }') |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
04c0cab4db08e389ba3b9c6b52d516c819a73c64dbf7e137c9012d87fcd5bf18f43406041d4846dd6b694ae1ad5119a8eb8036e40f6c64ca3d7da17b4688956106 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// on error the server sends JSON | |
/* | |
{ "error": { "data": { "message":"A thing went wrong" } } } | |
*/ | |
// create model classes.. | |
public class ErrorResponse { | |
Error error; | |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package eu.fiskur.pennineway.tutorial; | |
import android.os.Bundle; | |
import android.support.v4.app.Fragment; | |
import android.view.LayoutInflater; | |
import android.view.View; | |
import android.view.ViewGroup; | |
##About Us We are a small, fast and disruptive company with people passionate about technology and building an awesome product that is disrupting the way people sell their used stuff. We're growing at a very fast pace and seeking creative, smart and self-motivated engineers to join us at the Android team. We're based in NYC and Barcelona.
In return, we can offer you a cool and fun environment where you can directly impact on the company success with your work. Also you'll have some great perks-benefits, advanced hardware and software tools and direct views to the Barceloneta's port.
##About You
- You care about software; you have a passion for what you do.
- You have an eye for software design and you understand that code is made to be read by humans.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Open /YourProjectDir/.idea/libraries/Parse_versionCode.xml" | |
Add the following lines: | |
<JAVADOC> | |
<root url="https://www.parse.com/docs/android/api/" /> | |
</JAVADOC> | |
So it should look something like this: | |
<component name="libraryTable"> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
From android 4.1 / 4.2, the following Roboto font families are available: | |
android:fontFamily="sans-serif" // roboto regular | |
android:fontFamily="sans-serif-light" // roboto light | |
android:fontFamily="sans-serif-condensed" // roboto condensed | |
android:fontFamily="sans-serif-thin" // roboto thin (android 4.2) | |
android:fontFamily="sans-serif-medium" // roboto medium (android 5.0) | |
in combination with this | |
android:textStyle="normal|bold|italic" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/local/bin/ruby | |
# | |
# Need "nokogiri" for xml parse | |
# | |
require "nokogiri" | |
file = File.open(ARGV[0]) | |
xml_doc = Nokogiri::XML(file) | |
array = xml_doc.xpath("//string") |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<ListView | |
android:id="@+id/list_view" | |
android:layout_width="match_parent" | |
android:layout_height="match_parent" | |
android:listSelector="@drawable/my_ripple" | |
android:drawSelectorOnTop="true"/> | |
<!-- drawSelectorOnTop is actually very important: without it the ripple will be drawn under row view --> | |
<!-- Alternative way --> | |
<ListView |
NewerOlder