Security News
Fluent Assertions Faces Backlash After Abandoning Open Source Licensing
Fluent Assertions is facing backlash after dropping the Apache license for a commercial model, leaving users blindsided and questioning contributor rights.
django-sublime-scroll
Advanced tools
"Sublime Text 2"-style scroll bars.
pip install django-sublime-scroll
Setup wkhtmltoimage
load template tags .. code:: jinja
{% load sublime_scroll_tags %} {% sublime_scroll %}
It's a good idea to have some cache so that the page capture is not generated every time that the page is loaded. So at the very least, you should do this:
.. code:: jinja
{% load sublime_scroll_tags cache %}
{% cache 500 sublime_scroll %}
{% sublime_scroll %}
{% endcache %}
.. code:: python
from django.template import RequestContext
return render_to_response('index.html', {'form': form, },
context_instance = RequestContext(request))
.. code:: python
# Absolute path to wkhtmltoimage if not in system PATH:
SUBLIME_SCROLL_WKHTMLTOIMAGE_PATH # (default: "wkhtmltoimage")
# Scroll Bar width:
SUBLIME_SCROLL_SETTINGS
# Default (in javascript):
{
'scroll_width': 150,
'offset': 0,
'z_index': 50,
'content_width': 960,
'full_height': "$('html').height()",
'opacity': 0.1,
'color': 'white',
}
FAQs
Sublime Text 2 editor style scroll bars.
We found that django-sublime-scroll demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
Fluent Assertions is facing backlash after dropping the Apache license for a commercial model, leaving users blindsided and questioning contributor rights.
Research
Security News
Socket researchers uncover the risks of a malicious Python package targeting Discord developers.
Security News
The UK is proposing a bold ban on ransomware payments by public entities to disrupt cybercrime, protect critical services, and lead global cybersecurity efforts.