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
# Auto detect text files and perform LF normalization | |
* text=auto | |
# Windows CMD does not like LF in batch files | |
*.bat text eol=crlf | |
*.cmd text eol=crlf |
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 org.foo.myloggerformatter; | |
import java.io.IOException; | |
import java.io.InputStream; | |
import java.text.DateFormat; | |
import java.text.FieldPosition; | |
import java.text.Format; | |
import java.text.MessageFormat; | |
import java.text.ParsePosition; | |
import java.util.Date; |
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 org.foo.jdbc2mf; | |
import java.sql.Timestamp; | |
import java.text.DateFormat; | |
import java.text.FieldPosition; | |
import java.text.Format; | |
import java.text.MessageFormat; | |
import java.text.ParsePosition; | |
import java.util.Date; | |
import java.util.Locale; |
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
# ./user_conf/dave | |
local_root=/home/dave/ftp | |
allow_writeable_chroot=YES |
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
NETBEANS=/opt/netbeans-8.2/bin/netbeans | |
fn_find_foreign_projects() { | |
local foreign_projects project | |
for project in $*; do | |
case " $all_projects " in | |
*" $project "*) : ;; | |
*) | |
if [ -f "${project}/nbproject/project.xml" ]; then | |
all_projects="$all_projects $project" |
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.common.jsp.beans; | |
import java.util.Map; | |
import junit.framework.TestCase; | |
public abstract class ParametrizedTestCase<T> extends TestCase | |
{ | |
public Map<Integer, T> getIncomplete() | |
{ |
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: cscript comread.vbs n | |
' | |
' Unless the proper license is installed, the script will fail to create | |
' MSCOMMLib.MSComm with "Class is not licensed for use". | |
' | |
' The required Design-time license is known to be installed with: | |
' - Visual Studio 6 component "ActiveX" | |
' - TBD | |
Option Explicit |
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
<?xml version="1.0" encoding="UTF-8"?> | |
<project name="EnterpriseApplication1" default="default" basedir="." xmlns:ear="http://www.netbeans.org/ns/j2ee-earproject/2"> | |
<description>Builds, tests, and runs the project EnterpriseApplication1.</description> | |
<import file="nbproject/build-impl.xml"/> | |
<!-- This fixes missing ear file before deploy outside of Netbeans --> | |
<target name="-init-deploy-ant" depends="dist,EnterpriseApplication1-impl.-init-deploy-ant" unless="netbeans.home"> | |
</target> | |
<!-- The hook to workaround some problems during deployment --> |
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 org.foo.unsecure; | |
import java.io.FileOutputStream; | |
import java.util.HashMap; | |
import java.util.List; | |
import com.itextpdf.text.Document; | |
import com.itextpdf.text.pdf.PdfCopy; | |
import com.itextpdf.text.pdf.PdfDictionary; | |
import com.itextpdf.text.pdf.PdfName; |
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
#!/usr/bin/perl | |
use strict; | |
use warnings; | |
use 5.008; | |
use Getopt::Long; | |
use URI; | |
use HTML::TreeBuilder; |