qbatch / heatmap-rails Goto Github PK
View Code? Open in Web Editor NEWComplete solution for clicks & user focused areas on websites. It includes functionality to store & show heatmap related data.
License: MIT License
Complete solution for clicks & user focused areas on websites. It includes functionality to store & show heatmap related data.
License: MIT License
QBATCH(1) User Contributed Perl Documentation NAME qbatch - submits a command line to Grid Engine or PBS via qsub SYNOPSIS qbatch [options] [--queue] -- command qbatch is designed to be inserted before any command that you would usually run from the command line. In case of argument collision where both your command and qbatch share an option such as --verbose be sure to use the '--' syntax to split qbatch options from the commands options $ qbatch --verbose -- mincmath --verbose ... DESCRIPTION qbatch is a quick hack if you don't want to write a qsub script The idea is to just bung qbatch in front of any command you would normally enter on the command line. (as per 'nice') eg: $ qbatch ls -F $ qbatch -q wb325.q@taylor -N job23 -- mincmath \ fred.mnc .. Problems or comments should be sent to: [email protected] OPTIONS -v, --verbose Be noisy when doing things (most importantly this will echo the resulting script to the terminal) --verbose Print version number and exit -h, --help Dump some quick help output --man Dump a man page -f, --fake Don't run anything, This is useful when combined with --verbose or --script -s, --script Dont run anything, just output the batch script to the specified filename --type Type of queing system, currently only pbs and gri- dengine are supported -q, --queue Specify a queue to run a job in. Use something like all.q@hostname to specify a particular host. Defaults to all.q, the default SGE queue -N, --name Specify a job name to run the job as. By default this will be "STDIN" -d, --depends Specify a list of job dependencies by job name or num- ber which have to run before this job will -l, --logfile Logfile for output of the command. By Default this will make a file in the current directory called qbatch-<PID>.log where PID is the Process ID of the instance of qbatch -j, --jid return only the job id of the submitted job on STDOUT AUTHOR Andrew Janke - [email protected]
I feel like I've followed the Usage instructions, and in attempts to remedy this issue (likely a user error) I've deviated from the instructions and tried a variety of things. Posting this 'issue' is a last resort!
Running version 0.1.3:
$ bundle show heatmap-rails
[...]/.rvm/gems/ruby-2.3.3/gems/heatmap-rails-0.1.3
In application.js:
//= require jquery
[...]
//= require heatmap.js
[...]
//= require_tree .
At the top of an index.html.erb (rendered as a yield in application.html):
<!-- Heatmapping -->
<% save_heatmap({click: 1, move: 20}) %>
<% if request.query_parameters.include?("heatmap") %>
<%= show_heatmap(request.path) %>
<% end %>
Having clicked on a page a bunch, then passed the heatmap param into the address (i.e. localhost:3000/page?heatmap), I have nil HeatMap records:
2.3.3 :012 > HeatMap.all
HeatMap Load (0.5ms) SELECT "heat_maps".* FROM "heat_maps"
=> #<ActiveRecord::Relation []>
2.3.3 :013 >
The displayed ?heatmap page shows a box in the upper-right, which says "Heatmaps Recorded" and a large 0 (zero) beneath it.
What have I done wrong? Many, many thanks for any assistance you can provide!
URLs like /user/:id/
where :id is any integer only show the clicks for that user and not all users in general.
Anyone know a quick workaround or is this feature not supported?
the clicks and mouse movements get saved in the database but when I do
<%= show_heatmap(request.path) %>
nothing happens
in the js console I see this
Uncaught TypeError: Cannot read property 'getBoundingClientRect' of null
clicking in it's on this line:
width = getElement(path.xpath).getBoundingClientRect().width;
Certificate security issues
https://heatmap-rails.herokuapp.com/
FireFox - no work around possible...
Is this project still alive?
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.