Skip to content

Instantly share code, notes, and snippets.

var id = 'div1';
function swapper (id) {
$(id).firstChild().fadeOut('slow', function () {
$(id).lastChild().fadeIn('slow', function () {
var last = $(id).lasChild();
$(id).prepend(last);
swapper('div2');
});
});
// Photos
app.get('/photos', function (req, res, next) {
var view = {};
fs.readdir('./public/img/slideshow', function(err, files) {
var re = /\.(gif|jpg|jpeg|tiff|png)$/i;
var list = files.filter(function (file) {
return re.test(file);
{
"events": [
{
"message": "fooooooo"
}
]
}
### Keybase proof
I hereby claim:
* I am dylanbathurst on github.
* I am dylanbathurst (https://keybase.io/dylanbathurst) on keybase.
* I have a public key ASAAHTcC98XFgVucSirf8-4rFrBPqBT_GScN8msSf0abQwo
To claim this, I am signing this object:
@dylanbathurst
dylanbathurst / gist:1f15c80fbb79808f39f2b64a3f68657f
Created January 6, 2022 05:33
Bitcoind and C-Lightning tests using lnprototest
dylan@ace ~/lightning (master) $ cd ../lnprototest
dylan@ace ~/lnprototest (master) $ make check
/bin/sh: line 0: type: pytest-3: not found
/bin/sh: line 0: type: pytest3: not found
pytest tests
=================================================================== test session starts ===================================================================
platform darwin -- Python 3.9.9, pytest-6.1.2, py-1.11.0, pluggy-0.13.1
rootdir: /Users/dylan/lnprototest/tests, configfile: pytest.ini
plugins: forked-1.4.0, rerunfailures-9.1.1, flaky-3.7.0, xdist-2.2.1, timeout-1.4.2
collected 27 items