Skip to content

Instantly share code, notes, and snippets.

View baiIey's full-sized avatar

Brian Bailey baiIey

View GitHub Profile
@baiIey
baiIey / .coffee
Last active August 29, 2015 14:26
Video layer hides when completed and has event-listeners
bg = new BackgroundLayer
print "background created"
# Create image layer
finishText = new Layer
height: 100, width: 539
image: "youFinish.png"
print "finishText created"
# finishText becomes hidden
@baiIey
baiIey / center.css
Last active September 11, 2015 04:56
Simple CSS vertical and horizontal centering (late 2015)
*{
margin: 0;
padding: 0;
}
body, html{
height: 100%;
}
.container{
@baiIey
baiIey / .block
Last active September 20, 2016 22:16
squared()
license: mit
@baiIey
baiIey / .block
Last active October 19, 2016 02:26
rect()
license: mit
scrolling: no
border: no
use_frameworks! # Please make sure this line in your Podfile and not commented
pod 'LytroKit'
-framework "FBSDKLytroKit" -framework "FBSDKCoreKit" -framework "Bolts"
<key>CFBundleURLTypes</key>
<array>
<dict>
<key>CFBundleURLSchemes</key>
<array>
<string>fb{your-app-id}</string>
</array>
</dict>
</array>
<key>FacebookAppID</key>
allprojects {
repositories {
maven { url "http://172.104.113.141:8081/artifactory/libs-release-local" }
}
}
compile(group: 'com.facebook.android', name: 'facebook-lytro', version: '0.+', ext: 'aar')
implementation 'com.parse.bolts:bolts-android:1.4.0'
implementation 'com.facebook.android:facebook-android-sdk:4.32.0'
<application android:label="@string/app_name" ...>
...
<meta-data android:name="com.facebook.sdk.ApplicationId" android:value="@string/facebook_app_id"/>
...
</application>