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
package com.initvoid.jlocate | |
import java.nio.file.FileStore | |
import java.nio.file.Files | |
import java.nio.file.LinkOption | |
import java.nio.file.Path | |
import java.util.regex.Pattern | |
class WindowsVolume | |
{ |
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
package com.initvoid.org.eclipse.persistence.logging | |
import org.eclipse.persistence.logging.AbstractSessionLog | |
import org.eclipse.persistence.logging.SessionLogEntry | |
import org.slf4j.Logger | |
import org.slf4j.LoggerFactory | |
import org.slf4j.MDC | |
public class Slf4jSessionLogger extends AbstractSessionLog | |
{ |
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
//USAGE: apply from: 'antlr3.gradle' | |
configurations { | |
antlr | |
} | |
dependencies { | |
antlr 'org.antlr:antlr:3.5.2' | |
compile 'org.antlr:antlr-runtime:3.5.2' | |
} |
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
grammar LkcExpr; | |
options { | |
language=Java; | |
} | |
tokens { | |
T_OR = '||' ; | |
T_AND = '&&' ; | |
T_EQUAL = '=' ; |
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
package com.initvoid.jconfig | |
import groovy.transform.CompileStatic | |
import java.util.regex.Pattern | |
@CompileStatic | |
class PreProcessor | |
{ | |
static Pattern HELP_PATTERN = ~/^\s*(---)?\s*help\s*(---)?/ |
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
grammar zconf; | |
options { | |
language=Java; | |
} | |
tokens { | |
T_OR = '||' ; | |
T_AND = '&&' ; | |
T_EQUAL = '=' ; |
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
lexer grammar ZConfHelpLexer; | |
options { | |
language=Java; | |
} | |
@lexer::header {package com.initvoid.jconfig.zconf;} | |
//input : lines EOF ; | |
// |
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
lexer grammar ZConfHelpLexer; | |
options { | |
language=Java; | |
} | |
@lexer::header {package com.initvoid.jconfig.zconf;} | |
//input : lines EOF ; |
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
package com.initvoid.antlr3 | |
import groovy.transform.CompileStatic | |
import org.antlr.runtime.Token | |
import org.antlr.runtime.TokenSource | |
@CompileStatic | |
class LazyFilterTokenStream extends LazyTokenStream { | |
protected int channel = Token.DEFAULT_CHANNEL |
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
//Invite all you friends in facebook :) | |
for(var a=document.getElementsByClassName('checkableListItem'), i=a.length-1;i>=0;i--) a[i].click(); |