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
import datetime | |
import sys | |
from collections import defaultdict | |
from datetime import date | |
from decimal import Decimal | |
from functools import cache | |
from pathlib import Path | |
from typing import (Dict, Generator, Iterable, NamedTuple, Optional, Sequence, | |
Set, Tuple, Union) |
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
2024-01-01 open Assets:Checking | |
2024-01-01 open Expenses:Groceries | |
2024-01-01 * "Groceries" | |
Expenses:Groceries 10 USD | |
Assets:Checking |
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
data['Date'] = data['Date'].map(lambda d: f'{d}') | |
data = data.melt('Date') | |
# display(data) | |
line = altair.Chart(data).mark_line().encode( | |
x=altair.X('Date:T', axis=altair.Axis(labelAngle=50, labelSeparation=10, | |
format='%Y-%m-%d')), | |
y=altair.Y('value', title=None, axis=altair.Axis(format='$,f')), | |
color='variable', | |
) |
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
import kotlinx.coroutines.* | |
import kotlinx.coroutines.flow.* | |
import java.io.PrintWriter | |
import java.net.HttpURLConnection | |
import java.net.ServerSocket | |
import java.net.URL | |
import java.nio.CharBuffer | |
import java.util.concurrent.Executors | |
data class Request(val line: String, val headers: List<String>, val body: String) |
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
Inferred annotations: @org.jetbrains.annotations.Nullable | |
The following documentation urls were checked: | |
http://localhost:63342/1gck1kgde1bq1jkkt1ut91iupxep3mqkann1b/Android%20Studio%20Javadoc%20Bug/play-services-tasks-17.0.1-javadoc.jar/com/google/android/gms/tasks/Task.html#addOnCompleteListener(com.google.android.gms.tasks.OnCompleteListener) | |
http://localhost:63342/1gck1kgde1bq1jkkt1ut91iupxep3mqkann1b/Android%20Studio%20Javadoc%20Bug/play-services-tasks-17.0.1-javadoc.jar/com/google/android/gms/tasks/Task.html#addOnCompleteListener-com.google.android.gms.tasks.OnCompleteListener- | |
Edit API docs paths | |
Gradle: com.google.android.gms:play-services-tasks:17.0.1@aar |
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
------ | |
FILE: WrappedInt.class | |
------ | |
// class version 52.0 (52) | |
// access flags 0x31 | |
public final class WrappedInt { | |
// access flags 0x12 | |
private final I int |
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
# Compiled source # | |
################### | |
*.com | |
*.class | |
*.dll | |
*.exe | |
*.o | |
*.so | |
*.pyc | |
dist |
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
class GuardedSafetyNetClient { | |
private final SafetyNetClient client; | |
private GuardedSafetyNetClient(Context context) { | |
client = SafetyNet.getClient(context); | |
} | |
public static SafetyNetClient getClient(Context context) { | |
return new GuardedSafetyNetClient(context); | |
} |
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
package com.bontouch.testlocationbug; | |
import android.Manifest; | |
import android.content.IntentSender; | |
import android.content.pm.PackageManager; | |
import android.location.Location; | |
import android.os.Build; | |
import android.os.Bundle; | |
import android.os.SystemClock; | |
import android.support.annotation.NonNull; |
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
directories: | |
. | |
targets: | |
//...:all | |
android_sdk_platform: android-25 | |
build_flags: | |
--strategy=KotlinCompile=standalone |
NewerOlder