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
1mg | |
4Music | |
60 Minutes | |
60 Minutes Australia | |
A&E | |
ABC | |
ABC News | |
ABC News (Australia) | |
ABP NEWS | |
ABS-CBN News |
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
{"version":1,"resource":"file:///Users/anon/Workshop/cockfighting/cockfighting-frontend/autoload/TweenEx.gd","entries":[{"id":"QzXA.gd","timestamp":1661879350449}]} |
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
Here's the whole thing for `λ npm list > output.log` | |
``` | |
podcast-player@ C:\Users\anon\Desktop\Workshop\podcast-player-frontend | |
+-- @angular/[email protected] | |
+-- @angular/[email protected] | |
+-- @angular/[email protected] | |
| +-- @angular/[email protected] | |
| | `-- [email protected] | |
| | +-- [email protected] deduped |
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
test |
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
func getAvgTime(results: Array<NSDate>) -> String { | |
var totalHours = 0.0 | |
var totalMinutes = 0.0 | |
var avgTime = "" | |
// sum all hours & minutes together | |
for result in results { | |
let hours = Double(NSCalendar.currentCalendar().component(NSCalendarUnit.Hour, fromDate: result)) | |
let minutes = Double(NSCalendar.currentCalendar().component(NSCalendarUnit.Minute, fromDate: result)) | |
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
App.EntryAdapter = DS.RESTAdapter.extend({ | |
namespace: 'api/v1', | |
host: App.APIHost, | |
headers: function() { | |
return { | |
token: this.get('session.token') | |
}; | |
}.property('session.token') | |
}); |
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
App.EntryAdapter = DS.RESTAdapter.extend({ | |
namespace: 'api/v1', | |
host: 'http://api.host.org', | |
headers: { | |
withCredentials: true, | |
Authorization: 'Basic ZGVtb0B1c2VyLmNvbTpwYXNzd29yZA==' | |
} | |
}); | |
App.Entry = DS.Model.extend({ |
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
Ember.Handlebars.helper('format-date', function (date) { | |
return $.timeago(date); | |
}); |
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
App.EntriesController = Ember.ArrayController.extend({ | |
// sorting | |
sortProperties: ['createdAt'], | |
sortAscending: false | |
}); |
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
<script type="text/x-handlebars" id="entries"> | |
<div class="list-group"> | |
{{#each controller}} | |
{{partial 'entries/single' }} | |
{{/each}} | |
</div> | |
</script> | |
<script type="text/x-handlebars" id="entries/_single"> | |
{{#link-to 'entry' this class="list-group-item"}} |
NewerOlder