Precedence | Operator | Description | Associativity |
---|---|---|---|
15 | () |
method invocation | LTR |
15 | [] |
array subscript | LTR |
15 | . |
member access/selection | LTR |
14 | ++ |
unary postfix increment | RTL |
14 | -- |
unary postfix decrement | RTL |
13 | ++ |
unary prefix increment | RTL |
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
// | |
// UIControl+Blocks.swift | |
// Scripter | |
// | |
// Created by Lukas Kollmer on 04.06.17. | |
// Copyright © 2017 Lukas Kollmer. All rights reserved. | |
// | |
import Foundation | |
import UIKit |
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
/* ubahn */ | |
with ubahn(von, nach, dauer) as ( | |
values | |
('GFZ', 'Garching', 2), | |
('Garching', 'GHB', 2), | |
('GHB', 'Froettmaning', 4), | |
('Froettmaning', 'Kieferngarten', 2), | |
('Kieferngarten', 'Freimann', 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
// | |
// main.m | |
// test_dlsym_get_symbol_objc_constant | |
// | |
// Created by Lukas Kollmer on 31.01.18. | |
// Copyright © 2018 Lukas Kollmer. All rights reserved. | |
// | |
#import <Foundation/Foundation.h> | |
#import <AppKit/AppKit.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
main: # @main | |
push rbp | |
mov rbp, rsp | |
mov eax, 13 | |
mov dword ptr [rbp - 4], 0 | |
pop rbp | |
ret |
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
sips -s format png /Applications/Safari.app/Contents/Resources/compass.icns --out /Users/Johan/Desktop/safari.png |
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
{ | |
"IsLive" : false, | |
"IsShortcut" : false, | |
"IsPrivate" : false, | |
"ThumbnailImageUrl" : "https:\/\/streams.tum.de\/Mediasite\/FileServer\/Presentation\/09c650cc4a194c7291c885f5823d652e1d\/11bedd09-9dc0-4b83-8dba-3796970c0f00_500_282.jpg", | |
"PresentationRootId" : "09c650cc-4a19-4c72-91c8-85f5823d652e", | |
"IsPublishable" : false, | |
"SlideFormatUrl" : "https:\/\/streams.tum.de\/Mediasite\/FileServer\/Presentation\/09c650cc4a194c7291c885f5823d652e1d\/slide_{0:D4}_500_375.jpg", | |
"AirDateDisplay" : "Tuesday, October 17, 2017", | |
"SlideCount" : 0, |
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
// Run the following on the website playing the recorded lecture, then paste the generated command(s) into your terminal of choice | |
// This assumes that the presentation slides are left and the speaker is right | |
// Download the recording of the slides/presentation (includes audio) | |
console.log(`wget '${document.getElementById('MediaElement').children[0].getAttribute('src')}' -O ${document.title.replace(/\//g, '-')}.mp4`); | |
// Download the recording of the speaker (includes audio) | |
Array.from(document.getElementsByTagName('video')).forEach((e, i) => {console.log(`wget '${e.children[0].getAttribute('src')}' -O ${document.title.replace(/\//g, '-')}_${i}.mp4`);}); |