Android Studio Capacitorjs - android studio cannot resolve symbol com.capacitor Dec 12, 2021 I’ve been working with Ionic’s Capacitor js as a replacement for Cordova. One thing I just stumbled over is trying to setup a development enviornment for a plugin. I was getting errors from android studio similar to: android studio cannot resolve symbol com.getcapacitor.Plugin and when running ./gradlew build FAILURE: Build failed with an exception. * What went wrong: Could not determine the dependencies of task ':verifyReleaseResources'. > Could not resolve all task dependencies for configuration ':releaseRuntimeClasspath'. ...
Build Run Container Apr 19, 2021 Often I have a Dockerfile that describes the depenedencies of a piece of software. When doing development I want my code directory mounted into the container and the user properly set so I don’t get permissions problems when building inside the container. To solve this problem the below script builds an image based on the requested image or dockerfile and sets up a user and group in the container. Subsequent runs will look for an existing container by name to prevent rebuilding. ...
Lua Locking Feb 18, 2021 Recently I found myself needing a way to synchronize access to a file in a lua program. I’ve previously used flock to ensure that multiple instances of my bash script couldn’t run at the same time. I started by writing some bash scripts to test some assumptions main.sh: 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 #! ...
OnShape & MKCad Feb 6, 2021 If you are an OnShape user and an FRC team, you’ve probably heard of MKCad, which is a user created FRC parts library by the Team 1836: The Milkenknights. Here are some tricks to help folks make the most out of MKCad: Easy way to find Official MKCad documents Using the newly created MKCAD label Inserting from MKCad without reassembling One common annoyance is when adding parts from MKCAD avoid all the copies. ...
Onshape Featurescript FRC Feb 6, 2021 Quick list of handy featurescripts for Onshape: Custom Length Extrusion by FRC 1745 Lighten Belt Beams - Getting started with beams Part Number Featurescript - CD Thread
Remarkable Line Simplification Jan 30, 2021 I recently purchased a reMarkable 2 e-ink tablet with the goal of modernizing my note-taking process. My end goal is to make my handwritten notes searchable. It seems the reMarkable is doing some sort of line simplification before sending the raw x, y coordinates to the MyScript Handwriting Recognition Service (HWR) service. The following images show initial plotting of the line segments from the binary lines files vs the data sent by the tablet to the HWR service: ...
What Are the Red Green Bars on effects in xLights Nov 22, 2020 While working on importing the 2020 xLights around the world sequence “Into the Unknown” we noticed the red and green bars on some effects in the sequence. They look like this: After some prodding we discovered the red line means transition out, whereas the green line indicates a transition in. To create or edit a transition the controls on the Layer Blending menu. Here is a sample effect with a fade transition in: Here is a sample effect with a fade transition out:
Cannot Render Onto Model... in xLights Nov 23, 2020 After importing the 2020 xLights around the world sequence “Into the Unknown” we noticed some of the effects we were attempting to map to our spiral pixel trees did not look as expected. Running Tools > Check Sequence gave a cryptic error message in the “Effect problems” section. WARN: Effect Video ends at 3:06.200 after the sequence end 3:06.000. Model: 'All Pixels' Start: 3:03.450 ERR: Video effect video file '/lightshow/sequences/imports/xLights ATW Into The Unknown/Video/Soft Illumination Blue with Wind. ...