Skip to content

Instantly share code, notes, and snippets.

View sulliwane's full-sized avatar

Victor sulliwane

View GitHub Profile
@sulliwane
sulliwane / entrypoint.sh
Last active September 5, 2019 14:05
iExec price-feed entrypoint.sh
#!/bin/sh
node src/price-feed.js $@
@sulliwane
sulliwane / Dockerfile
Last active September 5, 2019 12:49
DOracle off-chain Docherfile
FROM node:11-alpine
COPY price-feed.js /src/price-feed.js
COPY entrypoint.sh /entrypoint.sh
RUN npm i https ethers fs
RUN chmod +x /entrypoint.sh
ENTRYPOINT ["/entrypoint.sh"]
0xC3fb2431042fBdde67B8356AbCabBc5c14660849
@sulliwane
sulliwane / factory-shared.es5.js
Created June 3, 2016 05:54 — forked from PatrickJS/factory-shared.es5.js
Different examples of OOP "class" with "inheritance" done using JavaScript including languages that transpile into js. Take notice to the amount of boilerplate that's needed in ES5 compared to ES6. These examples all have the same interface with pros/cons for each pattern. If they seem similar that's whole point especially the difference between…
var EventEmitter = require('events').EventEmitter;
var _ = require('lodash');
// Factory shared
var makePerson = function() {
var person = {};
EventEmitter.call(person);
person.wallet = 0;
_.extend(person, personMethods)
return person;
@sulliwane
sulliwane / dovecot.log
Created September 21, 2014 04:37
Solr dovecot http request
Sep 21 06:31:20 imap(vxxxr@vxxx.fr): Debug: http-client: queue http://localhost:8080: Setting up connection to 127.0.0.1:8080 (1 requests pending)
Sep 21 06:31:20 imap(vxxxr@vxxx.fr): Debug: http-client: peer 127.0.0.1:8080: Peer created
Sep 21 06:31:20 imap(vxxxr@vxxx.fr): Debug: http-client: request [GET http://localhost:8080/solr/select?fl=uid&rows=1&sort=uid+desc&q=box:1efdac24a9da1b531a1d0000d220f048+user:%22vxxxr@vxxx.fr%22]: Submitted
Sep 21 06:31:20 imap(vxxxr@vxxx.fr): Debug: http-client: Waiting for 1 requests to finish
Sep 21 06:31:20 imap(vxxxr@vxxx.fr): Debug: http-client: peer 127.0.0.1:8080: Creating 1 new connections to handle requests (already 0 usable, connecting to 0, closing 0)
Sep 21 06:31:20 imap(vxxxr@vxxx.fr): Debug: http-client: peer 127.0.0.1:8080: Making new connection 1 of 1
Sep 21 06:31:20 imap(vxxxr@vxxx.fr): Debug: http-client: conn 127.0.0.1:8080 [1]: HTTP connection created (1 parallel connections exist)
Sep 21 06:31:20 imap(vxxxr@vxxx.fr): Debug: http-client: conn 127.0.0.1:8
第一个密码:【yongyouT3bzb10.8plus1】
第二个密码:【@#$用友软件下载:www.yyrjxz.com(T310.8pbzb)XXOO】