13. September 2013 · Comments Off · Categories: Mac

What’s New in Version 1.5
Updated for newer versions of OS X, fixed minor errors in word list.

MD5: 3e3e78a3dc8d21aa24f43dacca928448

Download Now!

20. September 2012 · Comments Off · Categories: Mac

What’s New in Version 1.4
Ready for OS X 10.8 (Mountain Lion), separator checkbox now updates currently generated password, other minor interface improvements.

MD5: 9c33605ae05392ab48adc8e15e31dca9

Download Now!

18. February 2012 · Comments Off · Categories: Mac, Snippets

This is a quick-and-dirty way to write a simple locked-down web browser perfect for kiosks or other similar scenarios. This code opens a pre-defined URL in full-screen mode and works with Snow Leopard and Lion. Instead of the overhead of a full browser like Firefox, the compiled size of this code is around ~500k and is designed to serve a very simple function.

AppDelegate.h:

//  AppDelegate.h
//  QuickWeb
//
//  Please edit below to define URL, font and font size.

#import <Cocoa/Cocoa.h>
#import <WebKit/WebKit.h>

#define MY_URL          @"http://www.example.com"
#define FONT            @"Times"
#define FONTSIZE        16

@interface AppDelegate : NSObject <NSApplicationDelegate> {
    NSWindow *mainWindow;
}
@end

AppDelegate.m:

//  AppDelegate.m
//  QuickWeb
//
//  Please edit "AppDelegate.h" to define URL, font and font size.

#import "AppDelegate.h"

@implementation AppDelegate

- (void)applicationDidFinishLaunching:(NSNotification *)aNotification
{
    int windowLevel;
    NSRect screenRect;
    // Capture the main display
    if (CGDisplayCapture( kCGDirectMainDisplay ) != kCGErrorSuccess) {
        NSLog( @"Couldn't capture the main display!" );
    }
    // Get the shielding window level
    windowLevel = CGShieldingWindowLevel();
    // Get the screen rect of our main display
    screenRect = [[NSScreen mainScreen] frame];
    // Put up a new window
    mainWindow = [[NSWindow alloc] initWithContentRect:screenRect
                                             styleMask:NSBorderlessWindowMask
                                               backing:NSBackingStoreBuffered
                                                 defer:NO screen:[NSScreen mainScreen]];
    [mainWindow setLevel:windowLevel];
    [mainWindow setBackgroundColor:[NSColor blackColor]];
    [mainWindow makeKeyAndOrderFront:nil];
    
    // Load content view
    NSString *urlAddress = MY_URL;
	NSURL *url = [NSURL URLWithString:urlAddress];
	NSURLRequest *requestObj = [NSURLRequest requestWithURL:url];
    WebView *webView = [[WebView alloc] initWithFrame:screenRect];
    [[webView preferences] setStandardFontFamily:FONT];
    [[webView preferences] setDefaultFontSize:FONTSIZE];
    [[webView mainFrame] loadRequest:requestObj];
    [mainWindow setContentView:webView];
}

- (void)applicationWillTerminate:(NSNotification *)notification
{
    [mainWindow orderOut:self];
    
    // Release the display(s)
    if (CGDisplayRelease( kCGDirectMainDisplay ) != kCGErrorSuccess) {
        NSLog( @"Couldn't release the display(s)!" );
    }
}

- (BOOL)canBecomeKeyWindow
{
    return YES;
}

@end
11. September 2011 · Comments Off · Categories: Mac

What’s New in Version 1.3
Bigger word list (was 850, now 4,702), better entropy calculations, built-in Help / FAQ.

MD5: 33fda5eff5bafbd6ef8a28db2e050c55

Download Now!

05. September 2011 · Comments Off · Categories: Mac

What’s New in Version 1.0
Supports Lion.

Easily add startup tasks to Mac OS X using launchd services! Go4Launch does all the behind-the-scenes work and creates a “template” shell script that you can modify (e.g., sudo vi /Library/BootScripts/go4launch.sh). Add your own commands to the shell script, save, and you’re done! If you’re looking for a more robust solution for managing launchd services, we recommend Lingon. This is a very simple app perfect for do-it-yourselfers.

MD5: 65db197f08763dcfe3839fca221c0c15

Download Now!

03. September 2011 · Comments Off · Categories: Mac

What’s New in Version 1.2
Completely redesigned, supports Lion.

Generates passwords with two, three, or four random common dictionary words. Displays length and approximate bits of entropy. Please see this article for more information on why these types of passwords are among the most difficult to crack during brute-force attacks.

MD5: 448d408afe64836b562234918aa8e050

Download Now!

18. March 2011 · Comments Off · Categories: Mac

What’s New in Version 1.1
Recompiled with Xcode 4, 64-bit, supports 10.5 and 10.6.

A very simple AOL-style temporary password generator. Great for times when you need to generate a simple and easy to remember password for a guest account.

MD5: c611210450fc7a6eb5c42413b67b19d0

Download Now!

30. January 2011 · Comments Off · Categories: Mac

Easily add startup tasks to Mac OS X using launchd services! Go4Launch does all the behind-the-scenes work and creates a “template” shell script that you can modify with a single click. Add your own commands to the shell script, save, and you’re done!

MD5: 77a22d2b54a2e3f42a968674742315a1

Download Now!