GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — merge · awangdev/leet-code@157cea9

File tree

Expand file treeCollapse file tree
Open diff view settings
Filter options
  • .gitignore
  • GenerateCodeTable.class
  • GenerateCodeTable.java
  • Others/old records/LeetCode-Merged
    • GenerateCodeTable.java
  • README.md
  • ReviewPage.md
  • WordPress.txt
  • knowledgeHash.json
Expand file treeCollapse file tree
Open diff view settings
Collapse file

‎.gitignore‎

Copy file name to clipboard
+1Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
GenerateCodeTable.class
Collapse file

‎GenerateCodeTable.class‎

Copy file name to clipboard
-5.91 KB
Binary file not shown.
Collapse file

‎GenerateCodeTable.java‎

Copy file name to clipboardExpand all lines: GenerateCodeTable.java
+7-4Lines changed: 7 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -84,11 +84,11 @@ public static String generateWordPressPage(File[] listOfFiles) {
8484
int count = 0;
8585
for (File file : listOfFiles) {
8686
if (file.getName().contains(".java")) {
87-
//outputContent += "|" + count + "|[" + file.getName() + "](https://github.com/shawnfan/LintCode/blob/master/Java/"+ file.getName() +")| |" + "Java|\n";
87+
//outputContent += "|" + count + "|[" + file.getName() + "](https://github.com/awangdev/LintCode/blob/master/Java/"+ file.getName() +")| |" + "Java|\n";
8888
outputContent+=
8989
"<tr>" +
9090
"<td align='center'>" + count + "</td>" +
91-
"<td align='left'><a href='https://github.com/shawnfan/LintCode/blob/master/Java/"+ file.getName() + "'>" + file.getName() + "</a></td>" +
91+
"<td align='left'><a href='https://github.com/awangdev/LintCode/blob/master/Java/"+ file.getName() + "'>" + file.getName() + "</a></td>" +
9292
"<td align='left'></td>" +
9393
"<td align='center'>Java</td>" +
9494
"</tr>";
@@ -107,10 +107,13 @@ public static String generateWordPressPage(File[] listOfFiles) {
107107
public static String generateREADME(File[] listOfFiles) {
108108
//Assemble output
109109
String outputContent = "# Java Algorithm Problems\n\n" +
110+
"### 前戏\n" +
110111
"To host Java Solutions to algorithm problems from LintCode, LeetCode...etc.\n" +
111112
"I Will try to revise the solutions once new problem or new testing case occurs.\n" +
112113
"**Mid 2016** I realize that people may want to contribute to this repo, and make it better by contributing fixes, better solutions ... etc. Free free to send pull request. Once verified, I'm happy to merge in!\n" +
113114
"CALM DOWN AND CODE ON! Fellows! \n\n" +
115+
"### News\n" +
116+
"2017年1月17日, 陪我征战多年的 2014 MackBookPro i7 3.xGHz 被一杯清水结束了生命,在这里深切缅怀悼念。这个Git Repo是小M陪我一字一句打出来的,有过蹉跎,也有过辉煌,陪我从Day1刷题一直刷到了Day1之中。直至今日,小M记录的代码还在给广大coder带来福利。为了延续小M无私奉献的精神,我将重新在这个repo活跃起来,重整已有的问题,也会尝试总结一些System Design方面的想法,将小M还没有能够达成的梦想实现。\n\n" +
114117
"| Squence | Problem | Level | Language | Video Tutorial|\n" +
115118
"|:-------:|:--------------|:------:|:---------:|:-------------:|\n";
116119
int count = 0;
@@ -133,7 +136,7 @@ public static String generateREADME(File[] listOfFiles) {
133136
System.err.format("IOException: %s%n", e);
134137
}
135138
String convertedFileName = file.getName().replace(" ", "%20");
136-
outputContent += "|" + count + "|[" + file.getName() + "](https://github.com/shawnfan/LintCode/blob/master/Java/"
139+
outputContent += "|" + count + "|[" + file.getName() + "](https://github.com/awangdev/LintCode/blob/master/Java/"
137140
+ convertedFileName + ")|" + calculatedLevel + "|" + "Java|" + tutorialLink + "|\n";
138141
count++;
139142
}
@@ -160,7 +163,7 @@ public static String generateReviewPage(File[] listOfFiles) {
160163
for (File file : listOfFiles) {
161164
if (file.getName().contains(".java")) {
162165
String convertedFileName = file.getName().replace(" ", "%20");
163-
outputContent += "**" + count + ". [" + file.getName() + "](https://github.com/shawnfan/LintCode/blob/master/Java/"+ convertedFileName +")**";
166+
outputContent += "**" + count + ". [" + file.getName() + "](https://github.com/awangdev/LintCode/blob/master/Java/"+ convertedFileName +")**";
164167
try {
165168
BufferedReader reader = new BufferedReader(new InputStreamReader(new FileInputStream("Java/" + file.getName()), "UTF-8"));
166169
String line = null;
Collapse file

‎Others/old records/LeetCode-Merged/GenerateCodeTable.java‎

Copy file name to clipboardExpand all lines: Others/old records/LeetCode-Merged/GenerateCodeTable.java
+3-3Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -59,11 +59,11 @@ public static String generateWordPressPage(File[] listOfFiles) {
5959
int count = 0;
6060
for (File file : listOfFiles) {
6161
if (file.getName().contains(".java")) {
62-
//outputContent += "|" + count + "|[" + file.getName() + "](https://github.com/shawnfan/LintCode/blob/master/Java/"+ file.getName() +")| |" + "Java|\n";
62+
//outputContent += "|" + count + "|[" + file.getName() + "](https://github.com/awangdev/LintCode/blob/master/Java/"+ file.getName() +")| |" + "Java|\n";
6363
outputContent+=
6464
"<tr>" +
6565
"<td align='center'>" + count + "</td>" +
66-
"<td align='left'><a href='https://github.com/shawnfan/LeetCode/blob/master/Java/"+ file.getName() + "'>" + file.getName() + "</a></td>" +
66+
"<td align='left'><a href='https://github.com/awangdev/LeetCode/blob/master/Java/"+ file.getName() + "'>" + file.getName() + "</a></td>" +
6767
"<td align='left'></td>" +
6868
"<td align='center'>Java</td>" +
6969
"</tr>";
@@ -90,7 +90,7 @@ public static String generateREADME(File[] listOfFiles) {
9090
int count = 0;
9191
for (File file : listOfFiles) {
9292
if (file.getName().contains(".java")) {
93-
outputContent += "|" + count + "|[" + file.getName() + "](https://github.com/shawnfan/LeetCode/blob/master/Java/"+ file.getName() +")| |" + "Java|\n";
93+
outputContent += "|" + count + "|[" + file.getName() + "](https://github.com/awangdev/LeetCode/blob/master/Java/"+ file.getName() +")| |" + "Java|\n";
9494
count++;
9595
}
9696
}

0 commit comments

Comments
0 (0)
You are visitor 01402520 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.