This file contains hidden or 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
| //Define your sublclass of ParseObject | |
| ParseClassName("Person") | |
| public data class Person : ParseObject() { | |
| var name: String by ParseDelegate<String>() | |
| var age: Int by ParseDelegate<Int>() | |
| var avatar: ParseFile by ParseDelegate<ParseFile>() | |
| } | |
| //Define ParseDelegate | |
| public class ParseDelegate<T> { |
This file contains hidden or 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
| public class DateUtils { | |
| private long secondMillis = 1000, | |
| minuteMillis = 60 * secondMillis, | |
| hourMillis = 60 * minuteMillis, | |
| dayMillis = 24 * hourMillis; | |
| public String getRelativeTime(Date from, Date to) { | |
| long fromMillis = from.getTime(); | |
| long toMillis = to.getTime(); |
This file contains hidden or 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
| //Separate firstname and lastname | |
| var fullName = 'Samuel Barbosa dos Santos'; | |
| var nameParts = fullName.split(' '); | |
| var firstName = nameParts.shift(); | |
| var lastName = nameParts.join(' ').trim(); | |
| //Phone Mask | |
| // jQuery Mask Plugin v1.5.4 | |
| // github.com/igorescobar/jQuery-Mask-Plugin | |
| $('.phone').mask('(00)00000-0000'); |
This file contains hidden or 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
| Front-end Developer | |
| Buscamos um Front-end Developer, freelancer para alocação full-time temporária, | |
| com experiência em Web e Mobile para realizar inicialmente as seguintes tarefas: | |
| - Finalizar um site em Wordpress. (Site está 90% completo). | |
| - Desenvolver versão HTML5 (Desktop e Mobile) de Aplicativo com acesso às APIs do Google Maps e APIs REST. | |
| Necessário saber algum Framework MVC Javascript e ter experiência com Phonegap. | |
| Favor enviar referência de pelo menos 4 trabalhos (2 mobiles, 2 desktop) e link para o Github / Linkedin. |
NewerOlder