View remove-youtube-scrollbar.js
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
// ==UserScript== | |
// @name YouTube Remove Themed Scrollbar | |
// @version 1.0.1 | |
// @description This script removes the themed YT-scrollbar one second after load. | |
// @author Julian Weinert | |
// @run-at document-start | |
// @match *://*.youtube.com/* | |
// @match *://*.youtu.be/* | |
// @updateURL https://gist.githubusercontent.com/julian-weinert/425fa15d7117785e84cad6fbf8df460c/raw/remove-youtube-scrollbar.js | |
// ==/UserScript== |
View p5-round.js
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
function evaluate(callback, from, to, count) { | |
var results = {}; | |
for (var i = 0; i < count; i++) { | |
var result = callback(from, to); | |
results[result] = results[result] ? results[result] + 1 : 1; | |
} | |
return results; | |
} |
View Main.storyboard
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
<?xml version="1.0" encoding="UTF-8" standalone="no"?> | |
<document type="com.apple.InterfaceBuilder3.CocoaTouch.Storyboard.XIB" version="3.0" toolsVersion="7706" systemVersion="14F27" targetRuntime="iOS.CocoaTouch" propertyAccessControl="none" useAutolayout="YES" useTraitCollections="YES" initialViewController="GUs-KQ-G3b"> | |
<dependencies> | |
<plugIn identifier="com.apple.InterfaceBuilder.IBCocoaTouchPlugin" version="7703"/> | |
</dependencies> | |
<scenes> | |
<!--Navigation Controller--> | |
<scene sceneID="JDN-Wl-fKI"> | |
<objects> | |
<navigationController id="GUs-KQ-G3b" sceneMemberID="viewController"> |
View GISTViewController.m
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
@interface GISTViewController : UITableViewController | |
@end | |
@implementation GISTViewController | |
- (NSInteger)numberOfSectionsInTableView:(UITableView *)tableView { | |
return 3; | |
} | |
- (NSInteger)tableView:(UITableView *)tableView numberOfRowsInSection:(NSInteger)section { |