This file contains hidden or 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
SetHandler Drupal_Security_Do_Not_Remove_See_SA_2006_006 | |
Deny from all | |
# Turn off all options we don't need. | |
Options None | |
Options +FollowSymLinks | |
# Set the catch-all handler to prevent scripts from being executed. | |
SetHandler Drupal_Security_Do_Not_Remove_See_SA_2006_006 | |
<Files *> |
This file contains hidden or 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
function(){ | |
console.log('hello!'); | |
} |
This file contains hidden or 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
{ | |
"locator": "https://github.com/keosuofficial/cordova-audio-stream-plugin.git", | |
"id": "com.keosu.cordova.stream" | |
} |
This file contains hidden or 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
<!-- Stream Tab --> | |
<ion-tab title="Player" icon-off="icon ion-headphone" icon-on="icon ion-headphone" href="#/tab/stream"> | |
<ion-nav-view name="tab-stream"></ion-nav-view> | |
</ion-item> |
This file contains hidden or 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
.state('tab.stream', { | |
url: '/stream', | |
views: { | |
'tab-stream': { | |
templateUrl: 'templates/tab-stream.html', | |
controller: 'StreamController as vm' | |
} | |
} | |
}); |
This file contains hidden or 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
<ion-view view-title="Stream"> | |
<ion-content class="stream-background center"> | |
<a class="button button-icon icon play-button-icon {{ vm.isPlaying ? 'ion-ios-pause' : 'ion-ios-play' }}" | |
ng-click="vm.togglePlay()"></a> | |
</ion-content> | |
</ion-view> |
This file contains hidden or 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
.stream-background { | |
background: url('../images/ionic.jpg') center center; | |
background-size: cover; | |
} | |
.play-button-icon.icon:before { | |
font-size: 200px; | |
color: wheat; | |
} |
This file contains hidden or 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
.controller('StreamController', function($interval, streamService) { | |
var isPlaying = false; | |
var stream; | |
var timer; | |
var vm = angular.extend(this, { | |
togglePlay: togglePlay, | |
isPlaying: isPlaying, | |
info: null | |
}); |
This file contains hidden or 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
<HTML> | |
<head> | |
<meta http-equiv="Pragma" content="no-cache"> | |
</head> | |
<body>289,1,576,30000,286,128,idobi - idobi 120</body> | |
</html> |
This file contains hidden or 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
function parseShoutcastResponse(html) { | |
var content = html.match(contentRegex)[1]; | |
var parts = content.split(','); | |
if (parts.length < 7 || !parts[6]) { | |
return null; | |
} | |
return parts[6]; | |
} |