I hereby claim:
- I am gekitz on github.
- I am gekitz (https://keybase.io/gekitz) on keybase.
- I have a public key whose fingerprint is 9F42 1470 F4EB 8B9E 8984 A6C3 3320 A90A 9784 0D27
To claim this, I am signing this object:
<!DOCTYPE html> | |
<html lang="en"> | |
<head> | |
<meta charset="UTF-8"> | |
<title>Sample Site</title> | |
<!-- Script for showing/hiding thte modal --> | |
<script> | |
window.onload = function() { | |
// check if user uses a mobile device |
// | |
// TooltipView.swift | |
// Customizable Tooltips | |
// | |
// Copyright © 2017 Simon Wuyts | |
// | |
// Permission is hereby granted, free of charge, to any person obtaining a copy | |
// of this software and associated documentation files (the "Software"), to deal | |
// in the Software without restriction, including without limitation the rights | |
// to use, copy, modify, merge, publish, distribute, sublicense, and/or sell |
{ | |
"created": "2017-02-24T12:53:56.369+01:00", | |
"id": 0, | |
"started": "2017-02-27T09:27:46.279+01:00", | |
"updated": "2017-02-24T12:53:56.369+01:00", | |
"user": 14, | |
"uuid": "e5cba7d9-bca9-40ce-8ad7-b953c2996c3a", | |
"hq_work_end": "2017-02-27T09:27:54.047+01:00", | |
"hq_work_start": "2017-02-27T09:27:46.279+01:00" | |
} |
override func addSubview(view: UIView) { | |
//for some reason view could also be nil, | |
//even though it's not an optional | |
let possibleNilView:UIView? = view as UIView? | |
if let v = possibleNilView? { | |
if v.dynamicType.description() == "_" + "UITableViewCell" + "SeparatorView" { | |
return | |
} |
class GKTextAlertContentView: UIView { | |
@IBOutlet var titleLabel: UILabel! | |
@IBOutlet var textLabel: UILabel! | |
@IBOutlet var textField: UITextField! | |
@IBOutlet var submitButton: UIButton! | |
override func intrinsicContentSize() -> CGSize { | |
let titleSize = titleLabel.intrinsicContentSize() |
- (BOOL)twitterAuthorized { | |
ACAccountStore *store = [ACAccountStore new]; | |
ACAccountType *accountType = [store | |
accountTypeWithAccountTypeIdentifier:ACAccountTypeIdentifierTwitter]; | |
return [accountType accessGranted]; | |
} |
I hereby claim:
To claim this, I am signing this object:
const char *attributes = "T@\"DeliveryPlatform\",&,D,N"; | |
const char *ret; | |
char buffer[1 + strlen(attributes)]; | |
strcpy(buffer, attributes); | |
char *state = buffer, *attribute; | |
while ((attribute = strsep(&state, ",")) != NULL) { | |
if (attribute[0] == 'T') { | |
ret = (const char *)[[NSData dataWithBytes:(attribute + 3) length:strlen(attribute) - 4] bytes]; | |
} | |
} |
What I want to have is the following layout | |
-5-[label with flexible width]->=5-[uiimageview with fix width]-5- | |
the problem is the >= 5 in the middle is always treated as a 5 instead of a flexible width which should be bigger than 5. | |
My visual constraint looks like this: | |
@"|-(5)-[_usernameLabel]-(>=5)-[_userImageView(34)]-5-|" | |
Anyone any ideas how to achive the layout I want? |
--- | |
layout: default | |
--- | |
<h2 class="tag">{{ page.title }}</h2> | |
{% for post in site.tags[page.tag] %} | |
<div class="tag_entry"> | |
<h3> | |
<a class="content_head" href="{{ post.url }}">{{ post.title }}</a> | |
</h3> | |
<div> |