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
using System; | |
using System.Net; | |
using MonoTouch.SystemConfiguration; | |
using MonoTouch.CoreFoundation; | |
public enum NetworkStatus { | |
NotReachable, | |
ReachableViaCarrierDataNetwork, | |
ReachableViaWiFiNetwork |
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
SELECT date_trunc('day', "date") "timestamp", SUM(prints) prints, SUM(opens) opens, SUM(link_opens) link_opens, SUM(new_users) new_users, SUM(unique_users) unique_users | |
FROM app_hourly_stats | |
WHERE app_id = 6 | |
GROUP BY "timestamp" | |
ORDER BY "timestamp" ASC |
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 Foundation | |
enum APIResult<T> { | |
case success(T) | |
case error(Error) | |
} | |
extension APIResult { | |
var error: Error? { |
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
using System; | |
using Foundation; | |
using UIKit; | |
using TwinCoders.TouchUtils.Extensions; | |
using CoreGraphics; | |
namespace SalesForce.Touch.Views | |
{ | |
public abstract partial class ParentViewController | |
{ |
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 <UIKit/UIKit.h> | |
@interface UIButton (TCCustomFont) | |
@property (nonatomic, copy) NSString* fontName; | |
@end | |
@implementation UIButton (TCCustomFont) | |
- (NSString *)fontName { | |
return self.titleLabel.font.fontName; |
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
// | |
// TCHorizontalSelectorView.m | |
// TwinCodersLibrary | |
// | |
// Created by Guillermo Gutiérrez on 16/01/13. | |
// Copyright (c) 2013 TwinCoders S.L. All rights reserved. | |
// | |
#import <UIKit/UIKit.h> |
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
declare module 'resonance-audio' { | |
export namespace ResonanceAudio { | |
/** Options for constructing a new ResonanceAudio scene */ | |
export interface Options { | |
/** Desired ambisonic Order */ | |
ambisonicOrder?: number; | |
/** The listener's initial position (in meters), where origin is the center of | |
* the room */ | |
listenerPosition?: Float32Array; |
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 bash | |
if [ $# -eq 0 ] | |
then | |
PORT=7777 | |
else | |
PORT="$1" | |
fi | |
HOST="vtt.dungeon20.com" |
OlderNewer