Skip to content

Instantly share code, notes, and snippets.

View filipenevola's full-sized avatar

Filipe Névola filipenevola

View GitHub Profile
@filipenevola
filipenevola / target-process-copy-id-title.js
Created October 16, 2019 08:59
Tampermonkey script to copy id and title of an entity on Target Process
// ==UserScript==
// @name Pathable - Copy TP US title/id
// @namespace com.pathable
// @include https://pathable.tpondemand.com/*
// @version 1.0.5
// @grant GM_setClipboard
// ==/UserScript==
function formatInfo(usId, usTitle) {
return '[' + usId + '] ' + usTitle;
# ZSH
export ZSH=/Users/filipenevola/.oh-my-zsh
ZSH_THEME="robbyrussell"
plugins=(
git
)
# OH-MY-ZSH
source $ZSH/oh-my-zsh.sh
@filipenevola
filipenevola / must-have.md
Created January 20, 2019 13:57
must have
@filipenevola
filipenevola / local-replica-set-with-oplog.md
Last active October 31, 2018 14:00 — forked from richsilv/local-replica-set-with-oplog.md
Setting up a local MongoDB 4.0.x replica set with oplog for use with Meteor

From an appropriate location:

mkdir -p /srv/mongodb/rs0-0 /srv/mongodb/rs0-1 /srv/mongodb/rs0-2
mongod --port 27018 --dbpath /srv/mongodb/rs0-0 --replSet rs0 --smallfiles --oplogSize 128 &
mongod --port 27018 --dbpath /srv/mongodb/rs0-1 --replSet rs0 --smallfiles --oplogSize 128 &
mongod --port 27019 --dbpath /srv/mongodb/rs0-2 --replSet rs0 --smallfiles --oplogSize 128 &
mongo --port 27017
@filipenevola
filipenevola / QUAVE_DESIGNER.md
Last active August 30, 2018 17:55
Quave - Designer [HIRING] [REMOTE] [PART-TIME] [CO-FOUNDER]

Designer [HIRING] [REMOTE] [PART-TIME] [CO-FOUNDER]

Quave is looking for a designer who is great creating logos, icons, mockups, and also making decisions related to UX/UI with proficiency in React/JSS.

We are a team of people (developers, business analyst, customer success) that work together in side-projects. We are friends for a long time but we don’t have any friend with the design skills that we need and because of that, we are here 🙂. Each member of our team is pretty good in different areas. You can trust me. We have a lot of experience and we want to have you with us.

Our current side-project is focusing on small Brazilian cities retail stores that want to sell online and grow using digital tools, it’s called Bemarke and it is currently in development (maybe 1 month or 2 from the first release).

We are not paying ourselves any money yet because we are developing the product together on our free time but when the app starts to give money everybody that is with us since t

#!/bin/bash -eo pipefail
meteor yarn p-deploy staging
yarn run v1.5.1
$ /root/pathable-next/pathable-admin/node_modules/.bin/p-deploy staging
Deploying from /root/pathable-next/pathable-admin to environment staging...
Even with METEOR_ALLOW_SUPERUSER or --allow-superuser, permissions in your app
directory will be incorrect if you ever attempt to perform any Meteor tasks as
a normal user. If you need to fix your permissions, run the following command
from the root of your project:
// ==UserScript==
// @name Pivotal message for commit
// @namespace http://pathable.com/
// @version 1.0
// @description This is use for get the link from story for commit name
// @match https://www.pivotaltracker.com/*/projects/*
// @require http://ajax.googleapis.com/ajax/libs/jquery/1/jquery.min.js
// @grant GM_setClipboard
// ==/UserScript==
filipe@filipe-avell:~/Documents/pathable/ws/pathable/pathable-admin$ meteor deploy admin.staging.pathable.com --settings config/staging/settings.json
Talking to Galaxy servers at https://us-east-1.galaxy-deploy.meteor.com
Preparing to deploy your app...
Errors prevented deploying:
While minifying app code:
/home/filipe/.meteor/packages/standard-minifier-js/.2.3.2.l2zkvm.35p5e++os+web.browser+web.cordova/plugin.minifyStdJS.os/npm/node_modules/meteor/babel-compiler/node_modules/@babel/traverse/lib/path/lib/virtual-types.js:120:23:
Cannot read property 'isPure' of null while minifying
packages/pathable-utilities.js
at TraversalContext.visit (/home/filipe/.meteor/packages/ecmascript/.0.10.4.1qytmlb.2mho++os+web.browser+web.cordova/plugin.compile-ecmascript.os/npm/node_modules/meteor/babel-compiler/node_modules/@babel/traverse/lib/context.js:176:19)
at Function.traverse.node (/home/filipe/.meteor/packages/ecmascript/.0.10.4.1qytmlb.2mho++os+web.browser+web.cordova/plugin.compile-ecmascript.os/npm/node_modules/meteor/babel-compiler/node_modules/@babel/traverse/lib/index.js:76:17)
at NodePath.visit (/home/filipe/.meteor/packages/ecmascript/.0.10.4.1qytmlb.2mho++os+web.browser+web.cordova/plugin.compile-ecmascript.os/npm/node_modules/meteor/babel-compiler/node_modules/@babel/traverse/lib/path/context.js:106:18)
at TraversalContext.visitQueue (/home/filipe/.meteor/packages/ecmascript/.0.10.4.1qytmlb.2mho++os+web.browser+web.cordova/plugin.compile-ecmascript.os/npm/node_modules/meteor/babel-compiler/node_modules/@babel/traverse/lib/context.js:135:18)
at TraversalContext.visitMultiple (/home/filipe/.meteor/pack
@filipenevola
filipenevola / cloudSettings
Last active January 15, 2018 00:47
Visual Studio Code Settings Sync Gist
{"lastUpload":"2018-01-15T00:47:28.281Z","extensionVersion":"v2.8.7"}