This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
### 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: |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"events": [ | |
{ | |
"message": "fooooooo" | |
} | |
] | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// 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); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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'); | |
}); | |
}); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<style type="text/css"> | |
.progress-bar {border-radius: 10px; width:300px; height:50px;} | |
</style> | |
<div class="progress-bar" style="background:url('/img/something.png') no-repeat ${VARIABLE_PERCENTAGE} top;"></div> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{header:{to:dylan@rumgr.com},meta:{user:{id:4e28c4576d3858673b001164,name:Alex,email:dylan@rumgr.com},actionCount:5,items:[{itemId:4fb158ad38f2e50000000016,actions:[{userId:4e28c4576d3858673b001164,itemId:4fb158ad38f2e50000000016,type:offers:counter,createdAt:2012-06-01T21:07:16.943Z,meta:{buyerId:4e28c4576d3858673b001164,offer:{userId:4fb158a638f2e50000000014,previousAmount:25,amount:30,message:null,userName:Ray},buyerName:Alex},_id:4fc92f04ec3bbb86fe000004}, {userId:4e28c4576d3858673b001164,itemId:4fb158ad38f2e50000000016,type:offers:counter,createdAt:2012-06-01T21:07:16.943Z,meta:{buyerId:4e28c4576d3858673b001164,offer:{userId:4fb158a638f2e50000000014,previousAmount:25,amount:30,message:null,userName:Ray},buyerName:Alex},_id:4fc92f04ec3bbb86fe000004}, {userId:4e28c4576d3858673b001164,itemId:4fb158ad38f2e50000000016,type:offers:counter,createdAt:2012-06-01T21:07:16.943Z,meta:{buyerId:4e28c4576d3858673b001164,offer:{userId:4fb158a638f2e50000000014,previousAmount:25,amount:30,message:null,userName:Ray},buyerN |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
foooooo |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
test |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var p = this.Promise(); | |
var fieldsQuery = ""; | |
if (this._fields && this._fields.length > 0){ | |
fieldsQuery = "?fields=" + this.fields(); | |
} | |
this.oauth.get(this.apiHost() + '/me' + fieldsQuery, accessToken, function (err, data) { | |
if (err) | |
return p.fail(err); | |
var oauthUser = JSON.parse(data); | |
p.fulfill(oauthUser); |
NewerOlder