Questions tagged [tilt]

Tilt is a thin interface over a collection of Ruby template engines, that attempts to make their usage as generic possible.

118 questions
2
votes
1 answer

Bundler could not find compatible versions for gem "tilt":

How to fix it? Bundler could not find compatible versions for gem "tilt": In Gemfile: sprockets (>= 2.2.1) ruby depends on tilt (!= 1.3.0, ~> 1.1) ruby tilt…
2
votes
1 answer

(LIBGDX) How can I incorporate, step by step, the accelerometer and use the Z axis on an ANDROID to move a car?

I am trying to have the tilt of the Z axis in an Android phone power the movement of a Libgdx Box2D car. I already know how to make the car move on my computer, but how do I implement that into an Android? The orientation is LANDSCAPE. Thanks so…
2
votes
1 answer

Turtle, and tilting an object

Hi all I had a question from my class that asked me to create a smiley face using serperate functions for the eyes, mouth and the head. After that they want us to to draw it 10 times over lapping each other slightly and have it tilt to the left by…
user2872194
  • 147
  • 2
  • 12
2
votes
2 answers

Sprockets > How to specify a binding for Erb evaluation / rendering?

I've spent a lot of time digging into sprockets' and tit's source code, trying to figure out how to pass variables / bindings to the Erb evaluation context. Here's what I'm trying to do: I need to serve a JS file whose contents change on a…
Saurabh Nanda
  • 6,373
  • 5
  • 31
  • 60
2
votes
2 answers

android webview tilt screen page refreshing

I am using webview in my android app. It loads a webpage successfully.When I click on a link, it opens the new page in the webview and not in browser. Now my problem is that on tilting the screen the page gets refreshed and again the homepage is…
ess.crazy
  • 296
  • 1
  • 4
  • 24
2
votes
2 answers

RDiscount :generate_toc with Sinatra

So I have sinatra setup with Rdiscount to render a markdown file with a HAML layout. This all works but I want RDiscount to generate a table of contents based on the headers in my haml file. I've tried setting it in the sinatra configuration. set…
Alex
  • 690
  • 1
  • 9
  • 29
1
vote
1 answer

Suppress tilt effect on listbox item wp7

I have a listbox with for data templates, and I want to disable the tilt effect on one of the data templates, but it is not working... this is what I've been trying:
Igor Meszaros
  • 2,081
  • 2
  • 22
  • 46
1
vote
1 answer

how to use tilt to cache / precompile slim file in sinatra views

Slim documentation says that the template/.slim file can be compiled and cached with tilt. I am using slim for the views in sinatra. How to precompile the file / is it possible to view the compiled file.. Also would it cache the precompiled file…
coool
  • 8,085
  • 12
  • 60
  • 80
1
vote
1 answer

Android onPause() and device tilt

I am trying to end all of my android activities by called finish() under the onPause method. Now this was working fine until I noticed that the activity finished when I tilted the device (Galaxy tab). So I am assuming that the device pauses the…
NJGUY
  • 2,045
  • 3
  • 23
  • 43
1
vote
1 answer

Can anyone tell me whether gravity sensor is as a tilt sensor to improve heading accuracy?

X and Y axis of magnetometer can be used to calculate the heading of north when phone is level to the local ground. But when rolling or pitching the phone, we should use roll and pitch degree to eliminate the tilt error. Now, I want to know whether…
crypto__
  • 73
  • 8
1
vote
1 answer

Using Tilt to render Sass template with Compass

I am working on a static site generator (Staticpress) that uses Tilt to handle rendering. Out of the box, Tilt can render sass just fine; however when I render a sass template that tries to @import compass/reset/utilities, Sass raises a…
ravinggenius
  • 816
  • 1
  • 6
  • 14
1
vote
2 answers

Semi - tilted div border

I have a div and i need it to have a tilted border on top and bottom and a straight one on left and right.Also the corners should be rounded. I don't know if I explained it clear.
The…
sticksu
  • 3,660
  • 3
  • 23
  • 41
1
vote
1 answer

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": "" } } Is there a tilt cli command where I could run…
coler-j
  • 1,791
  • 1
  • 27
  • 57
1
vote
0 answers

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 tests in a Kubernetes cluster? How do you deal the…
Jan
  • 12,992
  • 9
  • 53
  • 89
1
vote
0 answers

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 reflected in the pod. The change isn't reflected in the…
Preston
  • 7,399
  • 8
  • 54
  • 84