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
// | |
// ELSeekableVideoPlayerView.m | |
// CKSiS | |
// | |
// Created by Milan Vít on 13.03.17. | |
// Copyright (c) 2017 EYELEVEL. All rights reserved. | |
// | |
#import <Masonry/Masonry.h> | |
#import "ELSeekableVideoPlayerView.h" |
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
// | |
// ELLanguageRunner.h | |
// DiorHUB | |
// | |
// Created by Milan Vít on 26.09.16. | |
// Copyright (c) 2016 EYELEVEL. All rights reserved. | |
// | |
#import <Foundation/Foundation.h> |
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
/p Pulling in... | |
/p 15... <se.10> <wait.5> | |
/p 10... <se.10> <wait.5> | |
/mk attack5 <me> | |
/p 5... <se.10> <wait.1> | |
/mk attack4 <me> | |
/p 4... <se.10> <wait.1> | |
/mk attack3 <me> | |
/p 3... <se.10> <wait.1> | |
/mk attack2 <me> |
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
# vim: set ft=python: | |
# see the README at https://gist.github.com/phiresky/4bfcfbbd05b3c2ed8645 | |
# source: https://github.com/mpv-player/mpv/issues/2149 | |
# source: https://github.com/mpv-player/mpv/issues/566 | |
# source: https://github.com/haasn/gentoo-conf/blob/nanodesu/home/nand/.mpv/filters/mvtools.vpy | |
import vapoursynth | |
core = vapoursynth.get_core() |
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
//: Playground - noun: a place where people can play | |
import UIKit | |
import XCPlayground | |
class Bonjour: NSObject, NSNetServiceDelegate, NSNetServiceBrowserDelegate { | |
let browser: NSNetServiceBrowser | |
var services: [NSNetService] | |
override init() { |
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
# vim: set ft=python: | |
# see the README at https://gist.github.com/phiresky/4bfcfbbd05b3c2ed8645 | |
# source: https://github.com/mpv-player/mpv/issues/2149 | |
# source: https://github.com/mpv-player/mpv/issues/566 | |
# source: https://github.com/haasn/gentoo-conf/blob/nanodesu/home/nand/.mpv/filters/mvtools.vpy | |
import vapoursynth | |
core = vapoursynth.get_core() |
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
import vapoursynth as vs | |
core = vs.get_core() | |
clip = video_in | |
dst_fps = display_fps | |
while (dst_fps > 60): | |
dst_fps /= 2 | |
if not (clip.width > 1920 or clip.height > 1080 or container_fps > 59): |
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
- (IBAction)pageSelected:(AINPageButton *)sender { | |
NSLog(@"Page %d selected", sender.pageNumber); | |
[self.pageButtons enumerateObjectsUsingBlock:^(AINPageButton *pageButton, NSUInteger idx, BOOL *stop) { | |
pageButton.selected = NO; | |
}]; | |
sender.selected = YES; | |
} |
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
- (IBAction)obtainCoordinates:(UIButton *)sender { | |
sender.enabled = NO; | |
[CLLocationManager promise].then(^(CLLocation *location) { | |
self.fromTextField.text = [NSString stringWithFormat:@"GPS: %f,%f", location.coordinate.latitude, location.coordinate.longitude]; | |
}).catch(^(NSError *error) { | |
[self presentGPSError:error]; | |
}).finally(^{ | |
sender.enabled = YES; | |
}); |
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
import vapoursynth as vs | |
core = vs.get_core() | |
clip = video_in | |
dst_fps = display_fps | |
while (dst_fps > 60): | |
dst_fps /= 2 |