By customizing the display of D3’s brush component, you can make a single-handle slider. Or, by using custom resize handles, you can make a two-handled slider.
Updated from mbostock's original Smooth Slider to including snapping on round values.
function camelToKebabCase(x) = std.asciiLower(std.native('regexSubst')('([A-Z])', x, '-$1')); |
By customizing the display of D3’s brush component, you can make a single-handle slider. Or, by using custom resize handles, you can make a two-handled slider.
Updated from mbostock's original Smooth Slider to including snapping on round values.
# prefix option in the bundle is set to '__assets__' | |
from django.views.generic.simple import redirect_to | |
urlpatterns = patterns('', | |
url(r'^__assets__/static/(?P<url>.*\.css)$', 'views.filter_css'), | |
url(r'^__assets__/static/(?P<url>.*\.less)$', 'views.filter_css'), | |
(r'^__assets__/static/(?P<rest>.*)$', redirect_to, {'url': '/static/%(rest)s'} ), | |
) |
$ git clone https://github.com/playfire/django-debug-toolbar-user-panel.git | |
Cloning into django-debug-toolbar-user-panel... | |
remote: Counting objects: 122, done. | |
remote: Compressing objects: 100% (107/107), done. | |
remote: Total 122 (delta 51), reused 52 (delta 9) | |
Receiving objects: 100% (122/122), 236.00 KiB, done. | |
Resolving deltas: 100% (51/51), done. | |
$ cd django-debug-toolbar-user-panel/ |
public class MyWidget extends AppWidgetProvider { | |
private static final String TAG = "My Widget"; | |
@Override | |
public void onReceive(Context context, Intent intent) { | |
super.onReceive(context, intent); | |
if (intent.getAction().equals("org.namespace.ACTION_1")) { | |
Toast.makeText(context, "Action 1", Toast.LENGTH_SHORT).show(); |
;; CPerl-Mode | |
;;; cperl-mode is preferred to perl-mode | |
(require 'cperl-mode) | |
(setq cperl-hairy t) | |
(autoload 'tt-mode "tt-mode") | |
(setq auto-mode-alist | |
(append '(("\\.tt$" . tt-mode)) auto-mode-alist )) |
} | |
} | |
} // At this point, give up, and assume it's a sentence. | |
} | |
} | |
} | |
} | |
} | |
} |
Sun Feb 7 01:01:58 2010 : InitDb.pl starting | |
$VAR1 = bless( { | |
'database' => bless( { | |
'database' => 'template1', | |
'password' => 'postgres', | |
'host' => 'localhost', | |
'username' => 'postgres' | |
}, 'MusicBrainz::Server::Database' ) | |
}, 'MusicBrainz::Server::Connector' ); | |
Failed query: |
Sat Feb 6 22:51:33 2010 : InitDb.pl starting | |
Failed query: | |
'SET search_path TO 'musicbrainz'' | |
() | |
DBD::Pg::st execute failed: FEHLER: Schema »musicbrainz« existiert nicht at /home/nikolai/Daten/Projekte/Musicbrainz/musicbrainz-server/admin/../lib/Sql.pm line 102. | |
at /home/nikolai/Daten/Projekte/Musicbrainz/musicbrainz-server/admin/../lib/MusicBrainz/Server/Connector.pm line 46 | |
Sat Feb 6 22:51:33 2010 : InitDb.pl failed |
Traceback (most recent call last): | |
File "./picard/ui/itemviews.py", line 491, in dropEvent | |
self.drop_urls(urls, target) | |
File "./picard/ui/itemviews.py", line 477, in drop_urls | |
self.tagger.add_files(files) | |
File "./picard/tagger.py", line 316, in add_files | |
self.unmatched_files.add_files(new_files) | |
File "./picard/cluster.py", line 254, in add_files | |
super(UnmatchedFiles, self).add_files(files) | |
File "./picard/cluster.py", line 56, in add_files |