This file contains hidden or 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
{ | |
"AWSTemplateFormatVersion" : "2010-09-09", | |
"Description" : "Node.js server", | |
"Parameters" : { | |
"KeyName" : { | |
"Description" : "Name of an existing EC2 KeyPair to enable SSH access", | |
"Type" : "String" | |
}, |
This file contains hidden or 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 | |
# chkconfig: 345 20 80 | |
# description: Play start/shutdown script | |
# processname: play | |
# | |
# Instalation: | |
# copy file to /etc/init.d | |
# chmod +x /etc/init.d/play | |
# chkconfig --add /etc/init.d/play | |
# chkconfig play on |
This file contains hidden or 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
if executable("native2ascii") && &modifiable | |
execute 'silent %!native2ascii -reverse -encoding ' . (&fileencoding == "" ? &encoding : &fileencoding) | |
augroup custom_ftplugin_jproperties | |
autocmd! * <buffer> | |
autocmd BufWritePre <buffer> execute 'silent %!native2ascii -encoding ' . (&fileencoding == "" ? &encoding : &fileencoding) | |
autocmd BufWritePost <buffer> execute 'silent %!native2ascii -reverse -encoding ' . (&fileencoding == "" ? &encoding : &fileencoding) | |
augroup END | |
endif |