Skip to content

Instantly share code, notes, and snippets.

Smittyvb

Block or report user

Report or block Smittyvb

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
View cv-us-1.user.js
// ==UserScript==
// @name Common Voice Playback Tweaks
// @namespace https://smitop.com
// @version 1.0
// @description Makes clips play back 1.5x faster, and autoclicks the play button
// @author Smitop
// @match https://voice.mozilla.org/*
// @grant none
// ==/UserScript==
View gist:c28dcbfe1ce30500f0f48e023b45ec42
assert 😕 NOTUSED? Still using assert?
Depcheck did not find code similar to require('assert') or import from 'assert'.
Check your code before removing as depcheck isn't able to foresee all ways dependencies can be used.
Use --skip-unused to skip this check.
To remove this package: npm uninstall --save assert
autoprefixer-loader 😕 NOTUSED? Still using autoprefixer-loader?
Depcheck did not find code similar to require('autoprefixer-loader') or import from 'autoprefixer-loader'.
Check your code before removing as depcheck isn't able
View steem.log
> docker build -t steem .
Sending build context to Docker daemon 49.74MB
Step 1/45 : FROM phusion/baseimage:0.9.19
---> c39664f3d4e5
Step 2/45 : ARG STEEM_STATIC_BUILD=ON
---> Using cache
---> ebe1e5edc15a
Step 3/45 : ENV STEEM_STATIC_BUILD ${STEEM_STATIC_BUILD}
---> Using cache
---> b80862694324
View steemdockerbuild2.log
> docker build -t=steemit/steem .
Sending build context to Docker daemon 48.93MB
Step 1/43 : FROM phusion/baseimage:0.9.19
---> c39664f3d4e5
Step 2/43 : ARG STEEM_STATIC_BUILD=ON
---> Using cache
---> ebe1e5edc15a
Step 3/43 : ENV STEEM_STATIC_BUILD ${STEEM_STATIC_BUILD}
---> Using cache
---> b80862694324
View steemdockerbuild.log
> docker build --no-cache -t=cond .
Sending build context to Docker daemon 48.82MB
Step 1/43 : FROM phusion/baseimage:0.9.19
---> c39664f3d4e5
Step 2/43 : ARG STEEM_STATIC_BUILD=ON
---> Running in 78bc44143283
---> ebe1e5edc15a
Removing intermediate container 78bc44143283
Step 3/43 : ENV STEEM_STATIC_BUILD ${STEEM_STATIC_BUILD}
---> Running in c3e42351ec0e
View build.log
Sending build context to Docker daemon 19.28MB
Step 1/12 : FROM node:8.7
---> badd967af535
Step 2/12 : RUN npm install -g yarn
---> Running in a051214e66b5
npm info it worked if it ends with ok
npm info using npm@5.4.2
npm info using node@v8.7.0
npm http fetch GET 200 https://registry.npmjs.org/yarn 504ms
npm http fetch GET 200 https://registry.npmjs.org/yarn/-/yarn-1.7.0.tgz 447ms
View gist:ee278c9c5824bd4f69883affa246f418
(node:6111) UnhandledPromiseRejectionWarning: Error: Could not locate the bindings file. Tried:
→ /home/server/faucet/nimiq-faucet/server/core/node_modules/node-lmdb/build/node-lmdb.node
→ /home/server/faucet/nimiq-faucet/server/core/node_modules/node-lmdb/build/Debug/node-lmdb.node
→ /home/server/faucet/nimiq-faucet/server/core/node_modules/node-lmdb/build/Release/node-lmdb.node
→ /home/server/faucet/nimiq-faucet/server/core/node_modules/node-lmdb/out/Debug/node-lmdb.node
→ /home/server/faucet/nimiq-faucet/server/core/node_modules/node-lmdb/Debug/node-lmdb.node
→ /home/server/faucet/nimiq-faucet/server/core/node_modules/node-lmdb/out/Release/node-lmdb.node
→ /home/server/faucet/nimiq-faucet/server/core/node_modules/node-lmdb/Release/node-lmdb.node
→ /home/server/faucet/nimiq-faucet/server/core/node_modules/node-lmdb/build/default/node-lmdb.node
→ /home/server/faucet/nimiq-faucet/server/core/node_modules/node-lmdb/compiled/8.11.1/linux/x64/node-lmdb.node
View Nimiq Faucet
This file is intentionally left blank.
View curieupvote.js
var steem = require("steem");
var postingWif = require("./postingKey.js");
var colors = require("colors");
const CURIE_REPLY =
`Congrats! You got curated by Curie.
[Curie](http://curiesteem.com) is a Steem curation guild.
I am a bot, please reply if something went wrong.`
var voteQueue = [];
View source.js
var prompt = require('prompt');
console.log("Welcome to @smitop's voting bot. Enter in some info below so I can start voting. I'll keep scanning new posts until I find a post by an author you choose, and then upvote their post.")
prompt.get(['Who to upvote (comma seperated, *DON\'T INCLUDE SPACES*)', 'Username', 'Posting Key'], function (err, result) {
var ALWAYS_UPVOTE = result['Who to upvote (comma seperated, *DON\'T INCLUDE SPACES*)'];
var username = result['Username']; //replace with your username
var postingWif = result['Posting Key']
var steem = require("steem");
var voteQueue = [];
You can’t perform that action at this time.