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 | |
# Colors for output | |
RED='\033[0;31m' | |
GREEN='\033[0;32m' | |
YELLOW='\033[1;33m' | |
BLUE='\033[0;34m' | |
NC='\033[0m' | |
# Create output directory with timestamp |
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 java.io.IOException; | |
import org.junit.Test; | |
public class QueryBuilderTest { | |
@Test | |
public void testQB() { | |
String sql = "select x from "; |
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
package com.my.crawler; | |
import java.util.Map; | |
public class Query { | |
private Map<String, Object> parameterMap; | |
private String queryString; |
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
package com.my.crawler; | |
import java.util.HashMap; | |
import java.util.Map; | |
import java.util.function.Supplier; | |
public class QueryBuilder { | |
private Map<String, Object> parameterMap = new HashMap<>(); |
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
final Pattern scriptletstartreg = Pattern.compile("<%[^-|@]"); | |
final Pattern scriptletendreg = Pattern.compile("[^-]%>"); | |
final List<Scriptlet> scripts = new ArrayList<>(); | |
//--start else--// | |
//--current code --// | |
currentPageTldPrefix.keySet().forEach(key -> { | |
Pattern regexForEachTagPrefixPattern = Pattern.compile(key); |
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 java.util.AbstractMap.SimpleEntry; | |
import java.util.Collections; | |
import java.util.Map; | |
import java.util.stream.Collectors; | |
import java.util.stream.Stream; | |
public class TagPatterns { | |
public static Map<PatternKey, String> tagdirectiveURLPatternMap() { |
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
@Override | |
public void visit(ClassOrInterfaceDeclaration n, Struts2InputOutput io) { | |
// System.out.println("Name of class: " + n.getn.getName()); | |
final StringBuilder fullClassName = new StringBuilder(); | |
final List<ImportDeclaration> imports = new ArrayList<>(); | |
n.getParentNode().ifPresent(parent -> { | |
((CompilationUnit) parent).getPackageDeclaration() | |
.ifPresent(packageName -> fullClassName.append(packageName.getNameAsString())); | |
imports.addAll(((CompilationUnit) parent).getImports()); | |
}); |
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
module.exports = function(grunt) { | |
// Project configuration. | |
grunt.initConfig({ | |
pkg: grunt.file.readJSON('package.json'), | |
"bower-install-simple": { | |
options: { | |
color: true, | |
directory: "lib" | |
}, |
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
{ | |
"name": "app1", | |
"description": "", | |
"main": "", | |
"authors": [ | |
"dileep" | |
], | |
"private": true, | |
"dependencies": { | |
"angular": "1.4.8" |
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
==== app.js -======= | |
var app = angular.module("app",["module1", "module2"]); | |
=== module-1.js ================ | |
var module1 = angular.module("module1",[]); | |
module1.controller("controllerOne",["$scope", function($scope){ | |
$scope.name = "Matt"; | |
}]); |
NewerOlder