Usage:
cp-permissions <from> <to>...
Usage:
cp-permissions <from> <to>...
/* ---------------------------------------------------------------------------------------------------- | |
SCSS Form Reset Helpers - Forked from: https://gist.github.com/anthonyshort/552543 | |
Intended usage: | |
- MIXINS: for very specific use cases, when you dont want to reset absolutly all the forms, very verbose output. | |
- PLACEHOLDER SELECTORS: use as extending classes. Less verbose, more generic overrides. | |
A couple of things to watch out for: |
alias status="_exec git status" | |
alias s="git status --short" | |
alias fetch="_exec git fetch" | |
alias stash="_exec git stash" | |
alias commit="_exec git commit" | |
alias checkout="_exec git checkout" | |
alias add="_exec git add" | |
alias diff="_exec git diff" | |
alias co="checkout" |
#!/bin/bash | |
CURRENT_VERSION=$(npm show $(node -pe 'require("./package.json").name') version) | |
NEXT_VERSION=$(node -pe 'require("./package.json").version') | |
[ "$CURRENT_VERSION" != "$NEXT_VERSION" ] && npm publish |
(() => { | |
const check = () => { | |
const status = document.querySelector('[data-combined-status]').dataset.combinedStatus | |
switch(status) { | |
case 'success': | |
const btn = document.querySelector('[data-details-container=".js-merge-pr"]') | |
if (!btn) { | |
alert('PR already merged.') | |
break |
dist | |
node_modules |
const fs = require('fs') | |
const mongoose = require('mongoose') | |
const Batch = require('batch') | |
const models = require('lib/models') | |
const data = require('./topics.json') | |
const ObjectId = mongoose.Schema.ObjectId | |
models() |
var fs = require('fs') | |
var json2csv = require('json2csv') | |
var models = require('lib/models') | |
models() | |
var Topic = models.Topic | |
Topic | |
.find({deletedAt: null}) |
var OWNER_EMAIL = process.env.OWNER_EMAIL || 'debug-email@gmail.com' | |
//-------------------------- | |
require('lib/models')() | |
var config = require('lib/config') | |
var models = require('lib/models') | |
var User = models.User |
#! /bin/bash | |
info () { | |
echo "$(tput setaf 6) · $@$(tput sgr0)" | |
} | |
warn () { | |
echo "$(tput setaf 3) · $@$(tput sgr0)" | |
} |