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
// Copy and paste this code into your Developer Tool Console on a webpage for viewing recorded Zoom sessions (zoom.us/rec/play). | |
// It will show two links: One for the presenter view and one for the slides. | |
// Alt-click on the link or right-click and "Save link as..." to download the video. | |
function bringBackDefault(event) { | |
event.returnValue = true; | |
(typeof event.stopPropagation === 'function') && event.stopPropagation(); | |
(typeof event.cancelBubble === 'function') && event.cancelBubble(); | |
} | |
function enableContextMenu() { |
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
extension SequenceType where Generator.Element: Comparable { | |
func group() -> [[Generator.Element]] { | |
return self.group { $0 == $1 } | |
} | |
func group(by groupBy: (Generator.Element, Generator.Element) -> Bool) -> [[Generator.Element]] { | |
return self.reduce([]) { (xs, q) -> [[Generator.Element]] in | |
guard xs.count > 0 else { return [[q]] } | |
var xs = xs | |
let last = xs.count-1 | |
if groupBy(xs[last][0], q) { |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
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 () { | |
try { | |
var url = encodeURIComponent(location.href); | |
var ifr = document.createElement('iframe'); | |
ifr.style.position = 'absolute'; | |
ifr.style.top = 10 + 'px'; | |
ifr.style.left = 10 + 'px'; | |
ifr.style.width = 450 + 'px'; | |
ifr.style.height = 70 + 'px'; | |
ifr.style.border = 'none'; |
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
# As it is no longer possible to register | |
# the app because of Apple's App Store Terms | |
# The only legal way to get the features, | |
# is to get an older version (from backup) | |
# and then upgrade to the latest version. | |
# Or you can run the following commands with you license information: | |
defaults write com.twitter.twitter-mac reg.email3 -string "your@email" | |
defaults write com.twitter.twitter-mac reg.license3 -string "yourMacHeistLicense" |