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
<form> | |
<div class="svgContainer"> | |
<div> | |
<svg class="mySVG" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" viewBox="0 0 200 200"> | |
<defs> | |
<circle id="armMaskPath" cx="100" cy="100" r="100"/> | |
</defs> | |
<clipPath id="armMask"> | |
<use xlink:href="#armMaskPath" overflow="visible"/> | |
</clipPath> |
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 AddressBook | |
import UIKit | |
typealias CThingPtr = UnsafeMutablePointer <ABRecordRef> | |
func cthing_dispose(o:CThingPtr?)->(){ | |
} | |
func cthing_create(cString:UnsafePointer<Int8>)->CThingPtr{ | |
return nil |
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
// Use Gists to store code you would like to remember later on | |
console.log(window); // log the "window" object to the console |