119 questions
0
votes
0
answers
71
views
Tilt Port Forwarding to specific pod in Kubernetes Resource
We use Tilt to manage our local development Kube clusters. I've integrated the langfuse helm chart in the Tiltfile, which functions properly, however I'm having trouble forwarding a port to the web ...
1
vote
0
answers
28
views
How can I get rid of diagonal tilting of shifting plt.pcolormesh() when shifting row positions?
I am plotting a 2D heat map as part of my research in python using plt.colormesh() and I am able to get nice plots this way:
raw data plot
I want to get rid of the bowing (artifact of experimental set ...
0
votes
1
answer
57
views
Can't change React-tilt default options doesnt work
i'm designing a blog, and i want to use react-tilt for a premium and incredible experience, well, everything works, tilt works, effects works, but i want to change default options, like max tilt ...
1
vote
1
answer
253
views
How to make ERB or ERUBI escape HTML in the template without escaping the entire template - NOT RAILS
I'm using ERB or ERUB or Tilt here outside of Rails and I want to make my HTML templates work like rails where stuff is HTML escaped by default.
e.g.
<!-- file.html.erb -->
<h1>Hello <%=...
-1
votes
1
answer
231
views
Glitches in CSS when hovering over different divs and parts of the browser [closed]
Link to my codepen: [Codepen](https://codepen.io/sunylkwc-the-selector/pen/xxBPRGx?editors=1100)
When you hover different parts of the webpage the weird glitches occur on the transparent cards, such ...
-1
votes
2
answers
306
views
Tilt camera when player moves left and right unity
I tried to implement this effect, similar to this: https://www.reddit.com/r/Unity3D/comments/12kn33e/i_added_camera_tilt_based_on_the_movement_of_the/, using Lerp to smooth out the camera tilts, but ...
0
votes
1
answer
997
views
When using tilt, how do I stop docker containers but not delete them?
I've begun using tilt for Docker development and love it! I have containers that take a long time to build though. When I'm done using them, I don't want to run tilt down (docs) because rebuilding ...
1
vote
4
answers
4k
views
I am getting the error in importing TILT from react. While working using Vite and react
The requested module '/node_modules/.vite/deps/react-tilt.js?t=1681239019006&v=59c21aef' does not provide an export named 'default
I tried reinstalling tilt again using npm still it didnt make any ...
2
votes
1
answer
486
views
Docker-in-docker inside GitHub Actions, can't access Container from within Container
I'm running my CI from within a docker container with docker installed. Inside that docker container, I'm running docker-compose with a postgres database. Even though the postgres database has fully ...
1
vote
2
answers
1k
views
Run a docker command within a container managed by tilt
In my node project, I would like to define a script in my package.json file like:
{
"scripts": {
"runTestsWithTilt": "<some command to run tests within a ...
2
votes
1
answer
5k
views
Trigonometry calculate tilt angle from accelerometer data
I have the following Figure and the equations:
Three Axis for measuring tilt
Equations for measuring tilt
The body on the Figures is a tri-axial accelerometer sensor, which measures accelaration in ...
4
votes
0
answers
576
views
Add custom label for Helm Templates
My helm Chart.yaml file looks like this
apiVersion: v2
appVersion: "0.0.1"
description: Helm chart
name: blabla
version: 0.0.1
dependencies:
- name: nfs-server-provisioner
repository: ...
0
votes
1
answer
183
views
Is there a way to rotate objects about a tilted axis in X3D?
I have wireframe cubes in an X3D file. I am trying to tilt the cubes at a 15 degree axis and rotate them continuously. However, when I try rotating the object, it returns to its original (untilted) ...
1
vote
0
answers
175
views
How to run rspec (or any other) tests in Kubernetes cluster
I changed my dev workflow to mainly develop in Kubernetes (with Tilt.dev). All dependencies are running, file changes are syncing etc..
Now I stuck in the rSpec test process:
How do you run your ...
1
vote
0
answers
606
views
Angular app in Tilt not live reloading with ng serve
I'm trying to develop an angular app using tilt on a local k3s cluster. When I make a change to a file in local, I see that the change is taken into account by tilt, and I can see the change ...
0
votes
2
answers
1k
views
My tilt js is not working the card is not tilting need help within 4 hours
So guys I have created a website and in that I have a card hear is its html code
<div class="about-indiamain" data-tilt>
Main Content</div>
<div class=&...
0
votes
1
answer
3k
views
Sprockets Error : Sprockets::Rails::Helper::AssetNotFound
I am facing the weird error of sprockets with tilt gem.
Basically I am loading images on ERB template (generated with Tilt) with the image tag but when the template is rendered it shows Sprockets::...
0
votes
0
answers
262
views
how to implement tilt.js jquery destroy method inside another function
Here below I'm trying to insert the tilt destroy method for jquery but I can't do it...
It's not clear for me this line of code that I get on the official website
(const tilt = $('.js-tilt').tilt()
...
0
votes
1
answer
1k
views
How to accurately detect when phone has been tilted back and forth in Android
I want to trigger some function when the phone is tilted back and forth along the YZ axis. If you were holding your phone in front of your face, you'd be tilting it back until it's nearly parallel ...
0
votes
2
answers
589
views
How to use ActionView/Erubi outside Rails
I frequently use Sinatra for smallish projects. It's pretty good for what I need but I miss the ability to mark strings as HTML safe, and then ERB knowing when to escape or not escape accordingly.
I'...
0
votes
1
answer
317
views
How to registered engine from tilt in Ruby on Rails application?
I have a Ruby on Rails application. I don't understand how to register an engine from gem Tilt.
Of course, I installed and required tilt.
But, when I send http-request, the application doesn't know ...
0
votes
1
answer
2k
views
How to integrate pimoroni pan tilt hat with motioneye?
Being new to code and python I have trouble integrating buttons to control Pimoroni pan tilt hat in the Motioneye surveillance software. I found code for adafruit PCA9685 servo controller, that will ...
0
votes
1
answer
115
views
Custom helper with block
I'm using the current release 4.3.3 of Middleman.
I'd like to define a custom helper which accepts a block. For the sake of simplicity, here's a nonsensical example of wrap_me which wraps the block ...
3
votes
1
answer
2k
views
Control usb PTZ camera in a browser using JavaScript
I have a Logitech PTZ USB camera. I have prepared a video call functionality using WebRtc. Now what I need is to add Pan, Tilt and Zoom controls within the browser so user can controls the camera ...
0
votes
0
answers
348
views
Removing empty nodes from an XML document created by a .builder template
I have a problem like What's the cleanest way to ignore empty nodes with Nokogiri::XML::Builder , except that my XML document is generated by a .builder template file using the builder gem.
I'm ...
9
votes
3
answers
2k
views
How to calculate the phones rotation around the y axis (roll) while it's laying flat?
This few lines of C# code calculate the phone's rotation around the y axis using the accelerometer:
private float GetRoll() {
/*
* Sum up the accelerometer events
*/
Vector3 ...
0
votes
1
answer
412
views
Middleman: undefined method `link_to' when rendering markdown from data file
I am using Markdown written in data file to render HTML in HAML template with Middleman static page generator.
My data file, data/faq.yaml looks like this:
dog:
question: I want to know more about ...
0
votes
1
answer
616
views
Trying to tilt multiple divs to different, random angles
I'm trying to achieve the opposite of what is described here.
I have a series of divs in a wordpress page, which I would like to appear on the page as each randomly tilted to a different slight ...
4
votes
1
answer
1k
views
Google static maps get satellite view with tilt
Didn't see anything in documentation so I figured I'd ask here:
For capturing image via google static maps api, is there any way to get views that have tilt? Doesn't seem to be any documentation on ...
1
vote
1
answer
2k
views
Unity C# device movement direction capture
Good day.
I want to make an app which is somewhat very close to the device movement.
In example: If the device moves backward, the unity 3D object should move backward, if forward then the object ...
2
votes
0
answers
111
views
Android Applying TiltShift effect to a photo
I'm trying to apply TiltShift effect to image similar to instagram in android.I came across several links , but nothing worked for me.Can anyone please gimme some idea regarding this
1
vote
1
answer
602
views
OpenCV get image rotation and tilt ,inclination
Hi all anyone has any idea on how to get image rotation and tilt with respect to the vertical image in OpenCV
for example here IMAGE
how can a get alfa end tilt(inclination) with respect to the ...
1
vote
1
answer
176
views
Using alternative templating with Middleman
I would like to use Liquid templates with Middleman rather than the default ERb.
I know I need to go into config.rb and require it but i'm not sure of the exact syntax I need to use in config.rb to ...
1
vote
1
answer
460
views
Google Cardboard Unity SDK Tilted not working on a device
I'm trying to make an app that responds to the Cardboard.SDK.Tilted flag in some Update() method.
When running in Unity Player, by pressing the Esc button, Cardboard.SDK.Tilted is set to true, so ...
0
votes
1
answer
207
views
Fill tilt template using hash
I got following ruby example:
require 'tilt'
data = { "site_link" => "http://www.example.com", "title" => "example"}
template = Tilt.new('../templates/test.erb', :default_encoding => 'UTF-8')...
-2
votes
1
answer
50
views
Orientation of body
We need to find the patient monitoring system which monitors the position of the body of the patient when patient is on bed . what we want to get is when patient is sleeping we want to monitor what is ...
1
vote
2
answers
524
views
Android App: How to get screen tilt?
I am coding an app for Android and I was wondering how to get the screen tilt?
For example:
If the user tilts the screen to the right, I want their character (in-game) to move to the right. If they ...
0
votes
0
answers
45
views
Sinatra fails to render view on first load
I'm getting the following error the first time I try to access the localhost route in the browser.
Errno::ENOENT at /
No such file or directory @ rb_sysopen - /Users/admin/Workspace/site/(...
1
vote
1
answer
940
views
Android orientation: azimuth depends on pitch and roll
Problem: azimuth value changes when pitch or roll change even if the device orientation is still the same; I need to get stable independent azimuth and pitch: tilt should not affect yaw.
I've already ...
1
vote
3
answers
2k
views
How to draw a bitmap to another, but into a given quadrilateral (not necessary a rectangle)?
Suppose I have 2 bitmaps. One is smallBitmap, and one is largeBitmap.
I want to draw the entire smallBitmap into largeBitmap, but only to a part of largeBitmap, and not in a straight regtangle, but ...
0
votes
1
answer
1k
views
three.js mesh tilt instead of rotate
I just learned about the THREE.js and am fascinated with it's abilities. I am no where advanced enough to write my own code so I have been browsing around trying to find an example to do exactly what ...
1
vote
1
answer
124
views
Rails - How to find tilt version?
Gem tilt is used with sprockets for Rails assets precompile. We are having hard time to find the version running on our Rails 4 app as tilt --version returns version unknown:
$ tilt --version
tilt: ...
1
vote
0
answers
59
views
Who to limit Sprite with tilt control, to screen boundaries?
Im trying to limit a Sprite to screen edges. I'm using this script from unity manual and i've added a clamp to its movement. The issue is that the screen bounded is different with each resolution, and ...
0
votes
1
answer
254
views
Android Tilt issue with Accelerometer and Magnetometer
I am trying to detect Yaw, Pitch & roll using the following code:
@Override
public void onSensorChanged(SensorEvent event) {
if (event.sensor == mAccelerometer) {
...
1
vote
1
answer
216
views
Generating a UIColor with arguments tilt value data in swift
I'm trying to make an app which will change the colour of the background based on the tilt angle of the device. I'm having no problem finding the tilt values of the device, I just can't seem to use ...
-1
votes
1
answer
42
views
How to create animated element that follows browser like on http://metalab.co/projects/swivl/? [closed]
How to create animated element that follows browser like on http://metalab.co/projects/swivl/ ?
I tried looking at there html code but there is just a transition on the div that holds the ipad ...
1
vote
0
answers
487
views
turn maze / tilt maze generation algorithm
**I have generated maze using dfs. I followed this alogorithm
create a CellStack (LIFO) to hold a list of cell locations
set TotalCells = number of cells in grid
choose a cell at random and call ...
3
votes
2
answers
5k
views
Google Map Tilt not working
I am developing a site with some parcels ( layers on google map ) and the client wants the map to be in tilt view. I understand the google api but i don't know why my tilt setting and heading are not ...
1
vote
1
answer
341
views
Chaining multiple engines (coffeescript and jsx) using Middleman
Using Middleman, how can I chain multiple file extensions for processing by multiple engines?
Middleman handles CoffeeScript out of the box, and I have gem middleman-react in my Gemfile and activate :...
1
vote
1
answer
1k
views
How to tilt compensate my magnetometer ? Tried a lot
I try to tilt compensate a magnetometer (BMX055) reading and tried various approaches I have found online, not a single one works.
I atually tried almost any result I found on Google.
I run this ...