Skip to content

Instantly share code, notes, and snippets.

View Felipe00's full-sized avatar
😤
Banzai!

Felipe Costa Felipe00

😤
Banzai!
  • SulAmérica
  • Brazil - PI
View GitHub Profile
public class PrimaryKeyFactory {
/**
* primary key field name
*/
public static final String PRIMARY_KEY_FIELD = "id";
/**
* Singleton instance.
@Felipe00
Felipe00 / debug_via_wifi.sh
Created November 23, 2016 16:39 — forked from Folyd/debug_via_wifi.sh
A shell script let you debug android device via WI-FI.
#!/usr/bin/env bash
#Notice: if unable to connect to [ip]:5555,
#try adb kill-server then try again.
adb shell ip route > addrs.txt
#Case 1:Nexus 7
#192.168.88.0/23 dev wlan0 proto kernel scope link src 192.168.89.48
#Case 2: Smartsian T1,Huawei C8813
#default via 192.168.88.1 dev eth0 metric 30
anonymous
anonymous / LoginForm.java
Created January 21, 2018 11:32
Chamando um método do Controller através da View - Play framework
public class LoginForm extends Model {
private String email;
private String password;
// Getters and Setters
...
}