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
%start PubSubRefresh::Idle | |
%class PubSubRefresh | |
%header PubSubRefresh.h | |
%map PubSubRefreshMap | |
%% | |
Idle | |
{ | |
Start |
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
Having trouble with Drag & Drop in Capo? Try this command in the Terminal: | |
/System/Library/Frameworks/CoreServices.framework/Frameworks/LaunchServices.framework/Support/lsregister -kill -seed | |
And, if it still doesn't work after running that, reboot and try again. | |
And, it if still doesn't work after that, email [email protected]. |
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
// | |
// videoTestMemoryViewController.h | |
// videoTestMemory | |
// | |
// Created by david on 06/10/10. | |
// Copyright 2010 E-ducation.it. All rights reserved. | |
// | |
#import <UIKit/UIKit.h> | |
#import <MediaPlayer/MediaPlayer.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
#!/bin/sh | |
# copyFrameworks.sh | |
# Capo | |
# | |
# Created by Christopher Liscio on 11-07-05. | |
# Copyright 2011 SuperMegaUltraGroovy. All rights reserved. | |
FRAMEWORKS=${1} | |
PRIVATE_FRAMEWORKS_PATH=${BUILT_PRODUCTS_DIR}/${FRAMEWORKS_FOLDER_PATH} |
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
${PROJECT_DIR}/bin/copyFrameworks.sh "SMUGFoundation.framework SMUGOpenCL.framework SMUGAudio.framework" | |
find "${BUILT_PRODUCTS_DIR}"/"${FRAMEWORKS_FOLDER_PATH}" -name '*.h' -exec rm {} \; |
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
(gdb) po [[sender draggingPasteboard] types] | |
<__NSArrayM 0x102912710>( | |
com.apple.pasteboard.promised-file-url, | |
dyn.ah62d4rv4gu8y6y4usm1044pxqzb085xyqz1hk64uqm10c6xenv61a3k, | |
NSPromiseContentsPboardType, | |
com.apple.itunes.iappurl, | |
CorePasteboardFlavorType 0x4855666C, | |
JRFS, | |
Dsid, | |
Oidl, |
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
<?xml version="1.0" encoding="UTF-8"?> | |
<!DOCTYPE plist PUBLIC "-//Apple Computer//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd"> | |
<plist version="1.0"> | |
<dict> | |
<key>Major Version</key><integer>1</integer> | |
<key>Minor Version</key><integer>1</integer> | |
<key>Application Version</key><string>10.5b48</string> | |
<key>Features</key><integer>5</integer> | |
<key>Show Content Ratings</key><true/> | |
<key>Music Folder</key><string>file://localhost/Users/chris/Music/iTunes/iTunes%20Media/</string> |
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
class Person: | |
p = Person() | |
p.name = "Foo" | |
In Ruby: | |
class Person | |
attr_accessor :name |
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
#!/bin/sh | |
# First, set the width/height DPI on the file | |
sips -s dpiWidth 144 -s dpiHeight 144 "$1" | |
# Fake that it is a screen capture (wat?) | |
xattr -wx com.apple.metadata:kMDItemIsScreenCapture "62 70 6C 69 73 74 30 30 09 08 00 00 00 00 00 00 01 01 00 00 00 00 00 00 00 01 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 09" "$1" | |
xattr -wx com.apple.metadata:kMDItemScreenCaptureType "62 70 6C 69 73 74 30 30 59 73 65 6C 65 63 74 69 6F 6E 08 00 00 00 00 00 00 01 01 00 00 00 00 00 00 00 01 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 12" "$1" | |
xattr -wx com.apple.FinderInfo "00 00 00 00 00 00 00 00 00 10 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00" "$1" |
OlderNewer