Skip to content

Instantly share code, notes, and snippets.

View emtoledo's full-sized avatar

Eric Toledo emtoledo

View GitHub Profile
HTML:
<iframe width="100%" height="166" scrolling="no" frameborder="no"
src="https://w.soundcloud.com/player/?url=https%3A//api.soundcloud.com/tracks/216606071%3Fsecret_token%3Ds-dt3PV&amp;color=ff5500&amp;auto_play=false&amp;hide_related=false&amp;show_comments=true&amp;show_user=true&amp;show_reposts=false">
</iframe>
Wordpress:
[soundcloud url="https://api.soundcloud.com/tracks/216606071?secret_token=s-dt3PV" params="color=ff5500&auto_play=false&hide_related=false&show_comments=true&show_user=true&show_reposts=false" width="100%" height="166" iframe="true" /]
Installing Page:
- The warning should be less intense
- Need to message "Your install will begin shortly",
- Can we try a version with a progress indicator?
- Every single install will go through this page, needs to look great.
- How should this transition from Install Details?
- try a version that is more like an overlay on top of install details without the app icon and name
Support has been notified page:
- Add "Back to app list" action
// Establish Date ranges
var date_today = new Date.today().toString("yyyy-MM-dd");
var date_lastweek = new Date().last().week().toString("yyyy-MM-dd");
var date_twoweeks = new Date().last().week().addDays(-7).toString("yyyy-MM-dd")
// Execute this function when the 'Make API Call' button is clicked
function makeApiCall() {
// FP announce page views
@emtoledo
emtoledo / gist:4329724
Created December 18, 2012 16:59
staging deplo7 371
(testflight)Eric-Toledo:web erictoledo$ fab deploy_to_staging:silverhawk371
[[email protected]] Executing task 'deploy_to_staging'
[[email protected]] run: mkdir ~/logs
[[email protected]] out: mkdir: cannot create directory `/home/testflight/logs': File exists
Warning: run() received nonzero return code 1 while executing 'mkdir ~/logs'!
[[email protected]] run: git reset --hard silverhawk371
[[email protected]] out: fatal: ambiguous argument 'silverhawk371': unknown revision or path not in the working tree.
@emtoledo
emtoledo / gist:4329680
Created December 18, 2012 16:54
staging deploy log
(testflight)Eric-Toledo:web erictoledo$ fab deploy_to_staging:silverhawk370
[[email protected]] Executing task 'deploy_to_staging'
[[email protected]] run: mkdir ~/logs
[[email protected]] out: mkdir: cannot create directory `/home/testflight/logs': File exists
Warning: run() received nonzero return code 1 while executing 'mkdir ~/logs'!
[[email protected]] run: git reset --hard silverhawk370
[[email protected]] out: fatal: ambiguous argument 'silverhawk370': unknown revision or path not in the working tree.
@emtoledo
emtoledo / gist:4227720
Created December 6, 2012 19:50
Manual Create an App

Create an App Call Out: Create App Call out

Create an App (New Page): Create App

That would take user to app token (App/sdk) page App Token

/sdk/download would then point to choose an app or create a token by creating an app:

@emtoledo
emtoledo / expsurvey.js
Created November 12, 2012 17:01
Experience Survey for Mobile Build Details
// Post to Experience Survey
$('label[for]').click(function () {
var el = '#' + $(this).attr('for');
var dataString = 'entry.0.group=' + $(el).val();
$.ajax({
type: "POST",
url: "https://docs.google.com/a/testflightapp.com/spreadsheet/formResponse?formkey=dHNBQ29aRmpXb3U2MUtDckxCMmVfdUE6MQ&amp;embedded=true&amp;ifq",
data: dataString,
success: function() {
$('#form-message').show();
@emtoledo
emtoledo / inlinesurvey.js
Created November 8, 2012 17:58
Inline Survey JS
// Show Thanks Message
function custommsg() {
$('#form-message').show();
$('#ss-form').hide();
}
// Label touch for devices
$('label[for]').click(function () {
var el = $(this).attr('for');