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
# Mac | |
.DS_Store | |
# Node | |
npm-debug.log | |
/node_modules | |
# Cordova | |
/platforms | |
/plugins |
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
#if (${PACKAGE_NAME} && ${PACKAGE_NAME} != "")package ${PACKAGE_NAME};#end | |
#parse("File Header.java") | |
public enum ${NAME} { | |
#parse("EnumInnerComments.java") | |
} |
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
#if (${PACKAGE_NAME} && ${PACKAGE_NAME} != "")package ${PACKAGE_NAME};#end | |
#parse("File Header.java") | |
public class ${NAME} { | |
#parse("ClassInnerComments.java") | |
} |
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
//==== Static variables ====// | |
//==== Attributes ====// | |
//==== Getters ====// | |
//==== Constructors ====// | |
//==== Usual Methods ====// | |
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
//==== Static variables ====// | |
//==== Attributes ====// | |
//==== Getters and Setters ====// | |
//==== Constructors ====// | |
//==== Lists' CRUDs ====// | |
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 | |
# Substitute anything in argument 1 by argument 2 in file of argument 3 | |
# Expecting a GNU-sed | |
sed '/\/\/.*/! {\|*/|!{ s|/\*|\n&| #if ! */ repl 1st /* w/ \n/* | |
h; s|'$1'|'$2'|g;/\n/!b #hold; repl all foo/bar; if ! \n branch | |
G; s|\n.*\n||;:n #Get; clear difference; :new label | |
n; \|*/|!bn;s|^|\n/*| #new line; if ! */ branch new label | |
};s|*/|\n&|g #repl all */ w/ \n*/ | |
s|'$1'|&\n'$2'|g;:r #repl all foo w/ foo\nbar |