Skip to content

Instantly share code, notes, and snippets.

@wannabegeek
wannabegeek / runzwift.sh
Last active February 18, 2024 19:29
Running Zwift under wine on Linux
#!/bin/bash
# Setup should be fairly standard for wine
#
# Install wine version > 5.4
# Install winetricks
# > sudo dnf -y install win winetricks
#
# For the moment I have assumed the default WINEPREFIX
# > winetricks dotnet35sp1 win7
@wannabegeek
wannabegeek / TimePickerInputTableViewCell.m
Created August 22, 2012 13:27
Extension to a Multiple Component PickerInputTableViewCell
#import "TimePickerInputTableViewCell.h"
#import "DataFormatters.h"
@implementation TimePickerInputTableViewCell
@synthesize delegate= _delegate;
@synthesize time = _time;
- (id)initWithStyle:(UITableViewCellStyle)style reuseIdentifier:(NSString *)reuseIdentifier
{
@wannabegeek
wannabegeek / TFLog.h
Created April 7, 2012 10:20
Controlling Debug Logging Levels and Logging to File in Cocoa
//
// TFLog.h
//
// Created by Tom Fewster on 08/06/2010.
//
#if TARGET_OS_IPHONE || TARGET_IPHONE_SIMULATOR
# import <UIKit/UIKit.h>
#else
# import <Cocoa/Cocoa.h>