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
#!/bin/sh | |
CMDNAME=`basename $0` | |
GROUP=$1 | |
REPODIR=$2 | |
if [ -z $REPODIR ]; then | |
echo "usage: $CMDNAME <group> <dir>" | |
echo "creates a shared Git repository for group <group> in the specified directory" | |
exit 0 |
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
/*jshint indent:2 */ | |
/*global Packages */ | |
// Sample JavaScript CORBA/IIOP code for JDK 8 and Domino 9.0.2 | |
// Run with jrunscript -cp DOMINO_JARS corbatest.js | |
// where DOMINO_JARS contains Domino.jar and NCSO.jar from your Domino server | |
// install. | |
/** | |
* Opens a connection to a Domino server via CORBA/DIIOP, and returns a Domino |
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 | |
# put into the public domain by Bruce Guenter <bruceg@em.ca> | |
# based heavily on code by Russell Nelson <nelson@qmail.org>, also in | |
# the public domain | |
# NO GUARANTEE AT ALL | |
# | |
# Creates a maildir from a mbox file | |
# Assumes that nothing is trying to modify the mailboxe | |
# version 0.00 - first release to the public. |
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
## | |
## Mailbox locations and namespaces | |
## | |
# Location for users' mailboxes. The default is empty, which means that Dovecot | |
# tries to find the mailboxes automatically. This won't work if the user | |
# doesn't yet have any mail, so you should explicitly tell Dovecot the full | |
# location. | |
# | |
# If you're using mbox, giving a path to the INBOX file (eg. /var/mail/%u) |
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/env ruby | |
# encoding: UTF-8 | |
'di ' | |
'ig00 ' | |
# VSFTPD auto-MD5 program | |
# | |
# Run man -l <this file> for documentation | |
require 'rb-inotify' |
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/env ruby | |
# encoding: UTF-8 | |
'di ' | |
'ig00 ' | |
# This is both a Ruby script and a man page; you can symlink it into your | |
# man directory as /usr/local/man/man8/jay.1 or run man -l on this file. | |
# The package which contains the kernel image itself | |
KERNEL_PACKAGE = 'linux-image' |
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
import java.text.DecimalFormat; | |
/** | |
* The Stopwatch class provides a simple way to record the real-world time taken by an operation, | |
* averaged over multiple runs, and report the result easily in logs. | |
* | |
* An example use case would be timing JDBC calls to a relational database. | |
* | |
* This code does not measure CPU time or pay any attention to whether a thread or process is | |
* active or not. For that, you need to use a profiler. |
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/env ruby | |
# encoding: UTF-8 | |
'di ' | |
'ig00 ' | |
# This is both a Ruby script and a man page; you can symlink it into your | |
# man directory as commandname.1 or run man -l on this file. | |
# This is a generic skeleton for a Ruby command-line utility, showing how to | |
# make the same file work as both a Ruby script and a man page, for ease of | |
# distribution. This cool hack brought to you by mathew <meta@pobox.com>. |
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
public class SubClass extends SuperClass { | |
protected int myValue = 69; | |
public SubClass() { | |
// You might think that field initialization will have been performed before this constructor is executed. | |
super(); | |
// However, Java doesn't actually perform all the field initialization for this object until this point in the code. | |
// Note also that there's nothing in the source code to say that initialization happens here. | |
System.out.println("Subclass constructor continuing"); |
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
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> | |
<html xmlns="http://www.w3.org/1999/xhtml"> | |
<head> | |
<title>Slideshow demo</title> | |
<script type="text/javascript" src="slideshow.js"></script> | |
<style type="text/css"> | |
#current { position: absolute; left: 0px; top: 0px; z-index: 0; } | |
#next { position: absolute; left: 640px; top: 0px; z-index: 1; } | |
#slideshow { position: relative; border: solid #2b2b2b 3px; overflow: hidden; } | |
</style> |
OlderNewer