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
//OPTION 1 using enums | |
//Each element in the enum is unique and keep their last modified values | |
//even when used by threads the values of the elements are the same | |
//they can be accessed via Currentcy.DIME and so | |
//everytime you instance class Animal, the values keep the last state they were | |
public enum Animal { | |
CAT("meow"), DOG("bark"), ELEPHANT("WTF"), HUMAN("talk"); | |
} | |
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
{ | |
"outboundRoutes": [ | |
{ | |
"hasAirportChange": false, | |
"type": "AIR", | |
"segments": [ | |
{ | |
"arrival": { |
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
<test>This is a test of static content</test> |
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
<?xml version="1.0" encoding="utf-8"> | |
<set xmlns:android="http://schemas.android.com/apk/res/android" | |
android:fillAfter="true" android:interpolator="@android:anim/bounce_interpolator"> | |
<scale | |
android:fromXScale="1.0dp" | |
android:fromYScale="0.0dp" | |
android:toXScale="1.0dp" | |
android:toYScale="1.0dp" | |
android:duration="600" /> |
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 com.saishaddai.bwq | |
import android.support.v7.app.AppCompatActivity | |
import android.os.Bundle | |
import android.view.animation.AnimationUtils | |
import android.widget.TextView | |
class MainActivity : AppCompatActivity() { | |
override fun onCreate(savedInstanceState: Bundle?) { |
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
{ | |
"cards":[ | |
{ | |
"id":1, | |
"title":"<p>Super Title<p>", | |
"content":"<p>Well, the way they make shows is, they make one show. That show's called a pilot. Then they show that show to the people who make shows, and on the strength of that one show they decide if they're going to make more shows. Some pilots get picked and become television programs. Some don't, become nothing. She starred in one of the ones that became nothing. </p><p>My money's in that office, right? If she start giving me some bullshit about it ain't there, and we got to go someplace else and get it, I'm gonna shoot you in the head then and there. Then I'm gonna shoot that bitch in the kneecaps, find out where my goddamn money is. She gonna tell me too. Hey, look at me when I'm talking to you, motherfucker. You listen: we go in there, and that nigga Winston or anybody else is in there, you the first motherfucker to get shot. You understand?</p>", | |
"image_url":"image1.jpg", | |
"deck":"Java" | |
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
{ | |
"decks":[ | |
{ | |
"id":1, | |
"name":"Java", | |
"description":"Java 7 facts and fun" | |
}, | |
{ | |
"id":2, | |
"name":"Kotlin", |