Skip to content

Instantly share code, notes, and snippets.

SELECT DISTINCT ON ("plant"."id")
"plant"."id"
FROM
"plant"
INNER JOIN "business" ON "business"."id" = "plant"."businessID"
LEFT JOIN "plant_schema_map" ON "plant_schema_map"."plantID" = "plant"."id"
AND "plant_schema_map"."active" in(TRUE)
LEFT JOIN "schema_clientGroup_map" ON "schema_clientGroup_map"."schemaID" = "plant_schema_map"."schemaID"
AND "plant_schema_map"."active" in(TRUE)
LEFT JOIN (
git branch -r | awk '{print $1}' | egrep -v -f /dev/fd/0 <(git branch -vv | grep origin) | awk '{print $1}' | xargs git branch -d
var colors = require("./lib/colors")
function clock(start) {
if (!start) return process.hrtime();
var end = process.hrtime(start);
return Math.round((end[0] * 1000) + (end[1] / 1000000));
}
var testStringWithNewLines = `Lorem ipsum dolor sit amet, at putent delenit impedit vix, et justo harum patrioque mel. Numquam accusam et per, ei vis dico lucilius, possit fierent te vix. Eum utroque deleniti no. Ad mei inani populo disputando, eos nihil lucilius in, pro lucilius principes an. Vel doming liberavisse eu, movet propriae democritum eum ei, justo quando cum ea. Eu pro purto harum philosophia, magna putant necessitatibus id has, diceret fabulas vel te. Ei vix movet rationibus.
Agam sanctus inciderint per eu, euismod hendrerit ad vis. Ferri prima gubergren ut qui. Diam wisi ceteros an vis, nam sale paulo an. Falli placerat vulputate ius ex, ad semper vivendo corpora nam, in dicit prodesset est. Graeco torquatos at eam, eu patrioque voluptaria est, vocibus omnesque dissentiunt ea mel. Cetero oporter
var colors = require("./lib/colors")
function clock(start) {
if (!start) return process.hrtime();
var end = process.hrtime(start);
return Math.round((end[0] * 1000) + (end[1] / 1000000));
}
var testString = `Lorem ipsum dolor sit amet, at putent delenit impedit vix, et justo harum patrioque mel. Numquam accusam et per, ei vis dico lucilius, possit fierent te vix. Eum utroque deleniti no. Ad mei inani populo disputando, eos nihil lucilius in, pro lucilius principes an. Vel doming liberavisse eu, movet propriae democritum eum ei, justo quando cum ea. Eu pro purto harum philosophia, magna putant necessitatibus id has, diceret fabulas vel te. Ei vix movet rationibus.
Agam sanctus inciderint per eu, euismod hendrerit ad vis. Ferri prima gubergren ut qui. Diam wisi ceteros an vis, nam sale paulo an. Falli placerat vulputate ius ex, ad semper vivendo corpora nam, in dicit prodesset est. Graeco torquatos at eam, eu patrioque voluptaria est, vocibus omnesque dissentiunt ea mel. Cetero oportere qui cu.
.attachment-slider.tc-thumb-type-thumb.wp-post-image.tc-smart-load-skip.tc-smart-loaded.h-centered {
height: auto !important;
}
{
/**
* Application configuration section
* http://pm2.keymetrics.io/docs/usage/application-declaration/
*/
"apps" : [
// First application
{
"name" : "API",
@jpike88
jpike88 / import-github-labels.js
Last active July 10, 2017 03:02 — forked from Isaddo/import-github-labels.js
import github labels via console command
/*
Go on your labels page (https://github.com/user/repo/labels)
Edit the following label array
or
Use this snippet to export github labels (https://gist.github.com/MoOx/93c2853fee760f42d97f)
and replace it
Paste this script in your console
Press Enter!!
@jpike88
jpike88 / cloudSettings
Last active July 12, 2017 05:54
Visual Studio Code Sync Settings Gist
{"lastUpload":"2017-07-12T05:54:02.065Z","extensionVersion":"v2.8.2"}