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
{ | |
"blockTime":1673563504, | |
"meta":{ | |
"err":null, | |
"fee":10000, | |
"innerInstructions":[ | |
{ | |
"index":1, | |
"instructions":[ | |
{ |
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
{ | |
"inAmount":1000000, | |
"outAmount":75129004, | |
"amount":1000000, | |
"otherAmountThreshold":75053875, | |
"outAmountWithSlippage":75053875, | |
"swapMode":"ExactIn", | |
"priceImpactPct":0.000027072699301688985, | |
"marketInfos":[ | |
{ |
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
{ | |
"inAmount":"1000000", | |
"outAmount":"75149375", | |
"priceImpactPct":0.000027078666920532513, | |
"marketInfos":[ | |
{ | |
"id":"Hme4Jnqhdz2jAPUMnS7jGE5zv6Y1ynqrUEhmUAWkXmzn", | |
"label":"Orca", | |
"inputMint":"EPjFWdd5AufqSSqeM2qN1xzybapC8G4wEGGkZwyTDt1v", | |
"outputMint":"mSoLzYCxHdYgdzU16g5QSh3i5K3z3KZK7ytfqcJm7So", |
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
[ | |
{ | |
"account":{ | |
"data":{ | |
"parsed":{ | |
"info":{ | |
"meta":{ | |
"authorized":{ | |
"staker":"GExypwg7wmcdD3ZXKHxsqKPCoFosWk6qhKRhJRDLFBsr", | |
"withdrawer":"GExypwg7wmcdD3ZXKHxsqKPCoFosWk6qhKRhJRDLFBsr" |
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
import org.junit.Test; | |
import org.junit.runner.JUnitCore; | |
import static org.junit.Assert.assertEquals; | |
import static org.junit.Assert.assertFalse; | |
import static org.junit.Assert.assertNotNull; | |
import static org.junit.Assert.assertNull; | |
import static org.junit.Assert.assertTrue; | |
public class Solution { |
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
Non-fatal Exception: java.lang.RuntimeException: Can't create handler inside thread that has not called Looper.prepare() | |
at android.os.Handler.<init>(Handler.java:200) | |
at android.os.Handler.<init>(Handler.java:114) | |
at com.instabug.library.invoker.b.<init>(ShakeProcessor.java:35) | |
at com.instabug.library.internal.module.a.a(InstabugSDKComponent.java:59) | |
at com.instabug.library.i.b(InstabugDelegate.java:130) | |
at com.instabug.library.i.<init>(InstabugDelegate.java:99) | |
at com.instabug.library.Instabug$Builder.build(Instabug.java:894) | |
at com.instabug.library.Instabug$Builder.build(Instabug.java:968) |
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 AddWalletActivity extends Activity { | |
private static final String TAG = "AddWalletActivity"; | |
private static final int REQUEST_CODE_MASKED_WALLET = 1; | |
private WalletFragment mWalletFragment; | |
@Override | |
public void onCreate(Bundle savedInstanceState) { | |
super.onCreate(savedInstanceState); | |
setContentView(R.layout.add_wallet); |
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
POST /users HTTP/1.1 | |
Accept-Language en_US | |
Accept application/vnd.lyft.app+json;version=21 | |
User-Agent lyft:android:5.0:2.8.0.1717 | |
User-Device LGE Nexus 5 | |
X-Carrier AT&T | |
X-Session eyJhIjoiN2E2NzIwYTgzYzcxYzBkZiIsImYiOiIxNTBlNDNmOS00M2NkLTRjOTItYjI1Mi02NzNhMTU3NGI4NDEiLCJnIjoiMjc1NTYwMjU5MjA1NzY3In0= | |
Content-Type application/json; charset=utf-8 | |
Content-Length 126 | |
Host api.lyft.com |
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
private Bitmap safeLoadBitmap(File file, int width, int height) throws IOException { | |
RequestCreator picassoRequestBuilder = picasso.load(file) | |
.resize(width, height) | |
.centerInside(); | |
if (getTransformation() != null) { | |
picassoRequestBuilder.transform(getTransformation()); | |
} | |
Bitmap bitmap = 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
/* | |
* Copyright (c) 2010 Google Inc. | |
* | |
* Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except | |
* in compliance with the License. You may obtain a copy of the License at | |
* | |
* http://www.apache.org/licenses/LICENSE-2.0 | |
* | |
* Unless required by applicable law or agreed to in writing, software distributed under the License | |
* is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express |
NewerOlder