This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var modelCleanCyclic = require('./modelCleanCyclic'); | |
var Example = new keystone.List('Example', {}); | |
Example.schema.set('toJSON', { | |
virtuals: true, | |
transform: modelCleanCyclic.transformer | |
}); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
### | |
# Dokku apps' container name | |
# | |
# Creates all NAME files to assign container names with the dokku-name plugin. | |
# | |
# Usage: ./dokku-container-name.sh [suffix] | |
# | |
# LICENSE: | |
# |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
### | |
# Docker cleanup script | |
# | |
# Cleans all the containers (error for running ones) and all the | |
# unnamed images (error for images attached to a running container) | |
# | |
# | |
# LICENSE: | |
# |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env coffee | |
### | |
Text-to-Redis | |
Author: Ignacio Lago @ignlg | |
Version: 1.2 | |
A handy tool to convert a batch of Redis commands for mass insert/exec. |
NewerOlder