Trouble reproducing a bug? Run this checklist to make sure you're reproducing user's environment as closely as possible:
Device
- iOS version?
- iPad/iPhone?
- CPU architecture?
- Screen size? Orientation? Slide-over/Split View?
iOS settings
# Title: trivial hack to use embed.ly in octopress | |
# Authors: Alexander Nikolaev <variomap@gmail.com> | |
# | |
# Syntax {% embedly url %} | |
# | |
require 'embedly' | |
module Jekyll |
// | |
// AppDelegate.swift | |
// Namespaced | |
// | |
// Created by Mika Jauhonen on 2014-09-18. | |
// Copyright (c) 2014 Mika Jauhonen. All rights reserved. | |
// | |
import UIKit |
FROM ubuntu | |
MAINTAINER Maz Jaleel <mazjaleel@gmail.com> | |
# Install necessary tools to build Poco | |
RUN apt-get update && apt-get install -yq \ | |
unzip wget build-essential cmake \ | |
openssl libssl-dev \ | |
unixODBC unixODBC-dev odbc-postgresql |
Trouble reproducing a bug? Run this checklist to make sure you're reproducing user's environment as closely as possible:
Device
iOS settings
/* | |
To run this: | |
open command prompt execute 'swipl' | |
then run ['path/to/this/file.pl']. | |
then query away. | |
*/ | |
% FACTS | |
likes(jana, omar). | |
likes(omar, jana). |
<img src="http://img.shields.io/badge/Operator_overload-guilty-red.svg" height="20" alt="Uses operator overloads"/> |
#!/usr/bin/env python | |
import sys, os.path | |
install_path = sys.argv[1] | |
target_platform = sys.argv[2] | |
if target_platform != "iPhone": sys.exit() | |
info_plist_path = os.path.join(install_path, 'Info.plist') |
config :my_app, :twitter_api, | |
client: Twitter.SandboxClient |
import Foundation | |
struct Stream { | |
let string: NSString | |
var position: Int | |
var matchingRange: NSRange { | |
return NSRange(location: position, length: string.length - position) | |
} | |
} |
namespace Helpers | |
{ | |
///<summary> | |
/// Reduce mvvm boilerplate | |
/// | |
/// Usage: | |
/// public class MyViewModel : Bindable { | |
/// // Now this property supports INotifyPropertyChanged | |
/// public string MyProperty | |
/// { |