Skip to content

Instantly share code, notes, and snippets.

View Aroueterra's full-sized avatar
⚔️
Typing slowly

Avan Aroueterra Aroueterra

⚔️
Typing slowly
  • Gensokyo
View GitHub Profile
class TestClass {
private String color;
public TestClass(String c) {
color = c;
}
// In getter, returnColor should return String
public void returnColor() {
return color;
}
// No return statement error (setter should actually be void) + newColor should not be a method call
import java.util.Scanner;
import java.util.ArrayList;
public class museum {
public static void main(String args[]) {
Scanner input = new Scanner(System.in);
ArrayList<Integer> cost = new ArrayList<Integer>();
int age=-1;
while(age != 0){
System.out.println("How old are you?");
.acr "anya sched 3-20-21"
```ml
MON TUES WED THU FRI
08:00 - 09:00 - - PE3 THESIS
09:00 - 11:00 - THESIS CISCO - -
11:00 - 13:00 - - ELEC 2 - -
13:00 - 15:00 CISCO CS048 -
15:00 - 17:00 - - RIZAL -
17:00 - 19:00 - IMGPROC - IMGPROC
@Aroueterra
Aroueterra / sync error
Created March 1, 2021 05:31
Timed out
2021-03-01 13:05:52.202 6311-6311/? E/.android.gms.u: Not starting debugger since process cannot load the jdwp agent.
2021-03-01 13:05:53.720 6382-6382/? E/s.messaging:rc: Not starting debugger since process cannot load the jdwp agent.
2021-03-01 13:05:54.682 6382-6398/? E/s.messaging:rc: The String#value field is not present on Android versions >= 6.0
2021-03-01 13:05:55.683 2271-2608/? E/BluetoothAdapter: Bluetooth binder is null
2021-03-01 13:06:02.506 1862-1875/? E/memtrack: Couldn't load memtrack module
2021-03-01 13:06:05.516 1862-1875/? E/system_server: No package ID 7f found for ID 0x7f0802a0.
2021-03-01 13:06:05.516 1862-1875/? E/system_server: No package ID 7f found for ID 0x7f13056c.
2021-03-01 13:06:06.042 4955-6293/? E/CarrierServices: [361] iez.getFile: File not found.: /data/user/0/com.google.android.apps.messaging/files/httpft_pending (No such file or directory)
java.io.FileInputStream.open0(Native Method)
java.io.FileInputStream.open(FileInputStream.java:231)
barline
clef-C1
clef-C2
clef-C3
clef-C4
clef-C5
clef-F3
clef-F4
clef-F5
clef-G1
@Aroueterra
Aroueterra / Build Failed
Created January 27, 2021 13:11
mergeSplitAssets
Could not determine the dependencies of task ':app:mergeSplitsAssets'.
> Could not resolve all task dependencies for configuration ':app:splitsRuntimeClasspath'.
> Could not resolve project :opencv-lib.
Required by:
project :app
> No matching variant of project :opencv-lib was found. The consumer was configured to find a runtime of a component, as well as attribute 'com.android.build.api.attributes.BuildTypeAttr' with value 'splits', attribute 'org.jetbrains.kotlin.platform.type' with value 'androidJvm' but:
- Variant 'debugApiElements' capability Notable_OPENCV:opencv-lib:unspecified:
- Incompatible because this component declares an API of a component, as well as attribute 'com.android.build.api.attributes.BuildTypeAttr' with value 'debug' and the consumer needed a runtime of a component, as well as attribute 'com.android.build.api.attributes.BuildTypeAttr' with value 'splits'
- Other compatible attribute:
- Doesn't say anything
@Aroueterra
Aroueterra / CameraFragment.kt
Created January 27, 2021 05:57
0 Byte files created
package me.togaparty.notable_opencv.fragments
import android.graphics.Bitmap
import android.net.Uri
import android.os.Bundle
import android.util.DisplayMetrics
import android.util.Log
import android.util.Size
import android.view.LayoutInflater
import android.view.View
import android.view.ViewGroup
@Aroueterra
Aroueterra / Byuld Success
Created January 26, 2021 15:37
two hour build
9:35:43 PM: Executing task 'assemble'...
Executing tasks: [assemble] in project C:\Users\aroue\Downloads\Documents\@ML\Notable-OpenCV
> Configure project :app
Warning: The 'kotlin-android-extensions' Gradle plugin is deprecated. Please use this migration guide (https://goo.gle/kotlin-android-extensions-deprecation) to start working with View Binding (https://developer.android.com/topic/libraries/view-binding) and the 'kotlin-parcelize' plugin.
WARNING: API 'BaseVariant.getApplicationIdTextResource' is obsolete and has been replaced with 'VariantProperties.applicationId'.
It will be removed in version 5.0 of the Android Gradle plugin.
For more information, see TBD.
@Aroueterra
Aroueterra / No variant
Created January 26, 2021 10:51
without variant
Could not determine the dependencies of task ':app:compileSplitsJavaWithJavac'.
> Could not resolve all task dependencies for configuration ':app:splitsCompileClasspath'.
> Could not resolve project :opencv-lib.
Required by:
project :app
> No matching variant of project :opencv-lib was found. The consumer was configured to find an API of a component, as well as attribute 'com.android.build.api.attributes.BuildTypeAttr' with value 'splits', attribute 'org.jetbrains.kotlin.platform.type' with value 'androidJvm' but:
- Variant 'debugApiElements' capability Notable_OPENCV:opencv-lib:unspecified declares an API of a component:
- Incompatible because this component declares a component, as well as attribute 'com.android.build.api.attributes.BuildTypeAttr' with value 'debug' and the consumer needed a component, as well as attribute 'com.android.build.api.attributes.BuildTypeAttr' with value 'splits'
- Other compatible attribute:
- Doesn't
Executing tasks: [:app:assembleDebug] in project C:\Users\aroue\Downloads\Documents\@ML\Notable-OpenCV
Starting Gradle Daemon...
Gradle Daemon started in 4 s 398 ms
> Configure project :app
WARNING: API 'BaseVariant.getApplicationIdTextResource' is obsolete and has been replaced with 'VariantProperties.applicationId'.
It will be removed in version 5.0 of the Android Gradle plugin.
For more information, see TBD.
To determine what is calling BaseVariant.getApplicationIdTextResource, use -Pandroid.debug.obsoleteApi=true on the command line to display more information.