I hereby claim:
- I am linenoise on github.
- I am linenoise (https://keybase.io/linenoise) on keybase.
- I have a public key whose fingerprint is 345B D55B F919 EA75 649A 73D1 7640 4A3E 426B 0B8B
To claim this, I am signing this object:
I hereby claim:
To claim this, I am signing this object:
#!/usr/bin/perl -w | |
use strict; | |
### | |
# keyset script - a utility for managing multiple keysets within the same UNIX account | |
# Copyright (C) 2012 Dann Stayskal | |
# | |
# This program is free software: you can redistribute it and/or modify | |
# it under the terms of the GNU General Public License as published by | |
# the Free Software Foundation, either version 3 of the License, or |
#!/usr/bin/perl -w | |
use strict; | |
my($i,$t)=0; | |
my@a=(0,0);my$s | |
=qq*?tuboet:gps8*; | |
my($c,$v)=0;print(pack( | |
q$c$,(int($c++)&1)?($i-=$_): | |
($i+=$_)))foreach(qw#106 9 15 8#); | |
$s=~s%[^a-z]% %g;$s=~y.b-z.a-y.;print$s; |
In the project I'm working on we wanted to have a Category model which we wanted to be nestable. But we also liked the user to have a draggable interface to manage and rearrange the order of his categories. So we chose awesome_nested_set for the model and jQuery.nestedSortable for the UI.
It took me some time to arrange things to work properly so I wanted to share my work in case it helps anybody.
you might want to take a look at a demo app