Skip to content

Instantly share code, notes, and snippets.

💭
hackin'

Benjamin E. Coe bcoe

💭
hackin'
Block or report user

Report or block bcoe

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
@bcoe
bcoe / optional-chaining-productions.md
Last active Aug 15, 2019
optional-chaining-productions.md
View optional-chaining-productions.md

Statement List

  • UpdateExpression[Yield, Await]

      • OptionalExpression[Yield, Await]
        • MemberExpression[Yield, Await] (member-expression.js)
          • PrimaryExpression[?Yield, ?Await]
            • this
            • IdentifierReference[?Yield, ?Await]
              • Identifier
            • Literal
@bcoe
bcoe / commits.graphql
Created May 28, 2019
commits.graphql
View commits.graphql
query lastCommits($cursor: String, $owner: String!, $repo: String!, $perPage: Int, $maxFilesChanged: Int) {
repository(owner: $owner, name: $repo) {
defaultBranchRef {
target {
... on Commit {
history(first: $perPage, after: $cursor) {
edges{
node {
... on Commit {
message
View output.txt
ProductName: Mac OS X
ProductVersion: 10.13.4
BuildVersion: 17E199
@bcoe
bcoe / fail-on-threshold.patch
Created Jan 23, 2019
fail-on-threshold.patch
View fail-on-threshold.patch
diff --git a/Makefile b/Makefile
index 9fcf7e08701..852697c53fd 100644
--- a/Makefile
+++ b/Makefile
@@ -215,7 +215,7 @@ coverage-build: all
coverage-build-js:
mkdir -p node_modules
if [ ! -d node_modules/c8 ]; then \
- $(NODE) ./deps/npm install c8@next --no-save --no-package-lock;\
+ $(NODE) ./deps/npm install c8 --no-save --no-package-lock;\
@bcoe
bcoe / monthly.md
Last active Jul 4, 2018
Devtools Community Triage - July 3rd 2018
View monthly.md

Devtools Community Monthly Triage

  • Who: Contributors and community members interested in shaping the yargs, lerna, conventional-changelog, and nyc projects.
  • What: Our monthly planning meeting for the Devtools Community umbrella of projects.
  • When: Tuesday, July 3, 4:30PM.
  • Where: https://zoom.us/, download the Zoom chat application, a meeting room will be shared in slack.

Agenda

yargs:

@bcoe
bcoe / github-access-control.js
Created May 15, 2018
github-access-control.js
View github-access-control.js
function (user, context, callback) {
// We check users only authenticated with 'github'
if(context.connection === 'github'){
var whitelist = [
'bcoe',
'batman'
]; //authorized github accounts.
var userHasAccess = whitelist.some((name) => {
return name === user.nickname;
@bcoe
bcoe / happn-primus-readme.md
Created Jun 3, 2017
happn-primus-readme.md
View happn-primus-readme.md

moved package "lws": "0.6.x", to 0.8.0

removed uws support

Primus

Version npmBuild StatusDependencies

Primus, the creator god of transformers but now also known as universal wrapper for real-time frameworks. There are a lot of real-time frameworks available for

View package.json
{
"name": "@funkia/hareactive",
"version": "0.0.31",
"description": "Experimental FRP library for building web applications.",
"main": "dist/index.js",
"module": "dist/es/index.js",
"typings": "dist/defs/index.d.ts",
"directories": {
"test": "test",
"dist": "dist"
View ha.varnish
vcl 4.0;
import directors;
backend primary {
.host = "127.0.0.1";
.port = "8080";
}
backend replica {
.host = "x.x.x.x";
@bcoe
bcoe / couch-debug-level.txt
Created Mar 23, 2017
couch-debug-level.txt
View couch-debug-level.txt
curl -XPUT /_config/log/level' -d '"debug"'
You can’t perform that action at this time.