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
| import { Project, SyntaxKind, MethodDeclaration, PropertyDeclaration, ModifierTexts } from 'ts-morph'; | |
| const args = process.argv.slice(2); | |
| let tsConfigFilePath = 'tsconfig.json'; | |
| let sourceGlob = 'src/**/*.ts'; | |
| let accessibilityModifier: ModifierTexts = 'public'; | |
| const validModifiers = ['public', 'private', 'protected']; | |
| function printUsage(exitCode: number): void { | |
| const log = exitCode === 0 ? console.log : console.error; |
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
| #!/system/bin/sh | |
| umask 077 | |
| # DEBUG=1 | |
| ECDSA_KEY=/data/ssh/ssh_host_ecdsa_key | |
| ECDSA_PUB_KEY=/data/ssh/ssh_host_ecdsa_key.pub | |
| RSA_KEY=/data/ssh/ssh_host_rsa_key | |
| RSA_PUB_KEY=/data/ssh/ssh_host_rsa_key.pub |
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
| echo ' <answers> | |
| <fields> | |
| <fieldname>aid</fieldname> | |
| <fieldname>qid</fieldname> | |
| <fieldname>code</fieldname> | |
| <fieldname>sortorder</fieldname> | |
| <fieldname>assessment_value</fieldname> | |
| <fieldname>scale_id</fieldname> | |
| </fields> | |
| <rows>' |
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
| 2020/03/25 13:59:47 routers/init.go:67:initDBEngine() [I] ORM engine initialization attempt #9/10... | |
| 2020/03/25 13:59:47 ...rm/session_schema.go:25:Ping() [I] PING DATABASE postgres | |
| 2020/03/25 13:59:47 ...m.io/xorm/core/db.go:150:QueryContext() [I] [SQL] SELECT tablename FROM pg_tables WHERE tablename = $1 [version] - 6.30036ms | |
| 2020/03/25 13:59:47 ...m.io/xorm/core/db.go:150:QueryContext() [I] [SQL] SELECT column_name FROM INFORMATION_SCHEMA.COLUMNS WHERE table_name = $1 AND column_name = $2 [version id] - 15.242475ms | |
| 2020/03/25 13:59:47 ...m.io/xorm/core/db.go:150:QueryContext() [I] [SQL] SELECT column_name FROM INFORMATION_SCHEMA.COLUMNS WHERE table_name = $1 AND column_name = $2 [version version] - 3.949611ms | |
| 2020/03/25 13:59:47 ...m.io/xorm/core/db.go:150:QueryContext() [I] [SQL] SELECT "id", "version" FROM "version" WHERE "id"=$1 LIMIT 1 [1] - 1.857994ms | |
| 2020/03/25 13:59:47 ...m.io/xorm/core/db.go:150:QueryContext() [I] [SQL] SELECT tablename FROM pg_tables [] - 989.19µs | |
| 2020/03/25 13:59:47 ...m.io/xorm/ |
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
| results=read.csv("results.csv") | |
| pca <- prcomp(results[,2:15], | |
| center = TRUE, | |
| scale. = TRUE) | |
| print(pca) | |
| png('deinwal-pca.png', width=800,height=800) |