URL: https://www.npmjs.com/package/npm-check Check for outdated, incorrect, and unused dependencies.
Install
version: '3.5' | |
services: | |
trilium: | |
image: zadam/trilium:latest | |
container_name: trilium | |
restart: always | |
hostname: trilium | |
domainname: localhost | |
ports: |
set tabstop=4 " The width of a TAB is set to 4. | |
" Still it is a \t. It is just that | |
" Vim will interpret it to be having | |
" a width of 4. | |
set shiftwidth=4 " Indents will have a width of 4 | |
set softtabstop=4 " Sets the number of columns for a TAB | |
set expandtab " Expand TABs to spaces |
# EditorConfig is awesome: http://EditorConfig.org | |
# top-most EditorConfig file | |
root = true | |
# Unix-style newlines with a newline ending every file | |
[*] | |
charset = utf-8 | |
end_of_line = lf | |
insert_final_newline = true |
java -jar -Xdebug -Xrunjdwp:transport=dt_socket,server=y,suspend=n,address=5005 *.jar |
version: '3.3' | |
services: | |
nodejs: | |
image: rainmore/email-gateway-nodejs:1.0.1 | |
container_name: email-gateway-nodejs | |
hostname: email-gateway-nodejs | |
restart: always | |
env_file: /etc/rainmore/email-gateway/environment | |
#logging: |
URL: https://www.npmjs.com/package/npm-check Check for outdated, incorrect, and unused dependencies.
Install
def mail(to: String, subject: String, body: String): Unit = { | |
Try { | |
val command = Array("/bin/sh", "-c", "echo '%s'| mail -s '%s' %s".format(body, subject, to)) | |
Runtime.getRuntime.exec(command) | |
} match { | |
case Success(_) => logger.info("message send successfully") | |
case Failure(ex) => logger.error(ex.getMessage) | |
} | |
} |
// stop distZip, distTar and stop upload zip and tar | |
[distZip, distTar].each { task -> | |
configurations.archives.artifacts.removeAll { | |
it.class.simpleName == "ArchivePublishArtifact" && it.archiveTask == task | |
} | |
task.enabled = false | |
} |
#if($field.modifierStatic) | |
static ## | |
#end | |
$field.type ## | |
#set($name = $StringUtil.capitalizeWithJavaBeanConvention($StringUtil.sanitizeJavaIdentifier($helper.getPropertyName($field, $project)))) | |
#if (($field.boolean && $field.primitive) || $field.Boolean) | |
#if ($StringUtil.startsWithIgnoreCase($name, 'is')) | |
#set($name = $StringUtil.decapitalize($name)) | |
#else | |
is## |
[user] | |
name = Felix Jie Rong | |
email = rainmore24@gmail.com | |
[alias] | |
st = status | |
pr = pull --rebase | |
unadd = reset HEAD -- | |
st = status -sb | |
ci = commit | |
co = checkout |