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
~/Downloads/sonar-runner-2.3/bin/sonar-runner -X | |
SonarQube Runner 2.3 | |
Java 1.6.0_65 Apple Inc. (64-bit) | |
Mac OS X 10.9.1 x86_64 | |
INFO: Error stacktraces are turned on. | |
INFO: Runner configuration file: /Users/drew/Downloads/sonar-runner-2.3/conf/sonar-runner.properties | |
INFO: Project configuration file: /Users/drew/Dropbox/Code/caffeine-ios/sonar-project.properties | |
INFO: Default locale: "en_US", source code encoding: "UTF-8" | |
INFO: Work directory: /Users/drew/Dropbox/Code/caffeine-ios/.sonar | |
INFO: SonarQube Server 4.1.1 |
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
./bootstrap.sh | |
Installing dependencies... | |
[!] Invalid `Podfile` file: Could not find cocoapods (= 0.26.2) amongst [activesupport-3.2.17, addressable-2.3.3, aws-s3-0.6.3, bigdecimal-1.1.0, builder-3.2.0, bundler-1.3.0, chronic-0.10.2, claide-0.4.0, cocoapods-0.29.0, cocoapods-core-0.29.0, cocoapods-downloader-0.3.0, cocoapods-try-release-fix-0.1.1, colored-1.2, crack-0.3.2, domain_name-0.5.12, escape-0.0.4, faraday-0.8.8, faraday_middleware-0.8.8, fuzzy_match-2.0.4, highline-1.6.19, highline-1.6.15, hpricot-0.8.6, http-cookie-1.0.1, i18n-0.6.9, io-console-0.3, json-1.8.0, json-1.5.5, json_pure-1.8.1, mechanize-2.7.1, mime-types-1.21, minitest-2.5.1, multi_json-1.8.4, multipart-post-1.2.0, mustache-0.99.4, nap-0.6.0, net-http-digest_auth-1.3, net-http-persistent-2.8, net-sftp-2.1.1, net-ssh-2.6.5, nokogiri-1.5.6, ntlm-http-0.1.1, open4-1.3.1, papertrail-0.9.7, rake-10.0.3, rake-0.9.2.2, rdiscount-2.1.6, rdoc-3.9.5, rest-client-1.6.7, ronn-0.7.3, rturk-2.10.1, rubygems-bundler-1.1.1, rvm-1.11.3.6, typingpool-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
2014-02-21 21:14:25 | |
Full thread dump Java HotSpot(TM) 64-Bit Server VM (20.65-b04-462 mixed mode): | |
"Attach Listener" daemon prio=9 tid=7f9e01000000 nid=0x10a7ae000 waiting on condition [00000000] | |
java.lang.Thread.State: RUNNABLE | |
"pool-2-thread-1" prio=5 tid=7f9dff1df800 nid=0x10b74c000 waiting on condition [10b74b000] | |
java.lang.Thread.State: TIMED_WAITING (parking) | |
at sun.misc.Unsafe.park(Native Method) | |
- parking to wait for <7f5ebac40> (a java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject) |
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
An alternative to semver | |
Major.minor.patch-tag | |
Major - For large, compatibility-breaking changes. | |
Minor - For features and fixes that are backwards compatible, as well as breaking changes that are "minor". This means breaking a small fraction of a large API, or breaking things that are simple to fix (like renaming a method, for example) | |
Patch - I only changed the bare minimum to fix an important bug or security issue |
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
override func viewDidLoad() { | |
super.viewDidLoad() | |
var dict : [String: AnyObject] = [:] | |
dict[kSecClass] = kSecClassGenericPassword | |
dict[kSecMatchLimit] = kSecMatchLimitOne | |
dict[kSecReturnAttributes] = true | |
var rDict : Unmanaged<AnyObject>? | |
let status: OSStatus = SecItemCopyMatching(dict, &rDict) | |
if (rDict==nil) { | |
println("This behavior only in release mode.") |
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
// | |
// RLMRealmDescription.swift | |
// DCAKit | |
// | |
// Created by Drew Crawford on 1/24/15. | |
// Copyright (c) 2015 DrewCrawfordApps. All rights reserved. | |
// | |
import Foundation | |
import Realm |
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
/** An example statically-dispatched, trait-based recursive datastructure in Rust */ | |
/**A master trait */ | |
trait Link { | |
fn value(&self) -> i32; | |
fn next(&self) -> Option<&Link>; | |
fn sumOfValue(&self)->i32 { | |
let maybeNext = self.next(); | |
match maybeNext { | |
Some(v) => { |
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 | |
let notification = "MyNotification" | |
struct DontCopy { | |
var value = false | |
mutating func whatever(#callback:() -> ()) { | |
self.value = true | |
NSNotificationCenter.defaultCenter().addObserverForName(notification, object: nil, queue: nil) { (noti) -> Void in |
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
//: Playground - noun: a place where people can play | |
import Cocoa | |
var str = "Hello, playground" | |
import Foundation | |
class POSIXSocketNotificationHandle { } | |
protocol Nextable { |
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
AppDelegate *app = (AppDelegate *)[[UIApplication sharedApplication]delegate]; | |
NSMutableArray *dataarray = [app search]; | |
if([dataarray count]==0) | |
{ | |
[uncheckedbtn1 setImage:[UIImage imageNamed:@"unselect.png"] forState:UIControlStateNormal]; | |
[uncheckedbtn2 setImage:[UIImage imageNamed:@"unselect.png"] forState:UIControlStateNormal]; | |
[uncheckedbtn3 setImage:[UIImage imageNamed:@"unselect.png"] forState:UIControlStateNormal]; | |
[uncheckedbtn4 setImage:[UIImage imageNamed:@"unselect.png"] forState:UIControlStateNormal]; | |
[uncheckedbtn5 setImage:[UIImage imageNamed:@"unselect.png"] forState:UIControlStateNormal]; | |
[uncheckedbtn6 setImage:[UIImage imageNamed:@"unselect.png"] forState:UIControlStateNormal]; |
OlderNewer