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
Implement these:
1. Book Request Form (Fund me page adds funds then triggers accepted ID with Title)
2. Search Method (Quick search: Late books; wanted books
3. Student Page
Helpful:
http://dspace.cusat.ac.in/jspui/bitstream/123456789/8218/1/library%20management%20system.pdf
DataTable rs = new DataTable();
using (var odConnection = new OleDbConnection(@"Provider=Microsoft.ACE.OLEDB.12.0;Data Source=c:\Users\IIG\Desktop\test.xlsx;Extended Properties='Excel 12.0;HDR=YES;IMEX=1;';"))
{
odConnection.Open();
using (OleDbCommand cmd = new OleDbCommand())
{
cmd.Connection = odConnection;
cmd.CommandType = CommandType.Text;
private void simulateClipBoard() {
javax.swing.table.DefaultTableModel model = (javax.swing.table.DefaultTableModel) table_RenamingInputOutput.getModel();
int np = model.findColumn("[Name]");
if (table_RenamingInputOutput.getSelectedColumn() == np) {
try {
String data = (String) Toolkit.getDefaultToolkit()
.getSystemClipboard().getData(DataFlavor.stringFlavor);
String[] values = data.split("[\\r\\n]+");
if (values.length > 1) {
for (int i = table_RenamingInputOutput.getSelectedRow(), j = 0; i <= table_RenamingInputOutput.getRowCount() - 1 && j <= values.length-1; i++, j++) {
//Bound to windowOpened event of jFrame
public void TutorialStuff() {
List<String> list = new ArrayList<>();
// add 5 element in ArrayList
list.add("Input <NP> in the input pattern box to copy the name column values");
list.add("Input <#> in the input pattern box to copy the name column values");
list.add("Input <##> in the input pattern box to copy the name column values");
list.add("Input <###> in the input pattern box to copy the name column values");
list.add("Input <#####> in the input pattern box to copy the name column values");
//Use java settings properties to save state between application use
@Aroueterra
Aroueterra / Thesis-2.txt
Created November 28, 2020 01:32
Global Script for thesis 2
(Slide 1 Introduction)
model_input
Shape
conv2d/kernel/Initializer/random_uniform/shape
conv2d/kernel/Initializer/random_uniform/min
conv2d/kernel/Initializer/random_uniform/max
conv2d/kernel/Initializer/random_uniform/RandomUniform
conv2d/kernel/Initializer/random_uniform/sub
conv2d/kernel/Initializer/random_uniform/mul
conv2d/kernel/Initializer/random_uniform
conv2d/kernel
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.
@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
@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 / 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