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
setTimeout(function() { | |
Java.perform(function () { | |
var mmiszczyk_AuthenticationHelper_class = null; | |
try { | |
mmiszczyk_AuthenticationHelper_class = Java.use('mmiszczyk.verysecureapp.auth.AuthenticationHelper'); | |
} catch (err) { | |
console.log('[-] mmiszczyk.verysecureapp.auth.AuthenticationHelper class not found. Skipping.'); | |
mmiszczyk_AuthenticationHelper_class = null; | |
} |
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
Git Fork | |
SourceTree | |
GitKraken | |
╭─michael@MacBook-Pro-3be1 ~ | |
╰─$ cd .ssh | |
╭─michael@MacBook-Pro-3be1 ~/.ssh | |
╰─$ ls | |
total 52 |
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 sample; | |
import javafx.animation.KeyFrame; | |
import javafx.animation.Timeline; | |
import javafx.event.ActionEvent; | |
import javafx.event.EventHandler; | |
import javafx.fxml.FXML; | |
import javafx.scene.chart.LineChart; | |
import javafx.scene.chart.NumberAxis; | |
import javafx.scene.chart.XYChart; |
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
@RuntimePermissions | |
public class RecordActivity extends AppCompatActivity { | |
ProgressBar progressBar; | |
TextView status; | |
MediaRecorder mediaRecorder; | |
@Override | |
protected void onCreate(Bundle savedInstanceState) { |
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
EditText titleQuery; | |
@Override | |
protected void onCreate(Bundle savedInstanceState) { | |
super.onCreate(savedInstanceState); | |
setContentView(R.layout.activity_find_book); | |
titleQuery = (EditText) findViewById(R.id.title_query); | |
} |
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
left = getIntent().getBundleExtra("bundle").getIntArray("left"); | |
right = getIntent().getBundleExtra("bundle").getIntArray("right"); | |
calculateResult(); | |
ArrayList<Entry> leftVals = new ArrayList<>(); | |
ArrayList<Entry> rightVals = new ArrayList<>(); | |
for (int i = 0; i < left.length; i++) { | |
leftVals.add(new Entry(left[i], i)); |
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
public class CommentsRequest extends RetrofitSpiceRequest<Comment.List, ApiInterface> { | |
public CommentsRequest() { | |
super(Comment.List.class, ApiInterface.class); | |
} | |
@Override | |
public Comment.List loadDataFromNetwork() { | |
return getService().comments(); | |
} | |
} |
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
public class ApiService extends RetrofitGsonSpiceService { | |
private final static String BASE_URL = "http://bookweb.ciolek.info/api/v1"; | |
@Override | |
public void onCreate() { | |
super.onCreate(); | |
addRetrofitInterface(ApiInterface.class); | |
} |
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
public interface ApiInterface { | |
@GET("/comments") | |
Comment.List comments(); | |
@GET("/comments/{id}") | |
Comment comment(@Path("id") long id); | |
@GET("/comments") | |
Comment.List comments(@Query("q") String bookId); |
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
public class Book implements Serializable { | |
public String id; | |
public VolumeInfo volumeInfo; | |
public class Items implements Serializable { | |
public Items(ArrayList<Book> items) { | |
this.items = items; | |
} |
NewerOlder