Navigation Menu

Skip to content

Instantly share code, notes, and snippets.

//
// 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"
//
// ELLanguageRunner.h
// DiorHUB
//
// Created by Milan Vít on 26.09.16.
// Copyright (c) 2016 EYELEVEL. All rights reserved.
//
#import <Foundation/Foundation.h>
/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>
# 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()
//: 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() {
# 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()
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):
- (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;
}
- (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;
});
import vapoursynth as vs
core = vs.get_core()
clip = video_in
dst_fps = display_fps
while (dst_fps > 60):
dst_fps /= 2