-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathREADME
More file actions
153 lines (138 loc) · 5.82 KB
/
README
File metadata and controls
153 lines (138 loc) · 5.82 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
Hello World !
===================================
#### Some fun stuff laying around ####
* Setup JAVA *
1. Install Java, JAVA_HOME
2. Install local npm modules. `npm install`
To run any java program using javac,
javac -d bin/ -sourcepath src/main/java/ -cp my.jar src/main/java/prob/amzn/PairSum.java
java -cp bin/ prob.amzn.PairSum
To run any java program using grunt, see Gruntfile
grunt java:Main
Would search for Main.java in src/java/main/**, compile and run it.
To run java file using maven exec plugin - all files must compile
mvn compile exec:java -Dexec.mainClass="prob.amzn.MergeArray"
You may use other options like, you need to compile every time source code changes. [SO](http://stackoverflow.com/questions/10108374/maven-how-to-run-a-java-file-from-command-line-passing-arguments)
-Dexec.args="'argument separated with space' 'another one'"
-Dexec.classpathScope=runtime
mvn exec:help -Ddetail=true -Dgoal=java
| Java | Java Script | Python | Shell |
$ tree -P "*.java|*.js|*.groovy|*.py|*.sh|*.applescript|*.cpp|*.service"
.
├── arch-arm
│ ├── autossh.service
│ └── wireless.service
├── cpp
│ ├── empty.cpp
│ ├── palindrome.cpp
│ └── pointer-demo.cpp
├── groovy
│ ├── alg
│ │ ├── ClosestPair.groovy
│ │ ├── Fibonacci.groovy
│ │ ├── FindSum.groovy
│ │ └── countsort.groovy
│ ├── crawl.groovy
│ ├── crawl1.groovy
│ ├── curl.groovy
│ ├── report.groovy
│ ├── sample
│ │ ├── ApacheCommon.groovy
│ │ ├── GSnip.groovy
│ │ └── RegularETest.groovy
│ ├── stat.groovy
│ └── stat1.groovy
├── js
│ ├── casper
│ │ ├── jquery.js
│ │ └── zeetv.js
│ ├── ecma5object.js
│ ├── ecma5play.js
│ ├── hashchange.js
│ └── lexical-scoping.js
├── osx
│ └── sendMessage.applescript
├── py
│ ├── captcha-samples
│ │ └── captcha.py
│ ├── capthca.py
│ ├── file_parser.py
│ ├── josh.py
│ ├── proxy-ports.py
│ ├── proxy.py
│ ├── scrapy.py
│ ├── soap_ssl.py
│ └── wlst-deploy.py
├── scripts
│ ├── getpass.sh
│ ├── printer.sh
│ ├── trap-demo.sh
│ └── youtube-dl.sh
└── src
└── main
└── java
├── sample
│ ├── algo
│ │ ├── EightQueenPlacement.java
│ │ ├── FibonacciDynPrgmg.java
│ │ ├── IntersectionFinder.java
│ │ ├── Main.java
│ │ ├── MaxSequence.java
│ │ ├── PalindroneNumber.java
│ │ ├── PermutationGenerator.java
│ │ ├── ReverseInt.java
│ │ ├── Samples.java
│ │ ├── StringPermutation.java
│ │ └── euler
│ │ ├── Problem1.java
│ │ ├── Problem2.java
│ │ └── Problem4.java
│ ├── chatbox
│ │ ├── CBValidations.java
│ │ ├── ChatBoxRunner.java
│ │ ├── FileParser.java
│ │ ├── FormLoginDemo.java
│ │ ├── GlobalConstants.java
│ │ ├── HSQLDBManager.java
│ │ ├── MyHttpClient.java
│ │ ├── PrxoyChecker.java
│ │ ├── SAXParserExample.java
│ │ ├── ShutDownHook.java
│ │ └── Status.java
│ ├── concurrent
│ │ ├── ProducerConsumer.java
│ │ └── ReaderWriter.java
│ ├── guava
│ │ └── CombineKeys.java
│ ├── hsql
│ │ └── HSQLMgr.java
│ ├── http
│ │ └── HttpClient.java
│ ├── javaapi
│ │ ├── DateHelper.java
│ │ ├── JavaArrayDemo.java
│ │ ├── ParseDt.java
│ │ ├── Regex.java
│ │ ├── RegexDate.java
│ │ └── file
│ │ ├── DHExtracter.java
│ │ ├── FileFormater.java
│ │ ├── JSONPrinter.java
│ │ └── MergeContacts.java
│ ├── multiplesocketserver
│ │ ├── CmdExec.java
│ │ ├── MultipleSocketServer.java
│ │ ├── MultipleSocketServerThread.java
│ │ └── SocketClient.java
│ └── prob
│ ├── DiveRunner.java
│ ├── Diver.java
│ └── Judge.java
├── sol
│ └── chap6
│ ├── DutchPartition.java
│ ├── FindKSmall.java
│ ├── QuickSort.java
│ └── ShareBuySell.java
└── wls
└── WebLogicDecryptor.java