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
[ | |
{ | |
"group": "Lecture Tents", | |
"rooms": [ | |
{ | |
"slug": "tent-1", | |
"thumb": "http://localhost/streaming-website/thumbs/s1.png", | |
"link": "http://localhost/streaming-website/tent-1/", | |
"display": "Tent 1 (South)", | |
"streams": [ |
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
# pragma mark - Cell Setup | |
- (void)setUpCell:(DynamicTableViewCell *)cell atIndexPath:(NSIndexPath *)indexPath { | |
cell.label.text = [self.dataSource objectAtIndex:indexPath.row]; | |
} | |
# pragma mark - UITableViewControllerDelegate | |
- (NSInteger)numberOfSectionsInTableView:(UITableView *)tableView { | |
return 1; |
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 | |
# Some things taken from here | |
# https://github.com/mathiasbynens/dotfiles/blob/master/.osx | |
# Set the colours you can use | |
black='\033[0;30m' | |
white='\033[0;37m' | |
red='\033[0;31m' | |
green='\033[0;32m' |
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
Reload services menu manually with: | |
/System/Library/CoreServices/pbs -update | |
See if Dropshare is in the services directory: | |
/System/Library/CoreServices/pbs -dump_cache | |
Open Finder.app in debug mode, right-click on a file and navigate to "Services", see what debug messages are posted: |
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
if (typeof Audio != "undefined") { // make sure the browser knows about <audio> | |
if (navigator.userAgent.toLowerCase().indexOf("firefox") > -1) { // firefox does not play .mp3 due to licensing issues | |
var audioFile = "sound.ogg"; | |
} else { | |
var audioFile = "sound.mp3"; | |
} | |
var audioTag = new Audio(audioFile); | |
audioTag.load(); // if you want the file to be loaded right now, use this. otherwise, use it before .play() but be aware that the playback will be delayed then, of course | |